Software Heritage - Subversion loader
#
The Software Heritage Subversion loader is a tool and a library to walk a remote svn repository and inject into the Software Heritage archive all contained files, directories and commits that weren’t known before.
The main entry points are
swh.loader.svn.loader.SvnLoaderfor the main svn loader which ingests content out of a remote svn repositoryswh.loader.svn.loader.SvnLoaderFromDumpwhich mounts a repository out of a svn dump prior to ingest it.swh.loader.svn.loader.SvnLoaderFromRemoteDumpwhich mounts a repository out of a svn dump obtained with svnrdump prior to ingest its content.swh.loader.svn.directory.SvnExportLoaderwhich ingests an svn tree at a specific revision.
CLI run#
With the configuration:
/tmp/loader_svn.yml:
storage:
cls: remote
args:
url: http://localhost:5002/
Run:
$ swh loader --config-file /tmp/loader_svn.yml run svn <svn-repository-url>
Reference Documentation#
- swh.loader.svn package
- swh.loader.svn.converters module
- swh.loader.svn.directory module
- swh.loader.svn.exception module
- swh.loader.svn.fast_crawler module
- swh.loader.svn.loader module
- swh.loader.svn.replay module
- swh.loader.svn.svn_repo module
- swh.loader.svn.svn_retry module
- swh.loader.svn.tasks module
- swh.loader.svn.utils module
register()register_export()register_no_dump()register_from_dump()