810 B
810 B
Integrating jhalfs Source Metadata
- Goal: reuse jhalfs wget-list and md5sums to populate package
source.urlsand auto-fill checksums when harvesting metadata for MLFS/BLFS/GLFS packages. - Data source:
https://anduin.linuxfromscratch.org/hosts per-releasewget-list/md5sumsfiles already curated by the jhalfs project. - Approach:
- Fetch (and optionally cache under
ai/cache/) the lists for each book. - When harvesting, map
<package>-<version>against the list to gather all relevant URLs. - Pull matching checksum entries to populate
source.checksums. - Keep the existing HTML scrape for chapter/stage text; jhalfs covers only sources.
- Fetch (and optionally cache under
- Benefits: avoids fragile HTML tables, keeps URLs aligned with official build scripts, and ensures checksums are up-to-date.