Skip to main content

Alt-src is a tool for pushing SRPM metadata into a git repo.

PyPI version Build Status Coverage Status

Alt-src takes source RPMs as input, unpacks packaging metadata such as .spec files and patch files, and pushes them into a git repository. It's most notably used to populate CentOS git.

Usage

alt-src --push <branch> <package.src.rpm>

This command will check out the git repo for the given package and branch, unpack the input RPM and create/push a new commit using the unpacked sources. A tag is also created under imports/<branch>/<nvr>.

If a repo doesn't exist for the given package, the command will create one using the Pagure API.

The command accepts these inputs:

  • <package-filename.src.rpm> - path to a local SRPM file
  • --koji <build-nvr> - SRPM is pulled from configured koji instance
  • --koji <build-nvr>:module.src.txt - instead of SRPM, modulemd is imported

If enabled, the command also sends notifications to the configured email address.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Metadata

Release files for alt-src 1.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 alt-src 1.6.3
File Size Uploaded Provenance Actions
alt-src-1.6.3.tar.gz 36.7 kB Without provenance Details for alt-src-1.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alt-src 1.6.3
File Interpreter ABI Platform Actions
alt_src-1.6.3-py3-none-any.whl Python 3 none any Details for alt_src-1.6.3-py3-none-any.whl

Total release size: 72.8 kB

Release files / alt-src-1.6.3.tar.gz

Download URL alt-src-1.6.3.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c5b18368a057ddef6504927222f611b6174c3d00fdef4bfcc0877433cb2fd71b
BLAKE2b-256 checksum
How to use checksums
a79c97ccdfa824c2489bdeb3e125e0877461485a2e472a2bd3f989e3c12e0a00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / alt_src-1.6.3-py3-none-any.whl

Download URL alt_src-1.6.3-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cf39cf87e4b8c922cb7ff9259c13196caeb8995b3a52103afaf81ae36f18801
BLAKE2b-256 checksum
How to use checksums
287b0328032550f2ce7de8fd3a22d6a81aeeeb3909adf2d39e1d7b307206d048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Security for alt-src 1.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.

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