mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 17:54:48 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/copr-cli
Normal file
25
tldr/copr-cli
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user