mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 12:35:24 +02:00
copr, copr-cli: add page (#16042)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
e47b4805ab
commit
d4c3b1851c
2 changed files with 27 additions and 0 deletions
20
pages/common/copr-cli.md
Normal file
20
pages/common/copr-cli.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# copr-cli
|
||||
|
||||
> Interface with Fedora-Projects copr instance for building RPMs and publishing them.
|
||||
> More information: <https://manned.org/copr-cli>.
|
||||
|
||||
- Show user logged in to copr:
|
||||
|
||||
`copr-cli whoami`
|
||||
|
||||
- Build a local spec file on copr:
|
||||
|
||||
`copr-cli build {{repository}} {{path/to/spec_file}}`
|
||||
|
||||
- Check status of builds:
|
||||
|
||||
`copr-cli list-builds {{repository}}`
|
||||
|
||||
- Trigger a copr build of a spec-file from public (git) repository:
|
||||
|
||||
`copr-cli buildscm {{repository}} --clone-url {{https://git.example.org/repo}} --spec {{spec_file_name}}`
|
7
pages/common/copr.md
Normal file
7
pages/common/copr.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# copr
|
||||
|
||||
> This command is an alias of `copr-cli`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr copr-cli`
|
Loading…
Add table
Reference in a new issue