croc icon indicating copy to clipboard operation
croc copied to clipboard

Debian/Ubuntu package

Open slhck opened this issue 2 years ago • 14 comments

Is your feature request related to a problem? Please describe.

There appear to be direct installation options for Arch, Fedora, Gentoo, FreeBSD and others, but not Debian and Ubuntu.

Describe the solution you'd like

An official package so that users can do apt install croc.

I hope that this would be posible given that packages for other distros/package managers exist already.

Describe alternatives you've considered

Direct installation via Bash, but this of course requires users to perform updates manually.

~~There used to be a snap, as far as I can tell, but snaps are problematic in their own way.~~ (Apparently snap packages were never considered for good reasons: https://github.com/schollz/croc/pull/479)

slhck avatar Dec 06 '22 08:12 slhck

Yes would appreciate a PR for this, or instructions on how to go about it.

schollz avatar Mar 14 '23 11:03 schollz

To be honest, I don't know how this works in practice. Normally these packages are maintained by the distro providers. Who created the Fedora etc versions?

slhck avatar Mar 14 '23 14:03 slhck

i'm also wondering why there's no apt package yet, every popular distro has a native package except debian/ubuntu...

Kyr4l avatar Mar 30 '23 21:03 Kyr4l

I think there are two options:

  • Get someone from the Debian/Ubuntu community to create a package and maintain it
  • Host your own PPA: https://launchpad.net/ubuntu/+ppas

slhck avatar Mar 31 '23 06:03 slhck

i would gladly make a ppa and maintain it if it wasn't so fkcing complicated and annoying to set up

Kyr4l avatar Mar 31 '23 08:03 Kyr4l

I'm not an expert on Debian's processes, but I think the crux of it is that you need packages conformant to Debian's policies, and someone willing to act as a package maintainer. It looks like there are already processes in place to produce .deb files, so I'd think most of the technical work is done. https://debian-handbook.info/browse/stable/sect.becoming-package-maintainer.html

bgvaughan avatar Oct 01 '23 15:10 bgvaughan

This is desirable the first step would be to file a ticket as Request for Software RFS is there any filed already?

rzr avatar Oct 02 '23 09:10 rzr

You mean Request for Package? There is one here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017956

slhck avatar Oct 02 '23 09:10 slhck

Stale issue message

github-actions[bot] avatar Feb 19 '24 12:02 github-actions[bot]

Stale but still relevant. I'd suggest keeping this open for reference.

slhck avatar Feb 19 '24 13:02 slhck

Hey! Just wanted to mention that I'm currently working on packaging croc for Debian. It's a long process, but I'll update here when it hits the unstable archives.

guilherme-puida avatar Feb 26 '24 11:02 guilherme-puida

Stale issue message

github-actions[bot] avatar Apr 26 '24 12:04 github-actions[bot]

Go away, stale thingy.

slhck avatar Apr 26 '24 12:04 slhck

Hi! I just wanted to mention that I have packaged all of croc's dependencies and croc itself. It is in a good shape to be included in Debian.

However, I'm not too keen on introducing new software on Debian with multiple open CVEs. This comment was not very encouraging, and the xz scandal has made me think more about giving unrestricted commit access to projects (even more dangerous when networking is in the picture).

I won't object if someone wants to take over, but I won't be working on this anytime soon.

guilherme-puida avatar Apr 30 '24 23:04 guilherme-puida

hi @guilherme-puida I'd prefer if croc is not included in debian. the server costs are getting to high for me so less people using croc is better unless the financial situation improves.

schollz avatar May 20 '24 13:05 schollz