1COPR-DISTGIT-CLIENT(1)      General Commands 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

COMMAND 'copr-distgit-client sources'

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

COMMAND 'copr-distgit-client srpm'

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

OPTIONS 'copr-distgit-client srpm'

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

AUTHORS

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

DISTRIBUTION

80       The   latest   version    of    Copr    may    be    downloaded    from
81https://pagure.io/copr/copr
82
83
84
85                                    Manual              COPR-DISTGIT-CLIENT(1)
Impressum