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
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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93afae32e0584cf9fb176fa49d5cc9dec15d62b23e91488cfb18a925a27fdbe5 |
|
MD5 | 6df74296ea97387da9c9ae4db3000f66 |
|
BLAKE2b-256 | fd42ee0a9362f1f751dd5a58b446cfcc663b291ac635cba9ab78440a500999d2 |
Close
Hashes for swh.loader.mercurial-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a206e0229add16acb79e5a3811f254d69e72d07866aa420a530d570196eba0 |
|
MD5 | 6dfa215fc818ae7c0fbc26d1123f22cb |
|
BLAKE2b-256 | 60f6005e285397a0f1839a1fa146bf030de5317ee42ff5f5ee6d038d10a3dbc3 |