COPR(1)

NAME
copr

SYNOPSIS
copr [-h] [--debug] [--config CONFIG] [--version] {hidden,whoami,list,mock-config,create,modify,delete,fork,build,buildpypi,buildgem,buildfedpkg,buildtito,buildmock,status,download-build,cancel,watch-build,delete-build,edit-chroot,get-chroot,add-package-tito,edit-package-tito,add-package-pypi,edit-package-pypi,add-package-mockscm,edit-package-mockscm,add-package-rubygems,edit-package-rubygems,list-packages,list-package-names,get-package,delete-package,reset-package,build-package,build-module} ...

OPTIONS

--debug
    Enable debug output

--config CONFIG
    Path to an alternative configuration file

--version
    show program's version number and exit

ACTIONS

copr whoami
    Print username that the client authenticates with against copr-frontend

copr list
    List all the copr of the provided

copr mock-config
    Get the mock profile (similar to koji mock-config)

copr create
    Create a new copr

copr modify
    Modify existing copr

copr delete
    Deletes the entire project

copr fork
    Fork the project and builds in it

copr build
    Build packages to a specified copr

copr buildpypi
    Build PyPI package to a specified copr

copr buildgem
    Build gem from rubygems.org to a specified copr

copr buildfedpkg
    Build package from pkgs.fedoraproject.org

copr buildtito
    submit a build from Git repository via Tito to a specified copr

copr buildmock
    submit a build from SCM repository via Mock to a specified copr

copr status
    Get build status of build specified by its ID

copr download-build
    Fetches built packages

copr cancel
    Cancel build specified by its ID

copr watch-build
    Watch status and progress of build(s) specified by their ID

copr delete-build
    Delete build specified by its ID

copr edit-chroot
    Edit chroot of a project

copr get-chroot
    Get chroot of a project

copr add-package-tito
    Creates a new Tito package

copr edit-package-tito
    Edits an existing Tito package

copr add-package-pypi
    Creates a new PyPI package

copr edit-package-pypi
    Edits an existing PyPI package

copr add-package-mockscm
    Creates a new Mock-SCM package

copr edit-package-mockscm
    Edits an existing Mock-SCM package

copr add-package-rubygems
    Creates a new RubyGems package

copr edit-package-rubygems
    Edits a new RubyGems package

copr list-packages
    Returns list of packages in the given copr

copr list-package-names
    Returns list of package names in the given copr

copr get-package
    Returns package of the given name in the given copr

copr delete-package
    Deletes the specified package

copr reset-package
    Resets (clears) default source of the specified package

copr build-package
    Builds the package from its default source

copr build-module
    Builds a given module in Copr

COMMAND 'copr whoami'
usage: copr whoami [-h]

COMMAND 'copr list'
usage: copr list [-h] [username|@groupname]

username|@groupname
    The username or @groupname that you would like to list the coprs of (defaults to current user)

COMMAND 'copr mock-config'
usage: copr mock-config [-h] project chroot

project
    Expected format is <user>/<project>, <group>/<project> (including '@') or <project> (name of project you own).

chroot
    chroot id, e.g. 'fedora-rawhide-x86_64'

COMMAND 'copr create'
usage: copr create [-h] [--chroot CHROOTS] [--repo REPOS]
                   [--initial-pkgs INITIAL_PKGS] [--description DESCRIPTION]
                   [--instructions INSTRUCTIONS]
                   [--disable_createrepo DISABLE_CREATEREPO]
                   [--enable-net {on,off}] [--unlisted-on-hp {on,off}]
                   [--persistent] [--auto-prune {on,off}]
                   name

name
    The name of the copr to create

OPTIONS 'copr create'

--chroot CHROOTS
    Chroot to use for this copr

--repo REPOS
    Repository to add to this copr

--initial-pkgs INITIAL_PKGS
    List of packages URL to build in this new copr

--description DESCRIPTION
    Description of the copr

--instructions INSTRUCTIONS
    Instructions for the copr

--disable_createrepo DISABLE_CREATEREPO
    Disable metadata auto generation

--enable-net {on,off}
    If net should be enabled for builds in this project (default is off)

