dist-git-client - Man Page

Synopsis

dist-git-client [-h] [--configdir CONFIGDIR] [--loglevel LOGLEVEL] [--forked-from CLONE_URL] {sources,srpm,clone} ...

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 "origin" .git/config clone URL (or --forked-from URL, if specified) to a corresponding dist-git instance configured in /etc/dist-git-client directory.

Options

--configdir CONFIGDIR

Where to load configuration files from

--loglevel LOGLEVEL

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

--forked-from CLONE_URL

Specify that this git clone directory is a dist-git repository fork. If used, the default clone url detection from the .git/config file is disabled and CLONE_URL is used instead. This specified CLONE_URL is used to detect the appropriate lookaside cache pattern to download the sources.

Actions

dist-git-client sources

Download sources from the lookaside cache

dist-git-client srpm

Generate a source RPM

dist-git-client clone

Clone package from a DistGit source

COMMAND 'dist-git-client sources'

usage: dist-git-client sources [-h]

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

COMMAND 'dist-git-client srpm'

usage: dist-git-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.

OPTIONS 'dist-git-client srpm'

--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

COMMAND 'dist-git-client clone'

usage: dist-git-client clone [-h] [--dist-git DIST_GIT] package

package

Package name specification. For some DistGit instances this consists of multiple parts separated by slash, e.g. for '--dist-git=fedora-copr' use

OPTIONS 'dist-git-client clone'

--dist-git DIST_GIT

The DistGit ID as configured in /etc/dist-git-client/

Author

Copr Team
copr-team@redhat.com

Distribution

The latest version of Copr may be downloaded from https://github.com/release-engineering/dist-git.git

Info

2024-07-17 Copr Generated Python Manual