mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-18 03:55:41 +02:00
21 lines
533 B
Markdown
21 lines
533 B
Markdown
![]() |
# 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}}`
|