Amber icon indicating copy to clipboard operation
Amber copied to clipboard

[Feature] Generate with CI RPM/DEB packages

Open Mte90 opened this issue 1 year ago • 5 comments

Like per title at every new release.

Mte90 avatar Jul 09 '24 09:07 Mte90

How useful is this? Having RPMs outside of distributions' repos is not optimal, because they won't receive updates without a repo. Generating single RPM for all RPM distributions (Fedora, Arch, openSUSE, RHEL, CentOS, etc) is also not really possible AFAIK — they have too many differences, despite using same file format for packages.

P.S. Same for deb

mks-h avatar Aug 03 '24 17:08 mks-h

So as Debian user I can say that we just need the same binary we compile with cargo has doesn't have any dependence on something else so it should work everywhere.

We right now can start with the deb package and in the future we can see for a repository, a lot of projects on github release a deb/rpm package without a repository.

Mte90 avatar Aug 05 '24 14:08 Mte90

Publishing a package to Debian repositories seems to be troublesome: https://unix.stackexchange.com/a/620698 But that will make it propagate to its derivatives, incl. Ubuntu and its derivatives. There's also a risk of making it into stable repositories before we reach first stable release, which will make it stay like that for the life of that Debian version.

mks-h avatar Aug 05 '24 21:08 mks-h

Indeed we can think about crete our own repository in the future. I am more right now on step 1, do the packages.

Mte90 avatar Aug 06 '24 07:08 Mte90

Just for documentation sake, when we will have the deb package I can host the debian repository on my server.

A tool to help with that https://github.com/aptly-dev/aptly

Mte90 avatar Sep 23 '24 09:09 Mte90

I did a PR for the deb package in the meantime, we provide packages for Nix so why not also for debian based distro?

Mte90 avatar Oct 16 '24 10:10 Mte90

So the debian support it's in the CI for the next release and probably I will do a debian repository on my personal server. Anyway I am closing it as there isn't so much requests for the rpm package right now.

Mte90 avatar Nov 12 '24 10:11 Mte90