2014-06-14 06:36:17 +00:00
|
|
|
# Centpkg
|
|
|
|
Centpkg is a wrapper for [rpkg](https://fedorahosted.org/rpkg/) which interacts
|
2014-06-14 01:38:16 -05:00
|
|
|
with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg also provides
|
2014-06-14 06:36:17 +00:00
|
|
|
some convenience methods/commands for local builds via mock or rpmbuild, for
|
|
|
|
interacting with koji, and for generating patches.
|
|
|
|
|
|
|
|
# Centpkg is in pre-alpha state, as of now this is a proof of concept.
|
|
|
|
For now only a very small subset of rpkg commands are enabled.
|
|
|
|
|
2014-06-27 09:22:02 -05:00
|
|
|
Exception handling at the top level has been disabled for now to get better
|
|
|
|
tracebacks during development.
|
|
|
|
|
2021-02-23 12:05:45 +01:00
|
|
|
## Supported commands
|
|
|
|
Here is the list currently supported commands by centpkg:
|
|
|
|
* clone
|
2021-02-24 16:38:57 +01:00
|
|
|
* sources
|
|
|
|
* new-sources
|
2021-02-23 12:05:45 +01:00
|
|
|
|
2014-12-14 20:22:09 +00:00
|
|
|
## Current workflow
|
|
|
|
For a sig working on a package in git.centos.org, the following workflow is
|
|
|
|
recommended:
|
2014-06-14 06:36:17 +00:00
|
|
|
|
2014-12-14 20:22:09 +00:00
|
|
|
# In this example a member of the virt sig would like to scratch-build a2ps on EL6
|
|
|
|
$ centpkg clone -b virt6 a2ps
|
|
|
|
$ cd a2ps
|
|
|
|
$ centpkg build --srpm --scratch
|
2014-06-14 06:36:17 +00:00
|
|
|
|
2014-12-14 20:22:09 +00:00
|
|
|
# Tagged builds can be done also
|
|
|
|
$ centpkg build --srpm
|
2014-06-14 06:36:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Unless otherwise specified, all files are licensed under GPLv2+.
|
2014-06-14 01:38:16 -05:00
|
|
|
See COPYING for more license information
|