Debian Codegraph @

upstream/fedora-44/man8/dnf4-repodiff.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-REPODIFF" "8" "Feb 25, 2026" "4.10.1" "dnf-plugins-core"
32 .SH NAME
33 dnf4-repodiff \- DNF repodiff Plugin
34 .sp
35 Display a list of differences between two or more repositories
36 .SH SYNOPSIS
37 .sp
38 \fBdnf repodiff [<options>]\fP
39 .SH DESCRIPTION
40 .sp
41 \fIrepodiff\fP is a program which will list differences between two sets of repositories. Note that by default only source packages are compared.
42 .SS Options
43 .sp
44 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
45 .INDENT 0.0
46 .TP
47 .B \fB\-\-repo\-old=<repoid>, \-o <repoid>\fP
48 Add a \fB<repoid>\fP as an old repository. It is possible to be used in conjunction with \fB\-\-repofrompath\fP option. Can be specified multiple times.
49 .TP
50 .B \fB\-\-repo\-new=<repoid>, \-n <repoid>\fP
51 Add a \fB<repoid>\fP as a new repository. Can be specified multiple times.
52 .TP
53 .B \fB\-\-archlist=<arch>, \-a <arch>\fP
54 Add architectures to change the default from just comparing source packages. Note that you can use a wildcard \(dq*\(dq for all architectures. Can be specified multiple times.
55 .TP
56 .B \fB\-\-size, \-s\fP
57 Output additional data about the size of the changes.
58 .TP
59 .B \fB\-\-compare\-arch\fP
60 Normally packages are just compared based on their name, this flag makes the comparison also use the arch. So foo.noarch and foo.x86_64 are considered to be a different packages.
61 .TP
62 .B \fB\-\-simple\fP
63 Output a simple one line message for modified packages.
64 .TP
65 .B \fB\-\-downgrade\fP
66 Split the data for modified packages between upgraded and downgraded packages.
67 .UNINDENT
68 .SH EXAMPLES
69 .sp
70 Compare source pkgs in two local repos:
71 .INDENT 0.0
72 .INDENT 3.5
73 .sp
74 .EX
75 dnf repodiff \-\-repofrompath=o,/tmp/repo\-old \-\-repofrompath=n,/tmp/repo\-new \-\-repo\-old=o \-\-repo\-new=n
76 .EE
77 .UNINDENT
78 .UNINDENT
79 .sp
80 Compare x86_64 compat. binary pkgs in two remote repos, and two local one:
81 .INDENT 0.0
82 .INDENT 3.5
83 .sp
84 .EX
85 dnf repodiff \-\-repofrompath=o,http://example.com/repo\-old \-\-repofrompath=n,http://example.com/repo\-new \-\-repo\-old=o \-\-repo\-new=n \-\-archlist=x86_64
86 .EE
87 .UNINDENT
88 .UNINDENT
89 .sp
90 Compare x86_64 compat. binary pkgs, but also compare architecture:
91 .INDENT 0.0
92 .INDENT 3.5
93 .sp
94 .EX
95 dnf repodiff \-\-repofrompath=o,http://example.com/repo\-old \-\-repofrompath=n,http://example.com/repo\-new \-\-repo\-old=o \-\-repo\-new=n \-\-archlist=x86_64 \-\-compare\-arch
96 .EE
97 .UNINDENT
98 .UNINDENT
99 .SH Author
100 See AUTHORS in your Core DNF Plugins distribution
101 .SH Copyright
102 2014, Red Hat, Licensed under GPLv2+
103 .\" End of generated man page.