--unlisted-on-hp {on,off}
    The project will not be shown on COPR home page

--persistent
    Project and its builds will be undeletable. This option can only be specified by a COPR admin.

--auto-prune {on,off}
    If auto-deletion of project's obsoleted builds should be enabled (default is on). This option can only be specified by a COPR admin.

COMMAND 'copr modify'
usage: copr modify [-h] [--chroot CHROOTS] [--description DESCRIPTION]
                   [--instructions INSTRUCTIONS] [--repo REPOS]
                   [--disable_createrepo DISABLE_CREATEREPO]
                   [--enable-net {on,off}] [--unlisted-on-hp {on,off}]
                   [--auto-prune {on,off}]
                   name

name
    The name of the copr to modify

OPTIONS 'copr modify'

--chroot CHROOTS
    Chroot to use for this copr

--description DESCRIPTION
    Description of the copr

--instructions INSTRUCTIONS
    Instructions for the copr

--repo REPOS
    Repository to add to this copr

--disable_createrepo DISABLE_CREATEREPO
    Disable metadata auto generation

--enable-net {on,off}
    If net should be enabled for builds in this project (default is "don't change")

--unlisted-on-hp {on,off}
    The project will not be shown on COPR home page

--auto-prune {on,off}
    If auto-deletion of project's obsoleted builds should be enabled. This option can only be specified by a COPR admin.

COMMAND 'copr delete'
usage: copr delete [-h] copr

copr
    Name of your project to be deleted.

COMMAND 'copr fork'
usage: copr fork [-h] [--confirm] src dst

src Which project should be forked

dst Name of the new project

OPTIONS 'copr fork'

--confirm
    Confirm forking into existing project

COMMAND 'copr build'
usage: copr build [-h] [--memory MEMORY] [--timeout TIMEOUT] [--nowait]
                  [-r CHROOTS] [--background]
                  copr pkgs [pkgs ...]

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

pkgs
    filename of SRPM or URL of packages to build

OPTIONS 'copr build'

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

COMMAND 'copr buildpypi'
usage: copr buildpypi [-h] [--pythonversions [VERSION ...]]
                      [--packageversion PYPIVERSION] --packagename PYPINAME
                      [--memory MEMORY] [--timeout TIMEOUT] [--nowait]
                      [-r CHROOTS] [--background]
                      copr

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr buildpypi'

--pythonversions [VERSION ...]
    For what Python versions to build (by default: 3 2)

--packageversion PYPIVERSION
    Version of the PyPI package to be built (by default latest)

--packagename PYPINAME
    Name of the PyPI package to be built, required.

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

COMMAND 'copr buildgem'
usage: copr buildgem [-h] [--gem GEM] [--memory MEMORY] [--timeout TIMEOUT]
                     [--nowait] [-r CHROOTS] [--background]
                     copr

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr buildgem'

--gem GEM
    Specify gem name

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

COMMAND 'copr buildfedpkg'
usage: copr buildfedpkg [-h] --clone-url URL [--branch BRANCH]
                        [--memory MEMORY] [--timeout TIMEOUT] [--nowait]
                        [-r CHROOTS] [--background]
                        copr

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr buildfedpkg'

--clone-url URL
    Specify clone url for the distgit repository

--branch BRANCH
    Specify branch to be used

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

COMMAND 'copr buildtito'
usage: copr buildtito [-h] --git-url URL [--git-dir DIRECTORY]
                      [--git-branch BRANCH] [--test {on,off}]
                      [--memory MEMORY] [--timeout TIMEOUT] [--nowait]
                      [-r CHROOTS] [--background]
                      copr

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr buildtito'

--git-url URL
    URL to a project managed by Tito

--git-dir DIRECTORY
    Relative path from Git root to directory containing .spec file

--git-branch BRANCH
    Git branch that you want to build from

--test {on,off}
    Build the last commit instead of the last release tag

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

COMMAND 'copr buildmock'
usage: copr buildmock [-h] [--scm-type TYPE] [--scm-url URL]
                      [--scm-branch BRANCH] [--spec FILE] [--memory MEMORY]
                      [--timeout TIMEOUT] [--nowait] [-r CHROOTS]
                      [--background]
                      copr

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr buildmock'

--scm-type TYPE
    specify versioning tool, default is 'git'

--scm-url URL
    url to a project versioned by Git or SVN, required

--scm-branch BRANCH

--spec FILE
    relative path from SCM root to .spec file, required

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

COMMAND 'copr status'
usage: copr status [-h] build_id

build_id
    Build ID

COMMAND 'copr download-build'
usage: copr download-build [-h] [-r CHROOTS] [--dest DEST] build_id

build_id
    Build ID

OPTIONS 'copr download-build'

-r CHROOTS, --chroot CHROOTS
    Select chroots to fetch

--dest DEST, -d DEST
    Base directory to store packages

COMMAND 'copr cancel'
usage: copr cancel [-h] build_id

build_id
    Build ID

COMMAND 'copr watch-build'
usage: copr watch-build [-h] build_id [build_id ...]

build_id
    Build ID

COMMAND 'copr delete-build'
usage: copr delete-build [-h] build_id

build_id
    Build ID

COMMAND 'copr edit-chroot'
usage: copr edit-chroot [-h] [--upload-comps FILEPATH | --delete-comps]
                        [--packages PACKAGES] [--repos REPOS]
                        coprchroot

coprchroot
    Path to a project chroot as owner/project/chroot or project/chroot

OPTIONS 'copr edit-chroot'

--upload-comps FILEPATH
    filepath to the comps.xml file to be uploaded

--delete-comps
    deletes already existing comps.xml for the chroot

--packages PACKAGES
    space separated string of package names to be added to buildroot

--repos REPOS
    space separated string of additional repo urls for chroot

COMMAND 'copr get-chroot'
usage: copr get-chroot [-h] coprchroot

coprchroot
    Path to a project chroot as owner/project/chroot or project/chroot

COMMAND 'copr add-package-tito'
usage: copr add-package-tito [-h] --git-url URL [--git-dir DIRECTORY]
                        [--git-branch BRANCH] [--test {on,off}] --name
                        PKGNAME [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr add-package-tito'

--git-url URL
    URL to a project managed by Tito

--git-dir DIRECTORY
    Relative path from Git root to directory containing .spec file

--git-branch BRANCH
    Git branch that you want to build from

--test {on,off}
    Build the last commit instead of the last release tag

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr edit-package-tito'
usage: copr edit-package-tito [-h] --git-url URL [--git-dir DIRECTORY]
                        [--git-branch BRANCH] [--test {on,off}] --name
                        PKGNAME [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr edit-package-tito'

--git-url URL
    URL to a project managed by Tito

--git-dir DIRECTORY
    Relative path from Git root to directory containing .spec file

--git-branch BRANCH
    Git branch that you want to build from

--test {on,off}
    Build the last commit instead of the last release tag

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr add-package-pypi'
usage: copr add-package-pypi [-h] [--pythonversions [VERSION ...]]
                        [--packageversion PYPIVERSION] --packagename
                        PYPINAME --name PKGNAME
                        [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr add-package-pypi'

--pythonversions [VERSION ...]
    For what Python versions to build (by default: 3 2)

--packageversion PYPIVERSION
    Version of the PyPI package to be built (by default latest)

--packagename PYPINAME
    Name of the PyPI package to be built, required.

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr edit-package-pypi'
usage: copr edit-package-pypi [-h] [--pythonversions [VERSION ...]]
                        [--packageversion PYPIVERSION] --packagename
                        PYPINAME --name PKGNAME
                        [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr edit-package-pypi'

--pythonversions [VERSION ...]
    For what Python versions to build (by default: 3 2)

--packageversion PYPIVERSION
    Version of the PyPI package to be built (by default latest)

--packagename PYPINAME
    Name of the PyPI package to be built, required.

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr add-package-mockscm'
usage: copr add-package-mockscm [-h] [--scm-type TYPE] [--scm-url URL]
                        [--scm-branch BRANCH] [--spec FILE] --name
                        PKGNAME [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr add-package-mockscm'

--scm-type TYPE
    specify versioning tool, default is 'git'

--scm-url URL
    url to a project versioned by Git or SVN, required

--scm-branch BRANCH

--spec FILE
    relative path from SCM root to .spec file, required

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr edit-package-mockscm'
usage: copr edit-package-mockscm [-h] [--scm-type TYPE] [--scm-url URL]
                        [--scm-branch BRANCH] [--spec FILE] --name
                        PKGNAME [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr edit-package-mockscm'

--scm-type TYPE
    specify versioning tool, default is 'git'

--scm-url URL
    url to a project versioned by Git or SVN, required

--scm-branch BRANCH

--spec FILE
    relative path from SCM root to .spec file, required

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr add-package-rubygems'
usage: copr add-package-rubygems [-h] [--gem GEM] --name PKGNAME
                        [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr add-package-rubygems'

--gem GEM
    Specify gem name

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr edit-package-rubygems'
usage: copr edit-package-rubygems [-h] [--gem GEM] --name PKGNAME
                        [--webhook-rebuild {on,off}]
                        copr

copr
    The copr repo for the package. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr edit-package-rubygems'

--gem GEM
    Specify gem name

--name PKGNAME
    Name of the package to be edited or created

--webhook-rebuild {on,off}
    Enable auto-rebuilding.

COMMAND 'copr list-packages'
usage: copr list-packages [-h] [--with-latest-build]
                        [--with-latest-succeeded-build] [--with-all-builds]
                        copr

copr
    The copr repo to list the packages of. Can be just name of project or even in format owner/project.

OPTIONS 'copr list-packages'

--with-latest-build
    Also display data related to the latest build for the package.

--with-latest-succeeded-build
    Also display data related to the latest succeeded build for the package.

--with-all-builds
    Also display data related to the builds for the package.

COMMAND 'copr list-package-names'
usage: copr list-package-names [-h] copr

copr
    The copr repo to list the packages of. Can be just name of project or even in format owner/project.

COMMAND 'copr get-package'
usage: copr get-package [-h] --name PKGNAME [--with-latest-build]
                        [--with-latest-succeeded-build] [--with-all-builds]
                        copr

copr
    The copr repo to list the packages of. Can be just name of project or even in format owner/project.

OPTIONS 'copr get-package'

--name PKGNAME
    Name of a single package to be displayed

--with-latest-build
    Also display data related to the latest build for each package.

--with-latest-succeeded-build
    Also display data related to the latest succeeded build for each package.

--with-all-builds
    Also display data related to the builds for each package.

COMMAND 'copr delete-package'
usage: copr delete-package [-h] --name PKGNAME copr

copr
    The copr repo to list the packages of. Can be just name of project or even in format owner/project.

OPTIONS 'copr delete-package'

--name PKGNAME
    Name of a package to be deleted

COMMAND 'copr reset-package'
usage: copr reset-package [-h] --name PKGNAME copr

copr
    The copr repo to list the packages of. Can be just name of project or even in format owner/project.

OPTIONS 'copr reset-package'

--name PKGNAME
    Name of a package to be reset

COMMAND 'copr build-package'
usage: copr build-package [-h] [--memory MEMORY] [--timeout TIMEOUT]
                        [--nowait] [-r CHROOTS] [--background] --name
                        PKGNAME
                        copr

copr
    The copr repo to build the package in. Can be just name of project or even in format username/project or @groupname/project.

OPTIONS 'copr build-package'

--memory MEMORY

--timeout TIMEOUT

--nowait
    Don't wait for build

-r CHROOTS, --chroot CHROOTS
    If you don't need this build for all the project's chroots. You can use it several times for each chroot you need.

--background
    Mark the build as a background job. It will have lesser priority than regular builds.

--name PKGNAME
    Name of a package to be built

COMMAND 'copr build-module'
usage: copr build-module [-h] (--url URL | --yaml YAML) [copr]

copr
    The copr repo to list the packages of. Can be just name of project or even in format owner/project.

OPTIONS 'copr build-module'

--url URL
    SCM with modulemd file in yaml format

--yaml YAML
    Path to modulemd file in yaml format

COMMENTS
dummy text

AUTHOR
John Doe <jd@example.com>

DISTRIBUTION
The latest version of example may be downloaded from http://example.com