coder / code-server

VS Code in the browser
https://coder.com
MIT License
68.36k stars 5.6k forks source link

Add code-server package to Debian/Ubuntu repositories upstream #2600

Open kaaax0815 opened 3 years ago

kaaax0815 commented 3 years ago

Upload Package to install it easily with apt install code-server

nhooyr commented 3 years ago

Originally we determined it'd be too much effort to get code-server into all these upstream repositories. The install script + github releases has been very streamlined for us but there's definitely value in users being able to install directly from their distro vendor.

kaaax0815 commented 3 years ago

I think this (https://askubuntu.com/questions/16446/how-to-get-my-software-into-ubuntu) is useful for beginning or discussing if you want a PPA or the Official Ubuntu repo

tidux commented 3 years ago

Given the release cadence of code-server versus Debian/Ubuntu I think it'd be better to just stand up a third party apt repo. The current .debs work fine.

kaaax0815 commented 3 years ago

This would also be a good alternative, because this would also fix https://github.com/cdr/code-server/issues/2582

KaKi87 commented 3 years ago

+1 for adding code-server to the main Debian/Ubuntu APT repository, or to create a PPA. DEBs are already very nice, but doesn't allow automated updates. Unless it would be preferred to code a self-updater but I don't think it would be easier. Thanks

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

tianalemesle commented 2 years ago

up

KaKi87 commented 7 months ago

Hi @code-asher, any news on an APT repo or a PPA or a flatpak ? Thanks

code-asher commented 7 months ago

No, I have no plans on doing this, but if someone wants to set something up that automatically runs with the CI publish workflow or something, please feel free.

KaKi87 commented 2 months ago

Hi,

A few months ago, I started developing a tool named dynapt to automatically fetch updates through APT for packages that don't provide an APT repository.

As I've been upgrading code-server through it for quite some time now, I just published my first pre-release of it, which you can download and set up from this tutorial.

For code-server specifically, replace the following configuration line :

    "apps": []

With the following :

    "apps": [
        {
            "name": "code-server",
            "github": {
                "repo": "coder/code-server",
                "filter": "*amd64*"
            }
        }
    ]

But also change amd64 to arm64 if applicable.

For questions or issues, please submit a comment on the tutorial page.

Thanks