Adding such an implementation (very close to gnu's) makes me wonder if we
should not simply drop the gnu version parsing from the swh.loader.package.gnu
implementation and push that parsing step within the lister instead (improving
the lister's output with a version field...).
And then define what's the contract needs to be for behavior-like (oneshot
tasks, only tarballs) listers (cf. D2025).
As a first draft, i'd say the contract is, provide:
- an origin url
- a list of artifacts: for each of those package artifacts, an url is needed, a
last modification date, at least one hash, and a version
(D2025#inline-14210).
Related D2025
Related T1389