1
0
Fork 0
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:
Martin Hübner 2025-03-30 01:21:17 +01:00 committed by GitHub
parent e47b4805ab
commit d4c3b1851c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 0 deletions

20
pages/common/copr-cli.md Normal file
View 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
View file

@ -0,0 +1,7 @@
# copr
> This command is an alias of `copr-cli`.
- View documentation for the original command:
`tldr copr-cli`