gentoo / soko

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

Integrate Anitya as extra outdated package detection backend #13

Closed arthurzam closed 5 months ago

arthurzam commented 1 year ago

https://release-monitoring.org/

Maintainers can link gentoo cat/pkg atoms to a project in the website.

Collecting current status

Use url base something like: https://release-monitoring.org/api/v2/packages/?distribution=Gentoo

API Documentation

Algorithm

  1. Collect all pages, until done (returns empty array)
  2. Compare with known Gentoo versions - if stable_version > latest, flag as outdated
  3. Store in DB - try to add a flag listing the source (repology, anitya)
  4. In UI, prefer anitya over repology, but show only one.

Future followup