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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e48c94d6ebcde7057c75b25e3bbd0216c93a0c80ce5d608b52743aa5a40fef7 |
|
MD5 | 7cfdbd47bc59e120e0f5b1b98296cfa7 |
|
BLAKE2b-256 | ae66a15339c956e61db4ab6fb9bb47fc3c6a5977adaec92a1b16b013128447a8 |
Close
Hashes for swh.loader.mercurial-3.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad5ae35ea2dacb9925c15170fc9f2f4d9df8e120dc872a0c9e2bb213ff03aef |
|
MD5 | 073b116055d522287835006d553dbb5a |
|
BLAKE2b-256 | c4b0fec0650a90049872537b51f411f657d8e86f5022e6cba6ef0b6bd58efcc1 |