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.

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
alt-src-1.6.3.tar.gz 36.7 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.6.3 This release

2 release files

1.6.2

2 release files

1.6.1

1 release file

1.6.0

1 release file

1.5.0

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

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