kpcyrd / what-the-src

Source code of https://whatsrc.org/

Home Page:https://whatsrc.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gentoo support

CyberTailor opened this issue · comments

commented

Two locations need to be scanned:

  1. metadata/md5-cache/${CATEGORY}/${PACKAGE}-${VERSION} to get SRC_URI
  2. ${CATEGORY}/${PACKAGE}/Manifest to get SHA-256 and BLAKE2b hashsums and size (spec)

Repository cache can be found in the official mirror.

What's the difference between these two?

  • https://github.com/gentoo/gentoo
  • https://github.com/gentoo-mirror/gentoo

They both seem to contain all 3 files (Manifest, metadata.xml and the .ebuilds), not sure if I'm missing something.

I think I figured it out, this file only exists on gentoo-mirror/gentoo:

https://github.com/gentoo-mirror/gentoo/blob/stable/metadata/md5-cache/sys-apps/ripgrep-14.1.0