mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
No description
![]() in centpkg because they work upstream in pyrpkg remove clone() definition since the one in pyrpkg works remove add_tag definition because the definition upstream in pyrpkg works remove clean definition because the definition upstream in pyrpkg works remove clone_with_dirs definition because the definition upstream in pyrpkg works remove commit definition because the definition upstream in pyrpkg works remove delete_tag because the definition upstream in pyrpkg works remove list_tag because the definition upstream in pyrpkg works remove pull because the definition upstream in pyrpkg works remove switch_branch because the definition upstream in pyrpkg works remove compile because the definition upstream in pyrpkg works remove giturl because the definition upstream in pyrpkg works remove local because the definition upstream in pyrpkg works remove verify_files because the definition upstream in pyrpkg works |
||
---|---|---|
src | ||
.gitignore | ||
COPYING | ||
README.md | ||
setup.py |
Centpkg
Centpkg is a wrapper for rpkg which interacts with RPM git repositories like the ones hosted at http://git.centos.org. Rpkg also provides 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.
Installing
Centpkg currently requires the EPEL repository for pyrpkg and other dependencies.
root# <Install and configure EPEL-Release>
root# yum install pyrpkg
root# git clone https://bitbucket.org/bstinsonmhk/centpkg.git
root# cd centpkg
root# python setup.py install
Currently Somewhat-working Commands
Clone
$ centpkg clone --anonymous -b c7 a2ps # clones the CentOS 7 branch of the a2ps package
Sources
$ cd a2ps # Change to the directory we just cloned
$ centpkg sources # Downloads the binary sources from lookaside and checks hashes
Commands Currently in Development
Firehose
WARNING: this will download all repositories from git.centos.org
# Downloads all source repos and switches to the CentOS 7 Branch.
# If --sources is specified get the sources too.
$ centpkg firehose --anonymous -b c7 [--sources]
License
Unless otherwise specified, all files are licensed under GPLv2+. See COPYING for more license information