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`