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.3.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

alt_src-1.6.3-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alt-src-1.6.3.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for alt-src-1.6.3.tar.gz
Algorithm Hash digest
SHA256 c5b18368a057ddef6504927222f611b6174c3d00fdef4bfcc0877433cb2fd71b
MD5 3730528b89592d19ed7b2a377f04ad04
BLAKE2b-256 a79c97ccdfa824c2489bdeb3e125e0877461485a2e472a2bd3f989e3c12e0a00

See more details on using hashes here.

File details

Details for the file alt_src-1.6.3-py3-none-any.whl.

File metadata

  • Download URL: alt_src-1.6.3-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for alt_src-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1cf39cf87e4b8c922cb7ff9259c13196caeb8995b3a52103afaf81ae36f18801
MD5 d4b3aaf5c921f5c63bf10f24e93697a7
BLAKE2b-256 287b0328032550f2ce7de8fd3a22d6a81aeeeb3909adf2d39e1d7b307206d048

See more details on using hashes here.

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