HomeSoftware Heritage

crates: Create one origin per package instead of per version

Description

crates: Create one origin per package instead of per version

Previously we had as many origins as version for a crate package, url was a link
to a specific crate version package.

Refactor to have one origin per package name and add an 'artifacts' entry to
extra_loader_arguments that list all versions, package url and checksum.
Origin url is now a link to the related http api endpoint for a package name.

Related to T4104

Details

Provenance
franckbretAuthored on Apr 26 2022, 10:48 AM
franckbretPushed on Apr 28 2022, 4:11 PM
franckbretPushed on Apr 28 2022, 4:10 PM
Differential Revision
D7654: crates: create one origin per package instead of per version
Parents
rDLSc251594a1f77: Bump mypy to v0.942
Branches
Unknown
Tags
Unknown
Tasks
T4104: Ingest crates.io (Rust)
Build Status
Buildable 28952
Build 45256: test-and-buildJenkins console · Jenkins