Skip to main content

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:

  • 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

Metadata

Release files for swh.loader.mercurial 3.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swh.loader.mercurial 3.6.3
File Size Uploaded Provenance Actions
swh_loader_mercurial-3.6.3.tar.gz 2.8 MB Without provenance Details for swh_loader_mercurial-3.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swh.loader.mercurial 3.6.3
File Interpreter ABI Platform Actions
swh_loader_mercurial-3.6.3-py3-none-any.whl Python 3 none any Details for swh_loader_mercurial-3.6.3-py3-none-any.whl

Total release size: 5.7 MB

Release files / swh_loader_mercurial-3.6.3.tar.gz

Download URL swh_loader_mercurial-3.6.3.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
ee399773ac7395feb067002c01afd52a639175c191e5fad13a2d99daaf25f110
BLAKE2b-256 checksum
How to use checksums
8b673185a471431b78a78d1412a97fa7de03bde92585a90705892200f5f4bec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Release files / swh_loader_mercurial-3.6.3-py3-none-any.whl

Download URL swh_loader_mercurial-3.6.3-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
acafeb0efd765f32392c47c4d7e6b1f5c6ed2f68b2eb5bf5172450a465b9ed11
BLAKE2b-256 checksum
How to use checksums
b4d42cc33dfdf2db249b4dc4344dec2b50efdc93ad0cb572b340f3c2f62fbb9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Security for swh.loader.mercurial 3.6.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.6.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page