jamesantill / centos / centpkg

Forked from centos/centpkg 3 years ago
Clone

Blame README

Brian Stinson 283077
# Centpkg
Brian Stinson 283077
Centpkg is a wrapper for [rpkg](https://fedorahosted.org/rpkg/) which interacts
Brian Stinson 283077
with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg provides
Brian Stinson 283077
some convenience methods/commands for local builds via mock or rpmbuild, for
Brian Stinson 283077
interacting with koji, and for generating patches.
Brian Stinson 283077
Brian Stinson 283077
# Centpkg is in pre-alpha state, as of now this is a proof of concept.
Brian Stinson 283077
For now only a very small subset of rpkg commands are enabled. 
Brian Stinson 283077
Brian Stinson 283077
Brian Stinson 283077
Brian Stinson 283077
## Installing
Brian Stinson 283077
Centpkg currently requires the [EPEL](https://fedoraproject.org/wiki/EPEL) repository for pyrpkg and other dependencies. 
Brian Stinson 283077
Brian Stinson 283077
    root# <Install and configure EPEL-Release>
Brian Stinson 283077
    root# yum install pyrpkg
Brian Stinson 283077
    root# git clone https://bitbucket.org/bstinsonmhk/centpkg.git
Brian Stinson 283077
    root# cd centpkg
Brian Stinson 283077
    root# python setup.py install
Brian Stinson 283077
Brian Stinson 283077
## Currently Somewhat-working Commands
Brian Stinson 283077
### Clone 
Brian Stinson 283077
    
Brian Stinson 283077
    $ centpkg clone --anonymous -b c7 a2ps        # clones the CentOS 7 branch of the a2ps package
Brian Stinson 283077
Brian Stinson 283077
### Sources
Brian Stinson 283077
Brian Stinson 283077
    $ cd a2ps                                     # Change to the directory we just cloned
Brian Stinson 283077
    $ centpkg sources                             # Downloads the binary sources from lookaside and checks hashes
Brian Stinson 283077
Brian Stinson 283077
## Commands Currently in Development
Brian Stinson 283077
### Firehose
Brian Stinson 283077
*WARNING*: this will download _all_ repositories from git.centos.org
Brian Stinson 283077
Brian Stinson 283077
    # Downloads all source repos and switches to the CentOS 7 Branch. 
Brian Stinson 283077
    # If --sources is specified get the sources too. 
Brian Stinson 283077
    $ centpkg firehose --anonymous -b c7 [--sources]
Brian Stinson 283077
Brian Stinson 283077
## License
Brian Stinson 283077
Brian Stinson 283077
Unless otherwise specified, all files are licensed under GPLv2+.
Brian Stinson 283077
See COPYING for more license information