COPR-CLI(1) COPR COPR-CLI(1) (NAME) copr-cli - Copr (SYNOPSIS) copr-cli [-h] [--version] [--config CONFIG] {list,create,build} ... (DESCRIPTION) Copr . ( ). (OPTIONS) -h, --help --version --config ( ~/.config/copr ). (ACTION LIST) list [username|@groupname] . . create . delete . build . status (build). cancel . download-build . modify copr . regenerate-repos . add-package-* ( add-package-tito). edit-package-* ( edit-package-tito). list-packages copr json. list-package-names copr . get-package json. delete-package copr . reset-package . build-package . mock-config mock ( koji mock-config). edit-permissions / copr. list-permissions / copr. request-permissions ( ) copr. (PROJECT ACTIONS) copr-cli create [options] usage: copr-cli create [-h] --chroot CHROOTS [--repo REPOS] [--initial-pkgs PKGS] [--description DESCRIPTION] [--instructions INSTRUCTIONS] [--disable_createrepo DISABLE_CREATEREPO] [--enable-net {on,off}] [--unlisted-on-hp {on,off}] [--persistent] [--auto-prune {on,off}] [--isolation {default, nspawn, simple}] name --chroot chroot . . --repo . . --initial-pkgs . . --description . --instructions . --disable_createrepo . DISABLE_CREATEREPO true/false . --enable-net . --unlisted-on-hp COPR . --persistent . COPR . --auto-prune (auto- pruning) . COPR . --isolation ISOLATION buildroot. name username/projectname @groupname/projectname . copr-cli modify [options] usage: copr-cli modify [-h] [--repo REPOS] [--chroot CHROOTS] [--description DESCRIPTION] [--instructions INSTRUCTIONS] [--disable_createrepo DISABLE_CREATEREPO] [--enable-net {on,off}] [--unlisted-on-hp {on,off}] [--auto-prune {on,off}] [--isolation {default, nspawn, simple}] name . --repo . . --chroot chroot . . chroot . chroot chroot . --description . --instructions . --disable_createrepo . DISABLE_CREATEREPO true/false . --enable-net . --unlisted-on-hp COPR . --auto-prune . COPR . --isolation ISOLATION buildroot. name username/projectname @groupname/projectname. copr-cli regenerate-repos [options] usage: copr-cli regenerate-repos [-h] copr copr username/projectname @groupname/projectname. (BUILD ACTIONS) copr-cli build [options] usage: copr-cli build [-h] [-r, --chroot CHROOTS] [--memory MEMORY] [--timeout TIMEOUT] [--nowait] [--background] [--isolation {default, nspawn, simple}] [--enable-net {on,off}] copr_repo PKG [PKG ...] -r, --chroot chroot . chroot . (glob) . --exclude-chroot chroot . chroot . . --memory . . --timeout ( ) . Copr . --nowait . --background . --isolation ISOLATION buildroot. --enable-net . copr_repo copr . username/project @groupname/project . . project:tag . . project:tag . . () . PKG (URL) . ftp . URL PKG . API COPR . copr-cli uploadrpm [options] usage: copr-cli uploadrpm [-h] [-r, --chroot CHROOTS] [--memory MEMORY] [--timeout TIMEOUT] [--nowait] [--background] copr_repo RPM RPM SRPM. copr-cli build . RPM rpm. . copr-cli buildpypi [options] usage: copr buildpypi [-h] [-r, --chroot CHROOTS] [--memory MEMORY] [--timeout TIMEOUT] [--nowait] [--background] [--with-deps] [--pythonversions [VERSION [VERSION ...]]] [--packageversion PYPIVERSION] --packagename PYPINAME project --pythonversions [VERSION [VERSION ...]] ( : 3 2) --packageversion PYPIVERSION PyPI (: ) --packagename PYPINAME PyPI . --with-deps . coprtree . python3-coprtree . : https://github.com/sundaram123krishnan/coprtree copr-cli build . copr-cli buildscm [options] usage: copr buildscm [-h] --clone-url CLONE_URL [--commit COMMITTISH] [--subdir SUBDIRECTORY] [--spec SPEC] [--type {git,svn}] [--method {rpkg,tito,tito_test,make_srpm}] [--memory MEMORY] [--timeout TIMEOUT] [--nowait] [-r CHROOTS] [--background] copr_repo Git/DistGit/SVN. --clone-url CLONE_URL Git SVN --commit COMMITISH --subdir SUBDIRECTORY --spec SPEC spec. --type TYPE . git . --method METHOD Srpm. rpkg . copr-cli build . copr-cli download-build [options] usage: copr-cli download-build [-h] [-d, --dest DESTINATION] [-r, --chroot CHROOT] build_id build_id build_id. -d, --dest -r, --chroot chroot . . copr-cli delete-build [options] usage: copr delete-build [-h] build_id [build_id ...] build_id . . build_id copr delete-build createrepo . (EXAMPLES) copr-cli build myproject some.src.rpm copr-cli build someone_else/project some.src.rpm copr-cli build -r fedora-24-x86_64 -r fedora-24-i386 "@somegroup/project" some.src.rpm CHROOT (CHROOT ACTIONS) copr-cli edit-chroot [options] coprchroot usage: copr edit-chroot [-h] [--upload-comps FILEPATH | --delete-comps] [--packages PACKAGES] [--repos REPOS] [--isolation {default, nspawn, simple}] coprchroot coprchroot . coprchroot chroot owner/project/chroot project/chroot --upload-comps FILEPATH comps.xml --delete-comps comps.xml chroot --packages PACKAGES buildroot ( "gcc ghc") --repos REPOS chroot ( "http://foo http://bar") --isolation ISOLATION buildroot copr-cli get-chroot coprchroot usage: copr get-chroot [-h] coprchroot [--output-format {json, text, text-row}] chroot . coprchroot chroot owner/project/chroot project/chroot --output-format FORMAT . json json . text . text-row . (PERMISSION ACTIONS) copr-cli edit-permissions [options] usage: copr-cli edit-permissions [-h] [--admin USERNAME[=VALUE]] [--builder USERNAME[=VALUE]] PROJECT / copr. PROJECT copr . --admin USERNAME[=VALUE] admin USERNAME PROJECT VALUE approved|request|nothing (=approved). --builder USERNAME[=VALUE] builder USERNAME PROJECT VALUE approved|request|nothing (=approved). copr-cli list-permissions [options] usage: copr-cli list-permissions [-h] PROJECT / copr. PROJECT copr . copr-cli request-permissions [options] usage: copr-cli request-permissions [-h] [--admin [VALUE]] [--builder [VALUE]] PROJECT ( ) copr. PROJECT copr . --admin [VALUE] / / admin PROJECT. VALUE request|nothing (=request). --builder [VALUE] / / builder PROJECT. VALUE request|nothing (=request). (PACKAGE ACTIONS) copr-cli add-package-pypi [options] usage: copr add-package-pypi [-h] [--pythonversions [VERSION [VERSION ...]]] [--packageversion PYPIVERSION] --packagename PYPINAME --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] project PyPI. --pythonversions [VERSION [VERSION ...]] (: 3 2) --packageversion PYPIVERSION PyPI (: ) --packagename PYPINAME PyPI --name PKGNAME --webhook-rebuild {on,off} (auto-rebuilding) --chroot-denylist CHROOT_DENYLIST (wildcard) chroot fedora-,epel--i386 copr-cli edit-package-pypi [options] usage: copr edit-package-pypi [-h] [--pythonversions [VERSION [VERSION ...]]] [--packageversion PYPIVERSION] --packagename PYPINAME --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] project . add-package-pypi . copr-cli add-package-scm [options] usage: copr add-package-scm [-h] --clone-url CLONE_URL [--commit COMMITTISH] [--subdir SUBDIRECTORY] [--spec SPEC] [--type {git,svn}] [--method {rpkg,tito,tito_test,make_srpm}] --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] copr Add package of SCM source type. --clone-url CLONE_URL:: clone url to a project versioned by Git or SVN, required --commit COMMITISH:: branch name, tag name, or git hash to be built --subdir SUBDIRECTORY:: relative path from the repo root to the package content --spec SPEC:: relative path from the subdirectory to the .spec file --type TYPE:: Specify versioning tool. Default is 'git'. --method METHOD:: Srpm build method. Default is 'rpkg'. --name PKGNAME:: Name of the package to be edited or created --webhook-rebuild {on,off}:: Enable auto-rebuilding --chroot-denylist CHROOT_DENYLIST:: Comma-separated list of wildcard patterns of chroots to exclude from builds, e.g. 'fedora-*,epel-*-i386' `copr-cli edit-package-scm [options]` usage: copr edit-package-scm [-h] --clone-url CLONE_URL [--commit COMMITTISH] [--subdir SUBDIRECTORY] [--spec SPEC] [--type {git,svn}] [--method {rpkg,tito,tito_test,make_srpm}] --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] copr SCM. copr-cli add-package-rubygems [options] usage: copr add-package-rubygems [-h] [--gem GEM] --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] project RubyGems. --gem GEM gem --name PKGNAME --webhook-rebuild {on,off} --chroot-denylist CHROOT_DENYLIST chroot fedora-,epel--i386 copr-cli edit-package-rubygems [options] usage: copr edit-package-rubygems [-h] [--gem GEM] --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] project . add-package-rubygems . copr-cli add-package-custom [options] usage: copr add-package-custom [-h] --script SCRIPT [--script-chroot SCRIPT_CHROOT] [--script-builddeps SCRIPT_BUILDDEPS] [--script-resultdir SCRIPT_RESULTDIR] [--script-repos SCRIPT_REPOS] --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] [--max-builds MAX_BUILDS] [--timeout TIMEOUT] project Custom. --script SCRIPT () --script-chroot SCRIPT_CHROOT Mock chroot SRPM --script-builddeps SCRIPT_BUILDDEPS --script-resultdir SCRIPT_RESULTDIR SCRIPT PWD$ ( . ) --script-repos SCRIPT_REPOS --name PKGNAME --webhook-rebuild {on,off} . --chroot-denylist CHROOT_DENYLIST chroot fedora-,epel--i386 --max-builds MAX_BUILDS ( ) () --timeout TIMEOUT ( ) copr-cli edit-package-custom [options] usage: copr edit-package-custom [-h] --script SCRIPT [--script-chroot SCRIPT_CHROOT] [--script-builddeps SCRIPT_BUILDDEPS] [--script-resultdir SCRIPT_RESULTDIR] [--script-repos SCRIPT_REPOS] --name PKGNAME [--webhook-rebuild {on,off}] [--chroot-denylist CHROOT_DENYLIST] [--max-builds MAX_BUILDS] [--timeout TIMEOUT] project . add-package-custom . copr-cli list-packages [options] usage: copr list-packages [-h] [--with-latest-build] [--with-latest-succeeded-build] [--with-all-builds] [--output-format {json, text, text-row}] project json. --with-latest-build . --with-latest-succeeded-build . --with-all-builds . --output-format FORMAT . json json . text . text-row . copr-cli list-package-names [options] usage: copr list-package-names [-h] project . copr-cli get-package [options] usage: copr get-package [-h] --name PKGNAME [--with-latest-build] [--with-latest-succeeded-build] [--with-all-builds] [--output-format {json, text, text-row}] project list-packages json ( ). --output-format FORMAT . json . text text-row . copr-cli delete-package [options] usage: copr delete-package [-h] --name PKGNAME project . copr-cli reset-package [options] usage: copr reset-package [-h] --name PKGNAME project ( !). copr-cli build-package [options] usage: copr build-package [-h] [--memory MEMORY] [--timeout TIMEOUT] [--nowait] [-r CHROOTS] --name PKGNAME project . --name PKGNAME copr-cli build . copr-cli mock-config [options] usage: copr mock-config [-h] project chroot mock ( koji mock-config) . mock Copr ( mock --shell) . (EXAMPLES) copr-cli add-package-tito myproject --name pkgname --git-url http://github.com/clime/example.git --test on copr-cli get-package myproject --name pkgname copr-cli build-package myproject --name pkgname --nowait --timeout 10000 -r fedora-23-x86_64 copr-cli delete-package myproject --name pkgname copr-cli mock-config myproject fedora-rawhide-x86_64 (EXIT STATUS) 0 . : 1 - . . 2 - . 3 - . 4 - . 5 - Cli . . 6 - . 7 - Copr . (AUTHENTICATION) Copr GSSAPI . API https://copr.fedorainfracloud.org/api . ~/.config/copr : [copr-cli] username = msuchy login = Y57wcg==##fkfaxbkjhuoiebfafadl token = vbfseelqdebzedukgombekmuvbkqwo copr_url = https://copr.fedorainfracloud.org # expiration date: 2023-01-01 API ! GSSAPI (Kerberos ticket) . Fedora Copr : $ fkinit Enter your password and OTP concatenated. (Ignore that the prompt is for only the token) Enter OTP Token Value: ( Fedora Copr) copr_url : $ kinit username@EXAMPLE.COM $ cat ~/.config/copr [copr-cli] copr_url = https://copr.example.com Copr API https://python-copr.readthedocs.io/en/latest/ClientV3.html#example-usage . COPR (USING DIFFERENT COPR INSTANCE) copr Copr API http://YOUR.COPR.URL/api . ~/.config/copr : alias your_copr='copr --config ~/.config/your-copr' . (AUTHORS) Miroslav Suchy , clime copr 08/12/2026 COPR-CLI(1)