copr-distgit-client - Man Page

Synopsis

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

Description

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.

Options

--configdir CONFIGDIR

Where to load configuration files from

--loglevel LOGLEVEL

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

Sub-commands

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.

--dry-run

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

Authors

Copr was written by Copr Team <copr-team@redhat.com>.

Distribution

The latest version of Copr may be downloaded from https://pagure.io/copr/copr

Info

Manual