Skip to content
Snippets Groups Projects
Valentin Lorentz's avatar
vlorentz authored
This allows future runs of a loader to know a package was already
loaded, without querying each of the revisions individually and
parsing their metadata.

Eventually, this will allow us to get rid of the 'metadata' column
on the 'revision' table entirely.
e48ced02
History

SWH-loader-core

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

The main entry points are classes:

  • :class:swh.loader.core.loader.BaseLoader for loaders (e.g. svn)
  • :class:swh.loader.core.loader.DVCSLoader for DVCS loaders (e.g. hg, git, ...)
  • :class:swh.loader.package.loader.PackageLoader for Package loaders (e.g. PyPI, Npm, ...)