No description
Find a file
Todd Zullinger fe493e3aab avoid redirection warning when cloning anonymously
Using `centpkg clone -a` results in a warning from git due to the URL
being redirected:

    $ centpkg clone -a git
    Cloning into 'git'...
    warning: redirecting to https://gitlab.com/redhat/centos-stream/rpms/git.git/
    ...

Update anongiturl to point to the real URL for HTTP cloning.  The
addition of the trailing slash does not raise a warning, so it may be
safely left off the URL.
2023-04-07 13:56:59 -04:00
doc adding manpage support 2021-04-08 13:32:27 -05:00
src avoid redirection warning when cloning anonymously 2023-04-07 13:56:59 -04:00
tests Add support for RHEL style module stream branch names 2021-06-08 19:24:17 +00:00
.gitignore adding venv in gitignore 2021-04-16 12:56:20 -03:00
COPYING add a license and a README 2014-06-14 01:31:24 -05:00
README.md Update readme to reflect current state of development 2021-04-13 18:39:39 -05:00
requirements.txt Migrate from pyOpenSSL to cryptography 2022-09-22 18:01:06 +00:00
setup.py Bump to version 0.7.2 2023-03-14 10:08:32 -07:00

Centpkg

Centpkg is a wrapper for rpkg which interacts with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg also provides some convenience methods/commands for local builds via mock or rpmbuild, for interacting with koji, and for generating patches.

Not all typical rpkg commands have been implemented yet. If the command you are looking for doesn't appear to work, please open an issue.

This repository provides two executable scripts, centpkg and centpkg-sig.

centpkg

Executable centpkg allows you to interact with CentOS Stream dist-git and CentOS Stream koji instance.

centpkg-sig

Executable centpkg-sig allows you to interact with CentOS Linux dist-git and CentOS Linux koji instance.

Supported commands

Here is the list currently supported commands by centpkg:

  • clone
  • sources
  • new-sources
  • fork

Here is the list currently supported commands by centpkg-sig:

  • clone

Current workflow

For a sig working on a package in git.centos.org, the following workflow is recommended:

# In this example a member of the virt sig would like to scratch-build a2ps on EL6
$ centpkg-sig clone -b virt6 a2ps
$ cd a2ps
$ centpkg-sig build --srpm --scratch

# Tagged builds can be done also
$ centpkg-sig build --srpm

License

Unless otherwise specified, all files are licensed under GPLv2+. See COPYING for more license information