Debian Bug report logs - #941969
whohas displays wrong information for diffoscope on Archlinux

version graph

Package: whohas; Maintainer for whohas is Paul Wise <[email protected]>; Source for whohas is src:whohas (PTS, buildd, popcon).

Reported by: Holger Levsen <[email protected]>

Date: Tue, 8 Oct 2019 09:06:01 UTC

Severity: normal

Found in version whohas/0.29.1-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Paul Wise <[email protected]>:
Bug#941969; Package whohas. (Tue, 08 Oct 2019 09:06:05 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <[email protected]>:
New Bug report received and forwarded. Copy sent to Paul Wise <[email protected]>. (Tue, 08 Oct 2019 09:06:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Holger Levsen <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: whohas displays wrong information for diffoscope on Archlinux
Date: Tue, 8 Oct 2019 11:02:05 +0200
[Message part 1 (text/plain, inline)]
Package: whohas
Version: 0.29.1-1
Severity: normal

Dear Maintainer,

$ whohas diffoscope
[...]
AUR         		<td>103-1</td>                       3 		http://aur.archlinux.org		<td>103-1</td>
[...]

while https://www.archlinux.org/packages/community/x86_64/diffoscope/
shows that Archlinux (proper, not AUR) has version 125-1.


-- 
cheers,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Paul Wise <[email protected]>:
Bug#941969; Package whohas. (Tue, 08 Oct 2019 09:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Paul Wise <[email protected]>. (Tue, 08 Oct 2019 09:27:06 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Holger Levsen <[email protected]>
To: [email protected]
Subject: Re: Bug#941969: Acknowledgement (whohas displays wrong information for diffoscope on Archlinux)
Date: Tue, 8 Oct 2019 09:24:51 +0000
[Message part 1 (text/plain, inline)]
hi,

so, what I learned:

- diffoscope-git is a git package which is some kind of YOLO arch
  package, which updates itself to the latest git version on
  installation. (so the version number is meaningless.)
- so ${pkg}-git should probably be ignored if the is a ${pkg} package
  too.
- https://wiki.archlinux.org/index.php/Official_repositories_web_interface
  is what the name implies.


-- 
cheers,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Paul Wise <[email protected]>:
Bug#941969; Package whohas. (Tue, 08 Oct 2019 19:15:07 GMT) (full text, mbox, link).


Acknowledgement sent to Eli Schwartz <[email protected]>:
Extra info received and forwarded to list. Copy sent to Paul Wise <[email protected]>. (Tue, 08 Oct 2019 19:15:07 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Eli Schwartz <[email protected]>
To: [email protected]
Subject: Arch Linux API for getting package information
Date: Tue, 8 Oct 2019 15:04:07 -0400
[Message part 1 (text/plain, inline)]
In order to get information about a package, you add "json/" to the link.

So, https://www.archlinux.org/packages/community/x86_64/diffoscope/
becomes https://www.archlinux.org/packages/community/x86_64/diffoscope/json/

Since this hardcodes architecture and repository information, you could
do a search and get json instead.

Given this exact-name search:

https://www.archlinux.org/packages/?name=diffoscope

You can get json like this:

https://www.archlinux.org/packages/search/json/?name=diffoscope

You should generally only get one search result due to the exact-name
search, but if the package is in both the "community" repository and the
"community-testing" repository, you could end up with two results, the
-testing version being newer.

You could either try to check that by hand, or add the search terms

&repo=Core&repo=Extra&repo=Community&repo=Multilib

to hardcode which repos you want to search in.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 05:12:08 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.