Software Heritage Mercurial Loader
Project description
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:
swh.loader.mercurial.loader.HgLoader which reads and loads a local repository into an SWH archive.
swh.loader.mercurial.loader.HgArchiveLoader which reads and loads a local repository wrapped within a tarball
swh.loader.mercurial.directory.HgCheckoutLoader which ingests the hg tree at a specific changeset or tag.
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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b06868a9a64b6a65479e45158f5c71f42139d370714308e04900c0cf7383bbd6 |
|
MD5 | 6886df450bba091ac93c8d6bf1e3f77e |
|
BLAKE2b-256 | a194db81d0e256d41bf0db34db8ef196955a3616003273a9073e254938b03fd4 |
Close
Hashes for swh.loader.mercurial-3.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dedf99f582093f0841a8b88bf529339f362b272dbe80591899e6ac6ed11b830 |
|
MD5 | d7bfc49f1f63be3b703cf3cd28c64a8b |
|
BLAKE2b-256 | 52573a11de4567dd42a1e6ba46f23114faee3e36eb3fdef7130ba1c70482ad50 |