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

Package/program name conflict #28

Open
hwti opened this issue Aug 9, 2022 · 8 comments
Open

Package/program name conflict #28

hwti opened this issue Aug 9, 2022 · 8 comments

Comments

@hwti
Copy link

hwti commented Aug 9, 2022

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.

@natesales
Copy link
Owner

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.

@seththeriault
Copy link

This also conflicts with an existing Homebrew package:

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

@natesales
Copy link
Owner

natesales commented Sep 7, 2022

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.

@holgersson32644
Copy link

holgersson32644 commented Sep 27, 2022

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.

@Seirdy
Copy link

Seirdy commented Sep 29, 2022

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.

@classabbyamp
Copy link

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

@rahilarious
Copy link

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

@polarathene
Copy link

polarathene commented May 11, 2024

q-dns or qig both seem fine 👍 (qdig / q-dig are a bit easier to pronounce though and more familiar dig association to DNS CLI tools)

Agree that it's not the easiest name to discover, I just search "q dns github" if I'm lazy 😅

Since doggo is a competing option, if you want to stick with the idea of similar names to others (qdns) you could go with doqqo? (1 less letter, efficient! 😂 ). Both dig/doggo based variations technically blend in with all the others in the README comparison table. goq is used elsewhere, but doqqo is fairly unique if you don't mind the overlap with doggo in search results (probably a bonus, besides some potential user confusion).

I'm not familiar with packaging, would it be much of an issue if another package installs a binary of the same name too? Or is this only about the package name? Users could always alias a longer name to q if they like 🤷‍♂️

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

No branches or pull requests

8 participants