Debian Codegraph @

upstream/opensuse-tumbleweed/man8/dnf4-copr.8

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