|
|
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 |
|
|
|
a53d12 |
# Centpkg is in pre-alpha state, as of now this is a proof of concept.
|
|
|
a53d12 |
For now only a very small subset of rpkg commands are enabled.
|
|
|
a53d12 |
|
|
|
a53d12 |
Exception handling at the top level has been disabled for now to get better
|
|
|
a53d12 |
tracebacks during development.
|
|
|
a53d12 |
|
|
|
a53d12 |
This repository provides two executable scripts centpkg and centpkg-sig.
|
|
|
a53d12 |
|
|
|
a53d12 |
## centpkg
|
|
|
a53d12 |
Executable centpkg allows you to interact with CentOS Stream dist-git and CentOS Stream koji instance.
|
|
|
a53d12 |
|
|
|
a53d12 |
## centpkg-sig
|
|
|
a53d12 |
Executable centpkg-sig allows you to interact with CentOS Linux dist-git and CentOS Linux koji instance.
|
|
|
a53d12 |
|
|
|
a53d12 |
## Supported commands
|
|
|
a53d12 |
Here is the list currently supported commands by centpkg:
|
|
|
a53d12 |
|
|
|
a53d12 |
* clone
|
|
|
a53d12 |
* sources
|
|
|
a53d12 |
* new-sources
|
|
|
a53d12 |
|
|
|
a53d12 |
Here is the list currently supported commands by centpkg-sig:
|
|
|
a53d12 |
|
|
|
a53d12 |
* clone
|
|
|
a53d12 |
|
|
|
a53d12 |
## Current workflow
|
|
|
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
|