blob: ef4d5ded8251aa4913397511a47ebae8590e869d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "DNF4-COPR" "8" "Apr 24, 2024" "4.7.0" "dnf-plugins-core"
.SH NAME
dnf4-copr \- DNF copr Plugin
.sp
Work with Copr & Playground repositories on the local system.
.INDENT 0.0
.IP \(bu 2
The \fBcopr\fP command is used to add or remove Copr repositories to the local system
.IP \(bu 2
The \fBplayground\fP is used to enable or disable the Playground repository
.UNINDENT
.SH SYNOPSIS
.sp
\fBdnf copr [enable|disable|remove|list|search] <parameters>\fP
.sp
\fBdnf playground [enable|disable|upgrade]\fP
.SH ARGUMENTS (COPR)
.INDENT 0.0
.TP
.B \fBenable name/project [chroot]\fP
Enable the \fBname/project\fP Copr repository with the optional \fBchroot\fP\&.
.TP
.B \fBdisable name/project\fP
Disable the \fBname/project\fP Copr repository.
.TP
.B \fBremove name/project\fP
Remove the \fBname/project\fP Copr repository.
.TP
.B \fBlist \-\-installed\fP
List installed Copr repositories (default).
.TP
.B \fBlist \-\-enabled\fP
List enabled Copr repositories.
.TP
.B \fBlist \-\-disabled\fP
List disabled Copr repositories.
.TP
.B \fBlist \-\-available\-by\-user=name\fP
List available Copr repositories for a given \fBname\fP\&.
.TP
.B \fBsearch project\fP
Search for a given \fBproject\fP\&.
.TP
.B \fBenable hub/name/project\fP
Enable the \fBname/project\fP Copr repository from the specified Copr \fBhub\fP,
Hub is be specified either by its hostname (eg. \fIcopr.fedorainfracloud.org\fP)
or by an ID that\(aqs defined in a configuration file.
.UNINDENT
.SH OPTIONS (COPR)
.sp
All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
.INDENT 0.0
.TP
.B \fB\-\-hub Copr\fP
Specify a Copr hub to use. Default is the Fedora Copr: \fBhttps://copr.fedorainfracloud.org\fP\&.
.UNINDENT
.SH CONFIGURATION (COPR)
.sp
\fB/etc/dnf/plugins/copr.conf\fP
\fB/etc/dnf/plugins/copr.d/\fP
\fB/usr/share/dnf/plugins/copr.vendor.conf\fP
.INDENT 0.0
.TP
.B Configuration file should contain a section for each hub, each section having \fBhostname\fP
(mandatory), \fBprotocol\fP (default \fBhttps\fP) and \fBport\fP (default \fB443\fP) parameters.:
.INDENT 7.0
.INDENT 3.5
.sp
.nf
.ft C
[fedora]
hostname = copr.fedorainfracloud.org
protocol = https
port = 443
.ft P
.fi
.UNINDENT
.UNINDENT
.UNINDENT
.sp
There is also a vendor configuration that allows a vendor to specify the distro ID that copr should use by default.
This is useful for vendors that want to use Copr for their own distro. The vendor configuration is in
\fB/usr/share/dnf/plugins/copr.vendor.conf\fP (optional) or \fB/etc/dnf/plugins/copr.conf\fP:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
[main]
distribution = fedora
releasever = 37
.ft P
.fi
.UNINDENT
.UNINDENT
.SH ARGUMENTS (PLAYGROUND)
.INDENT 0.0
.TP
.B \fBenable\fP
Enable the Playground repository.
.TP
.B \fBdisable\fP
Disable the Playground repository.
.TP
.B \fBupgrade\fP
Upgrade the Playground repository settings (same as \fBdisable\fP and then \fBenable\fP).
.UNINDENT
.SH OPTIONS (PLAYGROUND)
.sp
All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
.SH EXAMPLES
.INDENT 0.0
.TP
.B \fBcopr enable rhscl/perl516 epel\-6\-x86_64\fP
Enable the \fBrhscl/perl516\fP Copr repository, using the \fBepel\-6\-x86_64\fP chroot.
.TP
.B \fBcopr disable rhscl/perl516\fP
Disable the \fBrhscl/perl516\fP Copr repository
.TP
.B \fBcopr list \-\-available\-by\-user=rita\fP
List available Copr projects for user \fBrita\fP\&.
.TP
.B \fBcopr search tests\fP
Search for Copr projects named \fBtests\fP\&.
.UNINDENT
.SH AUTHOR
See AUTHORS in your Core DNF Plugins distribution
.SH COPYRIGHT
2024, Red Hat, Licensed under GPLv2+
.\" Generated by docutils manpage writer.
.
|