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-2.1.0.tar.gz
(100.5 kB
view hashes)
Built Distribution
Close
Hashes for swh.loader.mercurial-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dba0fb47dd644dfb412004b98b0b6d9c121ce01168fd116a204256370cf1a4b |
|
MD5 | 0a270fa3eb0f1b0272aaad12ef758398 |
|
BLAKE2b-256 | 161a09a095abb96e88ef4c67a3f6afddbb773f5abf584acb1e448ca9b72d44d9 |
Close
Hashes for swh.loader.mercurial-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7c8d4bcf6509cee6815dfbf89573e2175262c3a32fc69975e3948b5779965a6 |
|
MD5 | 417c157519d93c56c0e07fa7b2f0d77f |
|
BLAKE2b-256 | 1f2b1f7ba8e1c3b7567c10c24ecf71451a269d22175381acf1e362a25e003f90 |