sgallagh / centos / centpkg

Forked from centos/centpkg 3 years ago
Clone
Brian Stinson 7448c8
# Centpkg
Brian Stinson 7448c8
Centpkg is a wrapper for [rpkg](https://fedorahosted.org/rpkg/) which interacts
Brian Stinson 096ba1
with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg also provides
Brian Stinson 7448c8
some convenience methods/commands for local builds via mock or rpmbuild, for
Brian Stinson 7448c8
interacting with koji, and for generating patches.
Brian Stinson 7448c8

Brian Stinson 7448c8
# Centpkg is in pre-alpha state, as of now this is a proof of concept.
Brian Stinson 7448c8
For now only a very small subset of rpkg commands are enabled. 
Brian Stinson 7448c8

Brian Stinson 2b88c3
Exception handling at the top level has been disabled for now to get better
Brian Stinson 2b88c3
tracebacks during development. 
Brian Stinson 2b88c3

Michal Konečný 31716f
## Supported commands
Michal Konečný 31716f
Here is the list currently supported commands by centpkg:
Michal Konečný 31716f
* clone
Michal Konečný 5df593
* sources
Michal Konečný 5df593
* new-sources
Michal Konečný 31716f

Brian Stinson 9396ca
## Current workflow
Brian Stinson 9396ca
For a sig working on a package in git.centos.org, the following workflow is
Brian Stinson 9396ca
recommended:
Brian Stinson 7448c8

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

Brian Stinson 9396ca
    # Tagged builds can be done also 
Brian Stinson 9396ca
    $ centpkg build --srpm
Brian Stinson 7448c8

Brian Stinson 7448c8

Brian Stinson 7448c8
## License
Brian Stinson 7448c8

Brian Stinson 7448c8
Unless otherwise specified, all files are licensed under GPLv2+.
Brian Stinson 096ba1
See COPYING for more license information