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.HgBundle20Loader
which reads and loads a remote repository (or local). -
:class:
swh.loader.mercurial.from_disk.HgLoaderFromDisk
which reads and loads a local repository into an SWH archive. -
:class:
swh.loader.mercurial.from_disk.HgArchiveLoaderFromDisk
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
or mercurial_from_disk
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
swh.loader.mercurial-1.0.0.tar.gz
(94.4 kB
view hashes)
Built Distribution
Close
Hashes for swh.loader.mercurial-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4060c3d3956711107ffb17df800670a24943cc375f5bf3722a6f62520780bc83 |
|
MD5 | 205028acf82a796bef32fd9ed710ce8d |
|
BLAKE2b-256 | 800b1fac2eabb1818d0682c6768ebf4f0a9475b6fa53588a3c6f4773ed73014c |
Close
Hashes for swh.loader.mercurial-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e06e98d342bda535b6c7ab1465ff7ea598fad1c7c26e1a613432ca7b09e738 |
|
MD5 | cf8ecc60c6da7761d03f1d60e470e366 |
|
BLAKE2b-256 | 09363b778a7d40f4801e2a1bbf8077e533c8de08e4bbba0601083eadd24c3f88 |