sshcode icon indicating copy to clipboard operation
sshcode copied to clipboard

Update code-server download to use new code-server v3 packaging

Open nathanpotter opened this issue 4 years ago • 7 comments

Code server is no longer packaged as a static binary and is instead packaged as a tarball. We should update sshcode to download from the new release URL: https://codesrv-ci.cdr.sh/releases/latest/linux-x86_64.tar.gz

We can then untar that to /usr/lib/code-server and symlink the executable to the correct location.

nathanpotter avatar Mar 05 '20 16:03 nathanpotter

that would require sudo, which a user using sshcode may not have on the server they are connecting to, —Merith

On Thu, Mar 5, 2020 at 8:55 AM Nathan Potter [email protected] wrote:

Code server is no longer packaged as a static binary and is instead packaged as a tarball. We should update sshcode to download from the new release URL: https://codesrv-ci.cdr.sh/releases/latest/linux-x86_64.tar.gz

We can then untar that to /usr/lib/code-server and symlink the executable to the correct location.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cdr/sshcode/issues/167?email_source=notifications&email_token=ACPQOXX4LIEI2AYP3FSQS4DRF7KQBA5CNFSM4LCOFMTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IS3DF6Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPQOXU2AM6VA44QG3LMMMLRF7KQBANCNFSM4LCOFMTA .

Merith-TK avatar Mar 05 '20 20:03 Merith-TK

if anything, it should be extracted to $HOME/.cache/sshcode/ —Merith

On Thu, Mar 5, 2020 at 12:00 PM Merith TK [email protected] wrote:

that would require sudo, which a user using sshcode may not have on the server they are connecting to, —Merith

On Thu, Mar 5, 2020 at 8:55 AM Nathan Potter [email protected] wrote:

Code server is no longer packaged as a static binary and is instead packaged as a tarball. We should update sshcode to download from the new release URL: https://codesrv-ci.cdr.sh/releases/latest/linux-x86_64.tar.gz

We can then untar that to /usr/lib/code-server and symlink the executable to the correct location.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cdr/sshcode/issues/167?email_source=notifications&email_token=ACPQOXX4LIEI2AYP3FSQS4DRF7KQBA5CNFSM4LCOFMTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IS3DF6Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPQOXU2AM6VA44QG3LMMMLRF7KQBANCNFSM4LCOFMTA .

Merith-TK avatar Mar 05 '20 20:03 Merith-TK

Yeah that sounds good as well, we should just untar it wherever is reasonable

nathanpotter avatar Mar 06 '20 00:03 nathanpotter

Would take too long, and affect user friendly ness, but would be easier in the long run

Merith-TK avatar Mar 09 '20 16:03 Merith-TK

I seem to have a working solution here: https://github.com/gyzerok/sshcode/commit/9e0d09428836dcbd8c5bffd58461751cf7a4ab06. Can't open a PR yet, since it is dependent on another PR from me, which is currently open. However I welcome any feedback.

I've used ~/.sshcode-server since it is similar to how VSCode store its' settings and its' server.

gyzerok avatar May 11 '20 04:05 gyzerok

Code server is no longer packaged as a static binary and is instead packaged as a tarball. We should update sshcode to download from the new release URL: https://codesrv-ci.cdr.sh/releases/latest/linux-x86_64.tar.gz We can then untar that to /usr/lib/code-server and symlink the executable to the correct location.

Please do not simply repost the original message

Merith-TK avatar Jul 13 '20 15:07 Merith-TK