Software Heritage Mercurial Loader
Project description
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:
swh.loader.mercurial.loader.HgLoader which reads and loads a local repository into an SWH archive.
swh.loader.mercurial.loader.HgArchiveLoader which reads and loads a local repository wrapped within a tarball
swh.loader.mercurial.directory.HgCheckoutLoader which ingests the hg tree at a specific changeset or tag.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swh_loader_mercurial-3.6.2.tar.gz.
File metadata
- Download URL: swh_loader_mercurial-3.6.2.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6255458059c612916520247f9c52e606be8870fe8260763ec73c59c8ffb05cd8
|
|
| MD5 |
fdb54f7ad62b4300b97596edd0894757
|
|
| BLAKE2b-256 |
c484f21ec775dfc0738f18283b53c0d511b801d508d028fa127b6fe226a8cd63
|
File details
Details for the file swh_loader_mercurial-3.6.2-py3-none-any.whl.
File metadata
- Download URL: swh_loader_mercurial-3.6.2-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac02d70246078508571a946f3e37efe32beb851b8ad212a71137b74172730c37
|
|
| MD5 |
d0d3bc90c851ca7f2d3788623abab5de
|
|
| BLAKE2b-256 |
8801cff788ca598c86c52eac60f1a5daaa66c1ee08d1fc48cf140193e9fc559d
|