q icon indicating copy to clipboard operation
q copied to clipboard

Package/program name conflict

Open hwti opened this issue 1 year ago • 13 comments

On at least Fedora and Archlinux, there are already packages with the same name and executable name.

https://packages.fedoraproject.org/pkgs/q/q/ https://aur.archlinux.org/packages/q

This means that if I install q_0.8.2_linux_amd64.rpm on Fedora, dnf see the distribution q package as an update.

hwti avatar Aug 09 '22 13:08 hwti

The name q may change in the future, but for now you can copy the binary over. It's statically linked and doesn't depend on any config files or anything aside from the binary itself.

natesales avatar Aug 10 '22 19:08 natesales

This also conflicts with an existing Homebrew package:

https://formulae.brew.sh/formula/q

seththeriault avatar Sep 06 '22 13:09 seththeriault

The homebrew package can be installed with brew install natesales/repo/q after adding the natesales tap with brew tap natesales/repo https://github.com/natesales/repo.

natesales avatar Sep 07 '22 19:09 natesales

First of all, thanks for that nifty CLI tool ;)

FTR: In Gentoo/Linux we have a similiar problem, as the name "q" is already taken by a package related to package management. In my overlay (some kind of an unofficial repository) I packaged q as net-misc/q but renamed the binary into q-dns there.

Are you interested in some "public brainstorming" to find a short but distinct name for q? I propose one of the following

  • q-dns (or qdns)
  • q-ns (or qns)
  • magical-creature-from-startrek ;)

WDYT?

// Edit 2022-09-27 / 07:15 UTC: Funnily I just re-read the README seeing the AUR package also uses q-dns as its name.

holgersson32644 avatar Sep 27 '22 06:09 holgersson32644

I strongly recommend changing the binary name to something unique, as a name conflict will prevent creating distribution packages. qdns is taken by another smaller DNS-related project, unfortunately; however, q-dns seems safe. I prefer qdig as it's less ambiguous and easier to remember (it's like dig, but with DoQ!)

There's also obdig (dig with OBlivious DNS over HTTPS), which highlights its unique ODOH capabilities.

Checking Repology, the AUR, GitHub, and Fedora package+binary name conflicts: qdig and obdig seem fine.

Seirdy avatar Sep 29 '22 16:09 Seirdy

any updates on this? I'm working on packaging this for void linux, and we generally keep with the upstream naming, but if the name is going to change I'd prefer not needing to change the package's name

classabbyamp avatar Jan 22 '24 00:01 classabbyamp

This is a really handy tool.

Besides problems in packaging, project @natesales is hurting itself by not naming it in search-friendly name. Because of this single letter name, there is no branding as well. How would somebody quickly tell your friend about this utility? "hey, checkout this q?" One has to either send link or remember your name and tell "checkout natesales/q" which is highly unlikely to happen.

Author is not living upto his last name "Sales" cause this is not great salesmanship :-)

rahilarious avatar Mar 04 '24 03:03 rahilarious