Skip to content
Snippets Groups Projects
Antoine Lambert's avatar
Antoine Lambert authored
Remove no longer needed override of swh_storage_backend_config.

Use new swh_storage_pipeline_steps fixture to declare backend storage
wrappings.

Use new swh_storage_config fixture in swh_loader fixture.
d28a44df
History

Software Heritage - Loader foundations

The Software Heritage Loader Core is a low-level loading utilities and helpers used by loaders.

The main entry points are classes:

Package loaders

This package also implements many package loaders directly, out of convenience, as they usually are quite similar and each fits in a single file.

They all roughly follow these steps, explained in the swh.loader.package.loader.PackageLoader.load documentation. See the Package Loader tutorial for details.

VCS loaders

Unlike package loaders, VCS loaders remain in separate packages, as they often need more advanced conversions and very VCS-specific operations.

This usually involves getting the branches of a repository and recursively loading revisions in the history (and directory trees in these revisions), until a known revision is found