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-0.5.0.tar.gz
(93.4 kB
view hashes)
Built Distribution
Close
Hashes for swh.loader.mercurial-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80a499959c2df0eba7ad496e329a218f0b73c2f22dc250e543f487ed3321adbc |
|
MD5 | 22978f8930bc20fcbb98ec6feb511c4a |
|
BLAKE2b-256 | 8a89a244a2df22912b32ea5a86b667ce35ceca352bc0c2b32264d0643369146d |
Close
Hashes for swh.loader.mercurial-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55679dfc0085a55bdc75be7b646a317d258e27b9f070cb6fdf80a2da586eac2e |
|
MD5 | 763b30539a3a1f3a2e2a991271c8ff46 |
|
BLAKE2b-256 | 315f7e8d31a9bbaf8122efe375bf208ebaf5bd6a5236499a7e837ca96f662035 |