Package Details: json2tsv 1.2-1

Git Clone URL: https://aur.archlinux.org/json2tsv.git (read-only, click to copy)
Package Base: json2tsv
Description: JSON to TSV converter
Upstream URL: https://codemadness.org/json2tsv.html
Keywords: json terminal tsv
Licenses: ISC
Submitter: clove3am
Maintainer: andersdamsgaard
Last Packager: andersdamsgaard
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-20 23:52 (UTC)
Last Updated: 2024-08-05 11:39 (UTC)

Latest Comments

m040601 commented on 2024-08-14 11:34 (UTC) (edited on 2024-08-14 12:04 (UTC) by m040601)

This tool in the AUR "json2tsv" or "json2tsv-git" conflicts with an official Arch package called "jaq".

Name            : jaq
Version         : 1.6.0-1
Description     : A jq clone focussed on correctness, speed, and simplicity
URL             : https://github.com/01mf02/jaq
Packager        : Caleb Maclennan <alerque@archlinux.org>
Build Date      : Tue 30 Jul 2024 11:27:07 AM WEST
Install Date    : Tue 30 Jul 2024 03:53:00 PM WEST

pacman -Ql jaq

jaq /usr/bin/jaq
jaq /usr/share/licenses/jaq/LICENSE-MIT

"jaq" itself was created on github in 2020. It must have been in the AUR as a PKGBUILD since 202?. In 2024 it was migrated into an official Arch package by

commit 8f6df7640007ac32ceb208d89b17a3b1c0c154d0
Author:     Caleb Maclennan <alerque@archlinux.org>
AuthorDate: Sat Dec 2 23:09:09 2023 +0300

    Migrate from AUR

Now the conflict itself. It happens because the developer of "json2tsv" has in the Makefile

SCRIPTS = jaq

Which would also land in /usr/bin. He doesnt mention this in the README unfortunately. It's only on the separate man page,

jaq - json2tsv awk query, a json2tsv convenience wrapper shellscript

So in the end, the build tar.zst package is ready to install these binaries,

less json2tsv.xxx.pkg.tar.zst

-rw-r--r--  0 root   root    63915 Aug 14 12:19 .BUILDINFO
-rw-r--r--  0 root   root      623 Aug 14 12:19 .MTREE
-rw-r--r--  0 root   root      392 Aug 14 12:19 .PKGINFO
.......
-rwxr-xr-x  0 root   root      565 Aug 14 12:19 usr/bin/jaq
-rwxr-xr-x  0 root   root    18352 Aug 14 12:19 usr/bin/json2tsv
........
drwxr-xr-x  0 root   root        0 Aug 14 12:19 usr/share/doc/json2tsv/

I really dont know what the best way to solve this conflict.

Contact the "json2tsv" developer ? Ask him to rename "jaq" to something else ? (json2tsv started in 2019 by the way)

Or, do it here in the PKGBUILD's ? Hmmm clumsy ... ?

What are your opinions ?

It would be nice if the maintainers of both "json2tsv" and "json2tsv-git" coordinated their work to avoid reduplicating efforts.

m040601 commented on 2024-08-14 11:01 (UTC)

Name                          : json2tsv
First Submitted               : Thu 21 May 2020 12:52:59 AM WEST
Maintainer                    : andersdamsgaard

Depends On                    : sh  awk
Name                          : json2tsv-git
First Submitted               : Thu 11 Jun 2020 09:38:35 PM WEST
Maintainer                    : a821

Depends On                    : glibc
Make Deps                     : git

Why the differences on "Depends On" ?