mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
added more working commands and reorganized them into categories
This commit is contained in:
parent
cb3b24e9e1
commit
2b88c3fe90
1 changed files with 17 additions and 12 deletions
29
README.md
29
README.md
|
@ -7,6 +7,9 @@ interacting with koji, and for generating patches.
|
||||||
# Centpkg is in pre-alpha state, as of now this is a proof of concept.
|
# 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.
|
For now only a very small subset of rpkg commands are enabled.
|
||||||
|
|
||||||
|
Exception handling at the top level has been disabled for now to get better
|
||||||
|
tracebacks during development.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
@ -19,22 +22,24 @@ Centpkg currently requires the [EPEL](https://fedoraproject.org/wiki/EPEL) repos
|
||||||
root# python setup.py install
|
root# python setup.py install
|
||||||
|
|
||||||
## Currently Somewhat-working Commands
|
## Currently Somewhat-working Commands
|
||||||
### Clone
|
|
||||||
|
### Git Operations
|
||||||
$ centpkg clone --anonymous -b c7 a2ps # clones the CentOS 7 branch of the a2ps package
|
$ centpkg clone --anonymous -b c7 a2ps # clones the CentOS 7 branch of the a2ps package
|
||||||
|
$ centpkg add-tag # Adds a git tag to the repo
|
||||||
|
$ centpkg list-tag # Shows the relevant git tags
|
||||||
|
$ centpkg delete-tag # Shows the relevant git tags
|
||||||
|
$ centpkg commit # Commits to the current branch
|
||||||
|
$ centpkg pull # Pulls from the git remote
|
||||||
|
$ centpkg switch-branch # Switch to a git branch (if it exists upstream it will track it for you)
|
||||||
|
|
||||||
### Sources
|
### File/Working directory operations
|
||||||
|
|
||||||
$ cd a2ps # Change to the directory we just cloned
|
|
||||||
$ centpkg sources # Downloads the binary sources from lookaside and checks hashes
|
$ centpkg sources # Downloads the binary sources from lookaside and checks hashes
|
||||||
|
$ centpkg clean # Removes untracked files
|
||||||
|
|
||||||
## Commands Currently in Development
|
### rpmbuild Operations
|
||||||
### Firehose
|
$ centpkg local # Runs a full rpmbuild
|
||||||
*WARNING*: this will download _all_ repositories from git.centos.org
|
$ centpkg compile # Runs rpmbuild -bc
|
||||||
|
$ centpkg verify-files # Runs rpmbuild -bl
|
||||||
# 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
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue