HomeSoftware Heritage

Add Content Loader to ingest raw content file

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add Content Loader to ingest raw content file

In some marginal listing cases (Nix or Guix for now), we can receive raw file to ingest.
This commit adds a loader to ingest those. The output of the ingestion is a snapshot
with 1 branch, one HEAD branch targetting the file content ingested.

This expects to receive a mandatory 'integrity' field. It is used to check the content
match the declaration.

This can also optionally receive a list of mirror urls in case the main origin url is no
longer available. Those mirror urls are solely used as fallback to retrieve the content.

Related to T3781

Details

Provenance
ardumontAuthored on Sep 29 2022, 4:14 PM
ardumontPushed on Sep 30 2022, 2:32 PM
Differential Revision
D8581: Add Content Loader to ingest raw content file
Tasks
T3781: Replace the Nixguix loader with a lister
Build Status
Buildable 31963
Build 50030: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.