Skip to main content

hegemony-steps-git

Git for Hegemony flows — the git. namespace.

Handlers:

  • git.commit — commit the text evidence an earlier step recorded (such as the running configurations a netcli.collect_evidence step read) to a branch of a Git repository over HTTPS, one file per device and command, and push only when a file changed. The repository's history is then the history of what the step read: a configuration backup in Git with no playbook to write.

The login (a user name and a password or token) is given as secret references, resolved by the platform, handed to git through GIT_ASKPASS from files, and redacted from output; it never appears in the URL, an argument or an environment variable.

The step runs on the platform's Docker-in-Docker sandbox through container.run's runner (this wheel depends on hegemony-steps-container), under the flow's egress policy. Its default image is ghcr.io/hegemony-sh/git-runner:0.59, built and published from images/git-runner/ in this repository.

Namespace prefix (= entry-point name): git. — see the repo-level CONVENTIONS.md for the naming rules. The handler's page is under src/hegemony_steps_git/docs/.

Metadata

Release files for hegemony-steps-git 0.59.0

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

Built distribution (wheel)

Table of built distributions (wheels) for hegemony-steps-git 0.59.0
File Interpreter ABI Platform Actions
hegemony_steps_git-0.59.0-py3-none-any.whl Python 3 none any Details for hegemony_steps_git-0.59.0-py3-none-any.whl

Release files / hegemony_steps_git-0.59.0-py3-none-any.whl

Download URL hegemony_steps_git-0.59.0-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a615a561ea149ba5325eeae7b3e942b55270443cf6ec100bb5c624cd9e770482
BLAKE2b-256 checksum
How to use checksums
71c13fbec606aaa1394821f77e606cfb2d6515433cad85efc2cf57359636397c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for hegemony-steps-git 0.59.0

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

0.59.0 This release

1 release file 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