sshcode
sshcode copied to clipboard
Update code-server download to use new code-server v3 packaging
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.
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 .
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 .
Yeah that sounds good as well, we should just untar it wherever is reasonable
Would take too long, and affect user friendly ness, but would be easier in the long run
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.
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