tmz / centos / centpkg

Forked from centos/centpkg 2 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 7448c8

Brian Stinson 7448c8

Brian Stinson 7448c8
## Installing
Brian Stinson 7448c8
Centpkg currently requires the [EPEL](https://fedoraproject.org/wiki/EPEL) repository for pyrpkg and other dependencies. 
Brian Stinson 7448c8

Brian Stinson 7448c8
    root# <Install and configure EPEL-Release>
Brian Stinson 7448c8
    root# yum install pyrpkg
Brian Stinson 7448c8
    root# git clone https://bitbucket.org/bstinsonmhk/centpkg.git
Brian Stinson 7448c8
    root# cd centpkg
Brian Stinson 7448c8
    root# python setup.py install
Brian Stinson 7448c8

Brian Stinson 7448c8
## Currently Somewhat-working Commands
Brian Stinson 7448c8
### Clone 
Brian Stinson 7448c8
    
Brian Stinson 7448c8
    $ centpkg clone --anonymous -b c7 a2ps        # clones the CentOS 7 branch of the a2ps package
Brian Stinson 7448c8

Brian Stinson 7448c8
### Sources
Brian Stinson 7448c8

Brian Stinson 7448c8
    $ cd a2ps                                     # Change to the directory we just cloned
Brian Stinson 7448c8
    $ centpkg sources                             # Downloads the binary sources from lookaside and checks hashes
Brian Stinson 7448c8

Brian Stinson 7448c8
## Commands Currently in Development
Brian Stinson 7448c8
### Firehose
Brian Stinson 7448c8
*WARNING*: this will download _all_ repositories from git.centos.org
Brian Stinson 7448c8

Brian Stinson 7448c8
    # Downloads all source repos and switches to the CentOS 7 Branch. 
Brian Stinson 7448c8
    # If --sources is specified get the sources too. 
Brian Stinson 7448c8
    $ centpkg firehose --anonymous -b c7 [--sources]
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