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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e2f72d62519c90f7cf819db86a03a0c1babc31349a0121aacd0bd70b82487b3 |
|
MD5 | 9a8c7dafa099b1a2339c5f9d6eab083b |
|
BLAKE2b-256 | c29d2a51be8d4e657b2217c49e571706849c97fbe7f91d02aaab0f7e27099d52 |
Close
Hashes for swh.loader.mercurial-3.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9290511113eba31e632a18e23459b28cb3bb0f957cc351b214f36888cab72de2 |
|
MD5 | 492d76bb0c135884801dbf3774d41001 |
|
BLAKE2b-256 | 96e139eafd50362b78964487b2e3ac7f38bcceb0fd6411b5ff5584c3bd7a02ef |