mgunyho / tere

Terminal file explorer
European Union Public License 1.2
1.68k stars 38 forks source link

Feature: Debian package #86

Open zax71 opened 1 year ago

zax71 commented 1 year ago

This would be made much easier to install if a Debian package was available to install with apt.

mgunyho commented 1 year ago

Hi! I agree that it would be nice to have a Debian package. However, I have no experience with creating those, and right now my main distro is not Debian-based, so I'm probably not the one who should do it.

If a package becomes available, I'm happy to accept a PR that adds it to the list of installation methods in the README.

orhun commented 1 year ago

@mgunyho if you're interested, I can update build-release.sh script to integrate cargo-deb so that you can also upload a .deb file along with the other assets. I think that makes things a bit easier for Debian users.

mgunyho commented 1 year ago

That would be a decent step towards packaging for Debian, but I'm not sure about putting package manager-specific files in the releases page (like we don't have the homebrew / nix / scoop etc packages there either).

How much extra work would it be to put such a .deb to the Debian package repository?

orhun commented 1 year ago

Hey, sorry for the late reply.

That would be a decent step towards packaging for Debian, but I'm not sure about putting package manager-specific files in the releases page (like we don't have the homebrew / nix / scoop etc packages there either).

I see your point. However, I still think it would be easier for Debian users to just download and install .deb. Let me know if you decide to implement this in the future!

How much extra work would it be to put such a .deb to the Debian package repository?

I'm not very familiar with Debian packaging guidelines but I know that it has some procedures. Maybe someone with more experience can elaborate.

bauerei commented 10 months ago

I have no experience with Debian packaging, but I got curious when I read about cargo-deb mentioned by @orhun and I found a blog post https://assafmo.github.io/2019/05/02/ppa-repo-hosted-on-github.html that uses GitHub pages for hosting a Debian repository.

I created a fork https://github.com/bauerei/tere to handle all things related to Debian packaging. A .deb file is added for a release https://github.com/bauerei/tere/releases so that it is possible to download and install it manually. Or, if someone likes, it is possible to add the repository as a third party repository to apt.

Unfortunately I don't know anything about how to get it into the official Debian repos, but maybe this will help a bit.

Let me know what you think!