Package Details: json2tsv-git 1.2.r0.g66e7e40-1

Git Clone URL: https://aur.archlinux.org/json2tsv-git.git (read-only, click to copy)
Package Base: json2tsv-git
Description: JSON to TSV converter
Upstream URL: https://codemadness.org/json2tsv.html
Keywords: json terminal tsv
Licenses: ISC
Conflicts: jaq, json2tsv
Provides: json2tsv
Submitter: clove3am
Maintainer: a821
Last Packager: a821
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-11 20:38 (UTC)
Last Updated: 2024-08-14 18:50 (UTC)

Latest Comments

a821 commented on 2024-08-14 12:57 (UTC) (edited on 2024-08-14 18:54 (UTC) by a821)

@m040601: Why the differences on "Depends On"?

awk and sh are part of base (which is assumed to be installed), so I didn't bother updating the dependencies when upstream added jaq. I do concede that by the some logic I did not need to add glibc as depends (as it's also part of base). IMHO, I don't think it matters so much at the end.

I did not realize that this conflicts with jaq in [extra]. For sure I can rename it to something else to avoid the conflict, but perhaps the maintainer of json2tsv should also agree so we are on the same page.

Edit: Added conflicts with extra/jaq and the dependencies (just to be consistent)

m040601 commented on 2024-08-14 11:35 (UTC) (edited on 2024-08-14 12:05 (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 202x ???. 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:00 (UTC) (edited on 2024-08-14 11:01 (UTC) by m040601)

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" ?