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 -
:class:
swh.loader.mercurial.directory.HgDirectoryLoader
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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f71883dc94af079729210386809977ebb178eabfe4141347bf2c65fe2d375f |
|
MD5 | f988481b986b456f7d7f611a49518232 |
|
BLAKE2b-256 | 89eeb67aa22bc94446a2633ba92fe572df823b79aee71a9c0c2b4521c2108e2e |
Close
Hashes for swh.loader.mercurial-3.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd781e240226d5ca25c2b6656dfb6c9a0e552b884ad92edc8f845b306814d74a |
|
MD5 | 630588d1b69e9955063ab277d8a9cf4e |
|
BLAKE2b-256 | fd25019c6822cec71b1d6c811f623cbf369fb1dd65e2c905537f90b5321571c2 |