gentoo / soko

[MIRROR] packages.gentoo.org (PROD)
https://gitweb.gentoo.org/sites/soko.git
GNU General Public License v2.0
7 stars 11 forks source link

Link to repology by Gentoo package coordinates #6

Closed Flowdalic closed 1 year ago

Flowdalic commented 2 years ago

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