Software Heritage Mercurial Loader
Project description
swh-loader-mercurial
The Software Heritage Mercurial Loader is a tool and a library to walk a local mercurial repository and inject into the SWH dataset all contained files that weren't known before.
The main entry points are:
-
:class:
swh.loader.mercurial.loader.HgLoader
which reads and loads a local repository into an SWH archive. -
:class:
swh.loader.mercurial.loader.HgArchiveLoader
which reads and loads a local repository wrapped within a tarball
CLI run
Configuration file
/tmp/mercurial.yml:
storage:
cls: remote
args:
url: http://localhost:5002/
Basic use
swh loader --C /tmp/mercurial.yml run mercurial https://www.mercurial-scm.org/repo/hello
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for swh.loader.mercurial-3.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 575e839f027f462e700b548564854bf1464d947e6d9c5c45cb0a66e78543082c |
|
MD5 | 4a93f52b57099f59695f30b3fb8155dd |
|
BLAKE2b-256 | 1fec00daf910a3cdf00803963b0e7f518c1cbd3768e597b44b57e1c0feff77b8 |
Close
Hashes for swh.loader.mercurial-3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcc24f29b577c38498cd72b0a07fec7194d784ddcb703c2346607ac9a0f2b7b |
|
MD5 | 67ea7f9a03bbda4670e8ec44e359aefe |
|
BLAKE2b-256 | 2d3293a73edad129fcb60454da6b7e5c18970f180a583de6ac89e7a74a8ddf1b |