lrossett / centos / centpkg

Forked from centos/centpkg 4 years ago
Clone
a53d12
# Centpkg
a53d12
Centpkg is a wrapper for [rpkg](https://fedorahosted.org/rpkg/) which interacts
a53d12
with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg also provides
a53d12
some convenience methods/commands for local builds via mock or rpmbuild, for
a53d12
interacting with koji, and for generating patches.
a53d12
0e7e96
Not all typical rpkg commands have been implemented yet.  If the command you
0e7e96
are looking for doesn't appear to work, please open an issue.
a53d12
0e7e96
This repository provides two executable scripts, centpkg and centpkg-sig.
a53d12
a53d12
## centpkg
0e7e96
a53d12
Executable centpkg allows you to interact with CentOS Stream dist-git and CentOS Stream koji instance.
a53d12
a53d12
## centpkg-sig
0e7e96
a53d12
Executable centpkg-sig allows you to interact with CentOS Linux dist-git and CentOS Linux koji instance.
a53d12
a53d12
## Supported commands
0e7e96
a53d12
Here is the list currently supported commands by centpkg:
a53d12
a53d12
* clone
a53d12
* sources
a53d12
* new-sources
0e7e96
* fork
a53d12
a53d12
Here is the list currently supported commands by centpkg-sig:
a53d12
a53d12
* clone
a53d12
a53d12
## Current workflow
0e7e96
a53d12
For a sig working on a package in git.centos.org, the following workflow is
a53d12
recommended:
a53d12
a53d12
    # In this example a member of the virt sig would like to scratch-build a2ps on EL6
a53d12
    $ centpkg-sig clone -b virt6 a2ps
a53d12
    $ cd a2ps
a53d12
    $ centpkg-sig build --srpm --scratch
a53d12
a53d12
    # Tagged builds can be done also
a53d12
    $ centpkg-sig build --srpm
a53d12
a53d12
a53d12
## License
a53d12
a53d12
Unless otherwise specified, all files are licensed under GPLv2+.
a53d12
See COPYING for more license information