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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326b4be5e0a0fb3afba9b6f6fdccb4ecd5ea06a278ba6ce46444292907cbd25f |
|
MD5 | a7c2525703f617d62a01d473915c6213 |
|
BLAKE2b-256 | 669f2e69ed7ff5712ba313a9e9bf69c2c75b538798878b096fc4cf05f2e4ddfd |
Close
Hashes for swh.loader.mercurial-3.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050f100d7b9391bfbcce550765725fdff8a7ea5695eca22f1680c5b93ee4a84f |
|
MD5 | 43c6a81656611eccdbaa263f25b93af0 |
|
BLAKE2b-256 | 51341f0eee27271eb50ad68f0c8b12568d87a02398040a31be59451b96048e1f |