tldr-pages / tlrc

A tldr client written in Rust
http://tldr.sh/tlrc/
MIT License
349 stars 12 forks source link

Request: release the package in apt #84

Open osbm opened 3 months ago

osbm commented 3 months ago

What the title says. Is there any plans to bring tlrc into apt? So that ubuntu/debian users can install the software very easily something like this:

sudo apt install tlrc

Just to provide a little more smooth user experience 😅

acuteenvy commented 3 months ago

I have absolutely no experience with creating deb packages, and I am not a maintainer in any of these distributions. It would be great if someone packaged tlrc for Debian and Ubuntu, but unfortunately all I can do is wait for a maintainer that is willing to put it in the official repositories.

kbdharun commented 3 months ago

Hi, thanks for expressing your interest in seeing tlrc in native distribution repositories, I would suggest dropping a mail requesting the same to debian-rust@lists.debian.org (The Debian Rust mailing list https://lists.debian.org/debian-rust/) or contacting them via other channels listed at https://wiki.debian.org/Teams/RustPackaging.

Note: Most common/normal packages added in Debian repos will directly be available in Ubuntu repos too.

osbm commented 3 months ago

Thanks for the replies, I still have some questions. Because i dont have much experience in producing/publishing linux packages. Only using them :)

How do you upload your package to all these distro package managers? Do you just make a release by hand after the build github action compiles a binary or something? Or do they initiate this automatically by the github release webhook?

I will try to send a request to the Debian-Rust mailing list. Do they handle making the deb file or do we still need to produce a gpg signed deb file to hand over to them?

acuteenvy commented 3 months ago

How do you upload your package to all these distro package managers?

It depends on the package manager. That being said, you can never just upload a binary package to the official repositories. Maintainers of that repository have to create the package themselves. Some repositories allow users to contribute packages, but that is not the case for Debian, as far as I know.

Do you just make a release by hand after the build github action compiles a binary or something?

The packages that I maintain are updated by me after a release. For other repositories, I just wait for the maintainers to update.

Do they handle making the deb file or do we still need to produce a gpg signed deb file to hand over to them?

They handle that themselves.

kbdharun commented 3 months ago

Adding to acuteenvy's points above, basically Debian and other distribution repositories directly rebuild the project from the release source code archives (i.e. tar.gz file) of the upstream package (us). So having a DEB here in our release assets isn't that useful (but it would allow manual install but then you won't get updates).

How do you upload your package to all these distro package managers?

We don't, we package our clients directly in distro-agnostic sources like Homebrew, etc and the community re-packages them for their distribution of choice.

I will try to send a request to the Debian-Rust mailing list. Do they handle making the deb file or do we still need to produce a gpg signed deb file to hand over to them?

They will handle the DEB packaging completely (along with a bug tracker for tracking packaging issues).