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.SvnLoader for the main svn loader which ingests content out of a remote svn repository
swh.loader.svn.loader.SvnLoaderFromDump which mounts a repository out of a svn dump prior to ingest it.
swh.loader.svn.loader.SvnLoaderFromRemoteDump which mounts a repository out of a svn dump obtained with svnrdump prior to ingest its content.
swh.loader.svn.directory.SvnExportLoader which 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>
Metadata
Release files for swh.loader.svn 2.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swh_loader_svn-2.4.2.tar.gz | 1.9 MB | Details |
Release files / swh_loader_svn-2.4.2.tar.gz
| Download URL | swh_loader_svn-2.4.2.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a88123999fa9dda2fe02a9d6abba01af8cd1e04225db54c6f2aa5327d32c8c4d
|
|
BLAKE2b-256 checksum How to use checksums |
d5d2c9e21b42d0023c8038a58323abc5b401b70c58ceb4a97ed66f406755a597
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|