copr-distgit-client - Man Page


copr-distgit-client [-h] [--configdir CONFIGDIR] [--loglevel LOGLEVEL] {sources,srpm} ...


A simple, configurable python utility that is able to download sources from various dist-git instances, and generate source RPMs. The utility is able to automatically map the .git/config clone URL into the corresponding dist-git instance configuration.


--configdir CONFIGDIR

Where to load configuration files from

--loglevel LOGLEVEL

Python logging level, e.g. debug, info, error


copr-distgit-client sources

Download sources from the lookaside cache

copr-distgit-client srpm

Generate a source RPM

OPTIONS 'copr-distgit-client sources'

usage: copr-distgit-client sources [-h]

Using the 'url' .git/config, detect where the right DistGit lookaside cache exists, and download the corresponding source files.

OPTIONS 'copr-distgit-client srpm'

usage: copr-distgit-client srpm [-h] [--outputdir OUTPUTDIR]
                               [--mock-chroot MOCK_CHROOT] [--dry-run]

Generate a source RPM from the downloaded source files by 'sources' command, please run 'sources' first.

--outputdir OUTPUTDIR

Where to store the resulting source RPM

--mock-chroot MOCK_CHROOT

Generate the SRPM in mock buildroot instead of on host. The argument is passed down to mock as the 'mock -r|--root' argument.


Don't produce the SRPM, just print the command which would be otherwise called


Copr was written by Copr Team <>.


The latest version of Copr may be downloaded from