mithrandie / csvq

SQL-like query language for csv
https://mithrandie.github.io/csvq
MIT License
1.5k stars 65 forks source link

Debian package for csvq #28

Closed derekmahar closed 2 years ago

derekmahar commented 4 years ago

Please make csvq available as a Debian package and submit it for inclusion in the Debian package repository.

mithrandie commented 4 years ago

I’m not sure why we need a package manager for a utility that runs on a single binary with no dependencies on other packages.

Homebrew for macOS seems to be able to install it, but that's not what I've done.

derekmahar commented 4 years ago

I understand your point, but the purpose would be to get more visibility and widespread distribution in the popular package repositories such as Debian and Ubuntu and to make installation more convenient for users of these Linux distributions. Before the Debian project accepts an application into its repository, it must at least be packaged in the .deb package format. Fortunately, given that the csvq binary is just a single file, creating a Debian package for it should be much easier than if it were a binary with numerous dependencies.

I'm not familiar with the application submission process, but perhaps if you were to propose csvq to the Debian project, one of their maintainers might build, submit, and maintain the .deb package on your behalf.

derekmahar commented 4 years ago

Each Debian package apparently receives a special email address at which users may directly contact the maintainers.

mithrandie commented 4 years ago

Okay, I'll think about it.

derekmahar commented 4 years ago

Packaging explains how to prepare a Debian package.

derekmahar commented 4 years ago

Furthermore, I think csvq is a wonderful tool that deserves a place in popular package repositories like Debian, Ubuntu, and others.

mithrandie commented 4 years ago

I registered the csvq package as ubuntu ppa. https://launchpad.net/~mithrandie/+archive/ubuntu/csvq

I read this too, but I don't know if the dependencies are guaranteed or not, or how often the latest updates will be imported, etc. https://go-team.pages.debian.net/packaging.html

First of all, I’ll see how many packages on ubuntu ppa are used, which is responsible for the build results and the import of the latest changes by myself, and if there are many people using it, I’ll consider packaging csvq for other systems.

derekmahar commented 4 years ago

I think this is a good first step and hope that the PPA enjoys a lot of adoption so that it will encourage you to add csvq to the Debian and Ubuntu repositories, giving csvq even more exposure. Debian, Ubuntu, and their derivatives are very popular and, like me, I think most command line users use apt search to first search the package repositories for a new package that they wish to install before asking Google Search.

mithrandie commented 2 years ago

I've been releasing csvq package on ubuntu ppa for over a year, but it seems to have very few users. Therefore, packaging on other platforms is pending at this time.