Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: release the package in apt #84

Open
osbm opened this issue Jul 21, 2024 · 7 comments
Open

Request: release the package in apt #84

osbm opened this issue Jul 21, 2024 · 7 comments
Labels
packaging Issues/PRs related to packaging

Comments

@osbm
Copy link

osbm commented Jul 21, 2024

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
Copy link
Member

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
Copy link
Member

kbdharun commented Jul 22, 2024

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.

@kbdharun kbdharun added the packaging Issues/PRs related to packaging label Jul 22, 2024
@osbm
Copy link
Author

osbm commented Jul 22, 2024

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
Copy link
Member

acuteenvy commented Jul 22, 2024

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
Copy link
Member

kbdharun commented Jul 22, 2024

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).

@HernandoR
Copy link

Since i'm installing from prebuild binary, how should i install the completions?

@acuteenvy
Copy link
Member

Since i'm installing from prebuild binary, how should i install the completions?

Assuming you mean the tarball in GitHub releases - inside the archive is a directory called completions. There are files for bash, zsh and fish. You have to put them in the appropriate directory for your shell:

  • bash: $XDG_DATA_HOME/bash-completion/completions (documented here)
  • fish: $XDG_CONFIG_HOME/fish/completions (documented here)
  • I couldn't find anything standard for zsh, and I don't use it myself, but there probably is a way to do this.

Keep in mind that if you just copy the completion files from the release archive they won't ever be updated, unless you do so manually. But this is the only way to install completions if they aren't packaged for your distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Issues/PRs related to packaging
Projects
None yet
Development

No branches or pull requests

4 participants