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

Uploaded Source

Built Distribution

alt_src-1.6.2-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for alt-src-1.6.2.tar.gz
Algorithm Hash digest
SHA256 340aa7fd093c741bd42b80ff7a7967fcfde857f30713967a07ed999fb3a45272
MD5 f88c72c3444bb29d233605ea99e12e34
BLAKE2b-256 8321220e36e70e265f758ee5ac7257556915b32eac6fd15f39614e9a89498e9f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: alt_src-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for alt_src-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eba49eda65c2e31a05fa529119820900fb520b35def3aea62c512954cfef5e06
MD5 672e38d03d290f190b29aa6828ddb544
BLAKE2b-256 38e7075e8502f94d9556b8044862347f695ee0e20a658eb956de4a2c0fa3c643

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