merlinm / centos / centpkg

Forked from centos/centpkg 3 years ago
Clone

Blame README.md

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ý 0d832c
This repository provides two executable scripts centpkg and centpkg-sig.
Michal Konečný 0d832c

Michal Konečný 0d832c
## centpkg
Michal Konečný 0d832c
Executable centpkg allows you to interact with CentOS Stream dist-git and CentOS Stream koji instance.
Michal Konečný 0d832c

Michal Konečný 0d832c
## centpkg-sig
Michal Konečný 0d832c
Executable centpkg-sig allows you to interact with CentOS Linux dist-git and CentOS Linux koji instance.
Michal Konečný 0d832c

Michal Konečný 31716f
## Supported commands
Michal Konečný 31716f
Here is the list currently supported commands by centpkg:
Michal Konečný b6d333

Michal Konečný 31716f
* clone
Michal Konečný 5df593
* sources
Michal Konečný 5df593
* new-sources
Michal Konečný 31716f

Michal Konečný 0d832c
Here is the list currently supported commands by centpkg-sig:
Michal Konečný 0d832c

Michal Konečný 0d832c
* clone
Michal Konečný 0d832c

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
Michal Konečný 0d832c
    $ centpkg-sig clone -b virt6 a2ps
Brian Stinson 9396ca
    $ cd a2ps
Michal Konečný 0d832c
    $ centpkg-sig build --srpm --scratch 
Brian Stinson 7448c8

Brian Stinson 9396ca
    # Tagged builds can be done also 
Michal Konečný 0d832c
    $ centpkg-sig 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