beszel icon indicating copy to clipboard operation
beszel copied to clipboard

[Feature]: Set up an Ubuntu PPA (or hosted repo) for automatic updates of deb package

Open Justinzobel opened this issue 9 months ago • 10 comments

Describe the feature you would like to see

https://github.com/henrygd/beszel/pull/497 gave us Debian packages, which is great!

Manual updates are painful across many servers, creating an official PPA for automatic updates would be great!

Describe how you would like to see this feature implemented

Host on https://launchpad.net/ or use aptly to set up a simple repository on the beszel website.

Justinzobel avatar Mar 06 '25 12:03 Justinzobel

Aptly is a great piece of software. Unfortunately I don't have time to work on this, but maybe someone else could. I did some work for Yarn v1 to publish an Aptly repo to GitHub Pages, which was a little gross (since you need to store generated files in Git) but worked well enough: https://github.com/yarnpkg/releases. I just have a cronjob to run the update-and-push.sh script in that repo.

For now, an alternative is to add it to deb-get, which is a common way to install software using Debian packages from GitHub releases.

There is also a RFP (request for package) to add Beszel to the official Debian repo, in case anyone wants to work with Debian on that: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093255

Daniel15 avatar Mar 23 '25 23:03 Daniel15

Hi,

I'm happy to work on and maintaining beszel in Debian. I've just formally took over the RFP (https://bugs.debian.org/1093255) and will provide feedback/notes/progress about it in the next couple of weeks.

Regards, Daniel

daniel-baumann avatar May 21 '25 18:05 daniel-baumann

Thanks Daniel, that sounds great! No rush, and let me know if you need anything else done on this side.

henrygd avatar May 21 '25 20:05 henrygd

Nice! I've created a request in deb-get as it will of course take a while to filter down to normal Debian and Ubuntu releases.

https://github.com/wimpysworld/deb-get/issues/1447

Justinzobel avatar May 22 '25 05:05 Justinzobel

MR https://github.com/wimpysworld/deb-get/pull/1448

Justinzobel avatar May 22 '25 05:05 Justinzobel

Hi,

FYI: I've already uploaded all but one of the dependencies.. they are now waiting in the NEW queue for their initial manual approval (this can take from 0 to infinity, bust most likely a couple of months).

I keep a status update here: https://forgejo.debian.net/daniel/wiki/wiki/debian-packaging-beszel

The last remaining one (modernc/sqlite) depends on a big one (modernc/libc) that has so many files to list in debian/copyright that it will take some more time to finish.

I can't work on it next week, but will continue afterwards and will keep you posted.

Regards, Daniel

daniel-baumann avatar May 23 '25 18:05 daniel-baumann

@daniel-baumann Gotcha, thanks for the update.

Doesn't look like we can replace that dependency, unfortunately. Please don’t feel forced to finish if it's an unreasonable amount of work.

henrygd avatar May 25 '25 00:05 henrygd

Doesn't look like we can replace that dependency

no worries - I'll get it done.

Regards, Daniel

daniel-baumann avatar May 25 '25 16:05 daniel-baumann

Beszel Agent is now available via deb-get (https://github.com/wimpysworld/deb-get).

If we build the hub, I can easily get the hub added as well.

Justinzobel avatar Aug 15 '25 00:08 Justinzobel

If we build the hub, I can easily get the hub added as well.

Anyone that want to do this can refer to my PR that added the agent package: https://github.com/henrygd/beszel/pull/497/files. The mentioned goreleaser bug has been fixed, so that workaround isn't needed any more.

Daniel15 avatar Aug 15 '25 01:08 Daniel15