1copr-distgit-client(1) General Commands Manual copr-distgit-client(1)
2
3
4
6 copr-distgit-client
7
9 copr-distgit-client [-h] [--configdir CONFIGDIR] [--loglevel LOGLEVEL]
10 {sources,srpm} ...
11
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 .git/config clone URL into the corre‐
16 sponding dist-git instance configuration.
17
19 --configdir CONFIGDIR
20 Where to load configuration files from
21
22
23 --loglevel LOGLEVEL
24 Python logging level, e.g. debug, info, error
25
26
27 Sub-commands
28 copr-distgit-client sources
29 Download sources from the lookaside cache
30
31 copr-distgit-client srpm
32 Generate a source RPM
33
35 usage: copr-distgit-client sources [-h]
36
37 Using the 'url' .git/config, detect where the right DistGit lookaside
38 cache exists, and download the corresponding source files.
39
40
41
42
44 usage: copr-distgit-client srpm [-h] [--outputdir OUTPUTDIR]
45 [--mock-chroot MOCK_CHROOT] [--dry-run]
46
47 Generate a source RPM from the downloaded source files by 'sources'
48 command, please run 'sources' first.
49
50
51
52 --outputdir OUTPUTDIR
53 Where to store the resulting source RPM
54
55
56 --mock-chroot MOCK_CHROOT
57 Generate the SRPM in mock buildroot instead of on host. The
58 argument is passed down to mock as the 'mock -r|--root' argu‐
59 ment.
60
61
62 --dry-run
63 Don't produce the SRPM, just print the command which would be
64 otherwise called
65
66
68 Copr was written by Copr Team <copr-team@redhat.com>.
69
71 The latest version of Copr may be downloaded from
72 ⟨https://pagure.io/copr/copr⟩
73
74
75
76 Manual copr-distgit-client(1)