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.4.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b81844d9533642d1c16fe9971103d3b042b6e19dc50e94a79177a03b2a39b823 |
|
MD5 | 5d59f486134c10178c22b38338d865fb |
|
BLAKE2b-256 | fc301cb7816e5f5713bec4da194ec908cb114d4a5d5667496a247aa27566049d |
Close
Hashes for swh.loader.mercurial-3.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a743fab1901806f0bf3ac6ef2baf936e7d0c0a74628a7deb01c4972a080fb0a8 |
|
MD5 | c4983d0f91b70eeaf5c3853f2b5d58ad |
|
BLAKE2b-256 | 143ee1f9ab3936e78ccd54696af94826aca5c28ed305b01c86d6649dd17daac7 |