Skip to main content

Tool for uploading custom patches to centos source rpm repositories

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alt-src-1.6.0.tar.gz (23.1 kB view details)

Uploaded Source

File details

Details for the file alt-src-1.6.0.tar.gz.

File metadata

  • Download URL: alt-src-1.6.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.15

File hashes

Hashes for alt-src-1.6.0.tar.gz
Algorithm Hash digest
SHA256 251bece0adf062079d5b40b7292fe209924f8e2effdd8f7a559a717b743bf9da
MD5 9905e49d30a23c52811a1f0b54ea4e14
BLAKE2b-256 8926213363431bd9a229b5ec591de8d3407407fad0871c63410e421db9c54c5a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page