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.
|
||||
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
|
||||
|
@ -19,22 +22,24 @@ Centpkg currently requires the [EPEL](https://fedoraproject.org/wiki/EPEL) repos
|
|||
root# python setup.py install
|
||||
|
||||
## Currently Somewhat-working Commands
|
||||
### Clone
|
||||
|
||||
|
||||
### Git Operations
|
||||
$ 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
|
||||
|
||||
$ cd a2ps # Change to the directory we just cloned
|
||||
### File/Working directory operations
|
||||
$ centpkg sources # Downloads the binary sources from lookaside and checks hashes
|
||||
$ centpkg clean # Removes untracked files
|
||||
|
||||
## 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]
|
||||
### rpmbuild Operations
|
||||
$ centpkg local # Runs a full rpmbuild
|
||||
$ centpkg compile # Runs rpmbuild -bc
|
||||
$ centpkg verify-files # Runs rpmbuild -bl
|
||||
|
||||
## License
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue