Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845009 - Link to Repology using fully-qualified Gentoo package coordinates, i.e., CAT/PN, instead of just PN
Summary: Link to Repology using fully-qualified Gentoo package coordinates, i.e., CAT/...
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-16 14:35 UTC by Florian Schmaus
Modified: 2023-02-18 16:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2022-05-16 14:35:06 UTC
Some 'Repology' links on p.g.o point to "unkown projects". For example
on https://packages.gentoo.org/packages/games-simulation/EmptyEpsilon
the 'Repology' link points to
https://repology.org/project/EmptyEpsilon, however the Repology name
is emptyepsilon.

The Repology developer thankfully pointed me to
https://repology.org/tools/project-by?repo=gentoo&name_type=srcname&target_page=project_versions,
which allows us to link from p.g.o using the Gentoo package
coordinates. This has two advantages
1) It is robust and functional in the case described above
2) It supports packages with the same name (but different categories)

Reproducible: Always
Comment 1 Alexander Kurakin 2023-01-27 17:49:52 UTC
How about to add a remote-id for Repology?
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-01-27 18:03:04 UTC
(In reply to Alexander Kurakin from comment #1)
> How about to add a remote-id for Repology?

https://bugs.gentoo.org/744175#c3
Comment 3 Larry the Git Cow gentoo-dev 2023-02-18 16:35:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=db020b34c3907a9022e6f302fa2d5fe76429dade

commit db020b34c3907a9022e6f302fa2d5fe76429dade
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-05-16 14:27:15 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-17 20:49:07 +0000

    Link to repology by Gentoo package coordinates
    
    Some 'Repology' links on p.g.o point to "unkown projects". For example
    on https://packages.gentoo.org/packages/games-simulation/EmptyEpsilon
    the 'Repology' link points to
    https://repology.org/project/EmptyEpsilon, however the Repology name
    is emptyepsilon.
    
    The Repology developer thankfully pointed me to
    https://repology.org/tools/project-by?repo=gentoo&name_type=srcname&target_page=project_versions,
    which allows us to link from p.g.o using the Gentoo package
    coordinates. This has two advantages
    1) It is robust and functional in the case described above
    2) It supports packages with the same name (but different categories)
    
    Hence, this changes the 'Repology' link to use Gentoo package
    coordinates.
    
    Closes: https://bugs.gentoo.org/845009
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    Closes: https://github.com/gentoo/soko/pull/6
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 web/templates/packages/resources.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)