code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Add code-server package to Debian/Ubuntu repositories upstream

Open kaaax0815 opened this issue 4 years ago • 10 comments

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

kaaax0815 avatar Jan 19 '21 16:01 kaaax0815

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.

nhooyr avatar Jan 21 '21 05:01 nhooyr

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

kaaax0815 avatar Jan 21 '21 07:01 kaaax0815

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.

tidux avatar Feb 01 '21 21:02 tidux

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

kaaax0815 avatar Feb 01 '21 21:02 kaaax0815

+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

KaKi87 avatar Oct 01 '21 08:10 KaKi87

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.

stale[bot] avatar Mar 31 '22 09:03 stale[bot]

up

tianalemesle avatar Mar 31 '22 10:03 tianalemesle

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

KaKi87 avatar Apr 04 '24 20:04 KaKi87

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.

code-asher avatar Apr 05 '24 20:04 code-asher

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

KaKi87 avatar Sep 02 '24 00:09 KaKi87