1COPR-DISTGIT-CLIENT(1)      Generated Python Manual     COPR-DISTGIT-CLIENT(1)
2
3
4

NAME

6       copr-distgit-client
7

SYNOPSIS

9       copr-distgit-client  [-h] [--configdir CONFIGDIR] [--loglevel LOGLEVEL]
10       [--forked-from CLONE_URL] {sources,srpm} ...
11

DESCRIPTION

13       A simple, configurable python utility that is able to download  sources
14       from various dist-git instances, and generate source RPMs.  The utility
15       is able to automatically map the "origin"  .git/config  clone  URL  (or
16       --forked-from  URL,  if specified) to a corresponding dist-git instance
17       configured in /etc/copr-distgit-client directory.
18
19

OPTIONS

21       --configdir CONFIGDIR
22              Where to load configuration files from
23
24
25       --loglevel LOGLEVEL
26              Python logging level, e.g. debug, info, error
27
28
29       --forked-from CLONE_URL
30              Specify that this git clone directory is a  dist-git  repository
31              fork.  If  used,  the  default  clone  url  detection  from  the
32              .git/config file is disabled and CLONE_URL is used instead. This
33              specified  CLONE_URL is used to detect the appropriate lookaside
34              cache pattern to download the sources.
35
36

ACTIONS

38       copr-distgit-client sources
39              Download sources from the lookaside cache
40
41       copr-distgit-client srpm
42              Generate a source RPM
43
44

COMMAND 'copr-distgit-client sources'

46       usage: copr-distgit-client sources [-h]
47
48       Using the 'url' .git/config, detect where the right  DistGit  lookaside
49       cache exists, and download the corresponding source files.
50
51

COMMAND 'copr-distgit-client srpm'

53       usage: copr-distgit-client srpm [-h] [--outputdir OUTPUTDIR]
54                                       [--mock-chroot MOCK_CHROOT] [--dry-run]
55
56       Generate  a  source  RPM  from the downloaded source files by 'sources'
57       command, please run 'sources' first.
58
59

OPTIONS 'copr-distgit-client srpm'

61       --outputdir OUTPUTDIR
62              Where to store the resulting source RPM
63
64
65       --mock-chroot MOCK_CHROOT
66              Generate the SRPM in mock buildroot instead of on host. The  ar‐
67              gument is passed down to mock as the 'mock -r|--root' argument.
68
69
70       --dry-run
71              Don't  produce  the  SRPM, just print the command which would be
72              otherwise called
73
74

AUTHORS

76       Copr Team
77       copr-team@redhat.com
78
79

DISTRIBUTION

81       The   latest   version    of    Copr    may    be    downloaded    from
82https://github.com/fedora-copr/copr
83
84
85
86Copr                              2023-01-25            COPR-DISTGIT-CLIENT(1)
Impressum