Hello,
It's that time of the year where i ask you for your kind help on
improvments for the benefit of all parties involved...
Would it be possible that the server's gnu listing to provide a checksum
(sha256 for example) for the given listed files?
Something along the lines of what's been done in pypi (providing
sha256), npm (sha256), and on the near future guix/nix listing api (some
example can be found at [1])
This would allow us to implement optimization to avoid hitting the gnu
server too often (as we do for the pypi [2] or npm [3] loaders).
[1] https://forge.softwareheritage.org/D2025
[2]
https://forge.softwareheritage.org/source/swh-loader-core/browse/package-loader/swh/loader/package/pypi.py$141
[3]
https://forge.softwareheritage.org/source/swh-loader-core/browse/package-loader/swh/loader/package/npm.py$256
Cheers,
--
tony / Antoine R. Dumont (@ardumont)
-----------------------------------------------------------------
gpg fingerprint BF00 203D 741A C9D5 46A8 BE07 52E2 E984 0D10 C3B8