1COPR-DISTGIT-CLIENT(1) Generated Python Manual COPR-DISTGIT-CLIENT(1)
2
3
4
6 copr-distgit-client
7
9 copr-distgit-client [-h] [--configdir CONFIGDIR] [--loglevel LOGLEVEL]
10 [--forked-from CLONE_URL] {sources,srpm,clone} ...
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 "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
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
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 copr-distgit-client clone
45 Clone package from a DistGit source
46
47
49 usage: copr-distgit-client sources [-h]
50
51 Using the 'url' .git/config, detect where the right DistGit lookaside
52 cache exists, and download the corresponding source files.
53
54
56 usage: copr-distgit-client srpm [-h] [--outputdir OUTPUTDIR]
57 [--mock-chroot MOCK_CHROOT] [--dry-run]
58
59 Generate a source RPM from the downloaded source files by 'sources'
60 command, please run 'sources' first.
61
62
64 --outputdir OUTPUTDIR
65 Where to store the resulting source RPM
66
67
68 --mock-chroot MOCK_CHROOT
69 Generate the SRPM in mock buildroot instead of on host. The ar‐
70 gument is passed down to mock as the 'mock -r|--root' argument.
71
72
73 --dry-run
74 Don't produce the SRPM, just print the command which would be
75 otherwise called
76
77
79 usage: copr-distgit-client clone [-h] [--dist-git DIST_GIT] package
80
81
82 package
83 Package name specification. For some DistGit instances this con‐
84 sists of multiple parts separated by slash, e.g. for
85 '--dist-git=fedora-copr' use
86
87
89 --dist-git DIST_GIT
90 The DistGit ID as configured in /etc/copr-distgit-client/
91
92
94 Copr Team
95 copr-team@redhat.com
96
97
99 The latest version of Copr may be downloaded from
100 ⟨https://github.com/fedora-copr/copr⟩
101
102
103
104Copr 2023-11-23 COPR-DISTGIT-CLIENT(1)