From d4c3b1851c441f82051b04fb958eaa20b7e45180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20H=C3=BCbner?= <43141307+akira25@users.noreply.github.com> Date: Sun, 30 Mar 2025 01:21:17 +0100 Subject: [PATCH] copr, copr-cli: add page (#16042) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/copr-cli.md | 20 ++++++++++++++++++++ pages/common/copr.md | 7 +++++++ 2 files changed, 27 insertions(+) create mode 100644 pages/common/copr-cli.md create mode 100644 pages/common/copr.md diff --git a/pages/common/copr-cli.md b/pages/common/copr-cli.md new file mode 100644 index 0000000000..8f60a0d215 --- /dev/null +++ b/pages/common/copr-cli.md @@ -0,0 +1,20 @@ +# copr-cli + +> Interface with Fedora-Projects copr instance for building RPMs and publishing them. +> More information: . + +- 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}}` diff --git a/pages/common/copr.md b/pages/common/copr.md new file mode 100644 index 0000000000..82df2fbea8 --- /dev/null +++ b/pages/common/copr.md @@ -0,0 +1,7 @@ +# copr + +> This command is an alias of `copr-cli`. + +- View documentation for the original command: + +`tldr copr-cli`