Package Details: nq 1.0-1

Git Clone URL: https://aur.archlinux.org/nq.git (read-only, click to copy)
Package Base: nq
Description: Unix command line queue utility
Upstream URL: https://github.com/leahneukirchen/nq
Licenses: CC0-1.0
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 1
Popularity: 0.000000
First Submitted: 2021-09-12 10:45 (UTC)
Last Updated: 2024-07-23 07:57 (UTC)

Required by (0)

Sources (1)

Latest Comments

Chocobo1 commented on 2024-07-23 07:59 (UTC)

Please also make sure that very usefull "NEWS.md" and "README.md" end up in something like, /usr/share/doc/nq/NEWS.md /usr/share/doc/nq/README.md Thanks in advance.

Done.

m040601 commented on 2024-07-22 23:43 (UTC) (edited on 2024-07-22 23:48 (UTC) by m040601)

Seems that on July 2024, the author finally acknowledged the name clashes of "fq" and "tq":

commit 2bb551efd8b3e50d715482a8f3b89f88bae74397
Refs: [master], {origin/master}, {origin/HEAD}, <v1.0>
Author:     Leah Neukirchen <leah@vuxu.org>
AuthorDate: Wed Jul 3 17:55:45 2024 +0200
Commit:     Leah Neukirchen <leah@vuxu.org>
CommitDate: Wed Jul 3 17:58:18 2024 +0200

    Rename fq -> nqtail, tq -> nqterm

    There's only so many two letter binaries that can exist at the same t

    A newer project, called fq, arrived and is clashing with nq in many
    packaging systems, and nqtail is a fine name too.

Seems there is a "1.0" release. From the NEWS.md file:

┄┄1.0 (2024-07-03)

• Incompatible change: The fq utility has been renamed to nqtail.
• Incompatible change: The tq utility has been renamed to nqterm.
• nq: add support for a $NQFAILDIR

Indeed,

$ wget https://github.com/leahneukirchen/nq/archive/refs/tags/v1.0.tar.gz

$ tar tf v1.0.tar.gz

nq-1.0/
nq-1.0/.gitignore
nq-1.0/COPYING
nq-1.0/Makefile
nq-1.0/NEWS.md
nq-1.0/README.md
nq-1.0/_nq
nq-1.0/nq.1
nq-1.0/nq.c
nq-1.0/nq.sh
nq-1.0/nqtail.1
nq-1.0/nqtail.c
nq-1.0/nqtail.sh
nq-1.0/nqterm
nq-1.0/nqterm.1
nq-1.0/tests

Please also make sure that very usefull "NEWS.md" and "README.md" end up in something like,

/usr/share/doc/nq/NEWS.md
/usr/share/doc/nq/README.md

Thanks in advance.

Chocobo1 commented on 2022-12-09 04:47 (UTC)

The problem is the official arch linux tool 'fq' also installs a binary named 'fq' , https://archlinux.org/packages/community/x86_64/fq/

Maybe also let the authors of fq and nq know of this situation and see what happens?

m040601 commented on 2022-12-09 03:25 (UTC) (edited on 2022-12-09 03:33 (UTC) by m040601)

Thanks for providing this PKGBUILD. I'm testing it and comparing it to batch/task-spooler/pueue etc.

In the meantime I just discovered that this tool, nq, conflicts with an official arch package. You should be aware of this and make the necessary changes to this nq PKGBUILD.

$ pacman -Ql  nq
nq /usr/
nq /usr/bin/
nq /usr/bin/fq
nq /usr/bin/nq
nq /usr/bin/tq
nq /usr/share/
nq /usr/share/licenses/
nq /usr/share/licenses/nq/
nq /usr/share/licenses/nq/COPYING
nq /usr/share/man/
nq /usr/share/man/man1/
nq /usr/share/man/man1/fq.1.gz
nq /usr/share/man/man1/nq.1.gz
nq /usr/share/man/man1/tq.1.gz

So it wants to add those 3 binaries

nq /usr/bin/fq
nq /usr/bin/nq
nq /usr/bin/tq

The problem is the official arch linux tool 'fq' also installs a binary named 'fq' , https://archlinux.org/packages/community/x86_64/fq/

fq /usr/
fq /usr/bin/
fq /usr/bin/fq
fq /usr/share/
fq /usr/share/doc/
fq /usr/share/doc/fq/
fq /usr/share/doc/fq/README.md
fq /usr/share/licenses/
fq /usr/share/licenses/fq/
fq /usr/share/licenses/fq/LICENSE

Usually this kind of clash happen when developers, naively, choose very short names for their tools.

The usual solution for AUR maintainers is to adapt and rename the tools being installed.

I would suggest for example something like

nq /usr/bin/nqueue-fq
nq /usr/bin/nqueue-nq
nq /usr/bin/nqueue-tq

Please also coordinate with the "nq-git" AUR PKGBUILD maintainer, https://aur.archlinux.org/packages/nq-git . No need for reduplicated work.

Thanks in advance