1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-11 18:35:42 +02:00
tldr/pages/common/copr-cli.md
Martin Hübner d4c3b1851c
copr, copr-cli: add page (#16042)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-03-30 02:21:17 +02:00

533 B

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}}