| 1 |
.\" Man page generated from reStructuredText. |
| 2 |
. |
| 3 |
. |
| 4 |
.nr rst2man-indent-level 0 |
| 5 |
. |
| 6 |
.de1 rstReportMargin |
| 7 |
\\$1 \\n[an-margin] |
| 8 |
level \\n[rst2man-indent-level] |
| 9 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 10 |
- |
| 11 |
\\n[rst2man-indent0] |
| 12 |
\\n[rst2man-indent1] |
| 13 |
\\n[rst2man-indent2] |
| 14 |
.. |
| 15 |
.de1 INDENT |
| 16 |
.\" .rstReportMargin pre: |
| 17 |
. RS \\$1 |
| 18 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 19 |
. nr rst2man-indent-level +1 |
| 20 |
.\" .rstReportMargin post: |
| 21 |
.. |
| 22 |
.de UNINDENT |
| 23 |
. RE |
| 24 |
.\" indent \\n[an-margin] |
| 25 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 26 |
.nr rst2man-indent-level -1 |
| 27 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 28 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 29 |
.. |
| 30 |
.TH "DNF4-REPODIFF" "8" "Sep 27, 2025" "4.10.1" "dnf-plugins-core" |
| 31 |
.SH NAME |
| 32 |
dnf4-repodiff \- DNF repodiff Plugin |
| 33 |
.sp |
| 34 |
Display a list of differences between two or more repositories |
| 35 |
.SH SYNOPSIS |
| 36 |
.sp |
| 37 |
\fBdnf repodiff [<options>]\fP |
| 38 |
.SH DESCRIPTION |
| 39 |
.sp |
| 40 |
\fIrepodiff\fP is a program which will list differences between two sets of repositories. Note that by default only source packages are compared. |
| 41 |
.SS Options |
| 42 |
.sp |
| 43 |
All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details. |
| 44 |
.INDENT 0.0 |
| 45 |
.TP |
| 46 |
.B \fB\-\-repo\-old=<repoid>, \-o <repoid>\fP |
| 47 |
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. |
| 48 |
.TP |
| 49 |
.B \fB\-\-repo\-new=<repoid>, \-n <repoid>\fP |
| 50 |
Add a \fB<repoid>\fP as a new repository. Can be specified multiple times. |
| 51 |
.TP |
| 52 |
.B \fB\-\-archlist=<arch>, \-a <arch>\fP |
| 53 |
Add architectures to change the default from just comparing source packages. Note that you can use a wildcard “*” for all architectures. Can be specified multiple times. |
| 54 |
.TP |
| 55 |
.B \fB\-\-size, \-s\fP |
| 56 |
Output additional data about the size of the changes. |
| 57 |
.TP |
| 58 |
.B \fB\-\-compare\-arch\fP |
| 59 |
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. |
| 60 |
.TP |
| 61 |
.B \fB\-\-simple\fP |
| 62 |
Output a simple one line message for modified packages. |
| 63 |
.TP |
| 64 |
.B \fB\-\-downgrade\fP |
| 65 |
Split the data for modified packages between upgraded and downgraded packages. |
| 66 |
.UNINDENT |
| 67 |
.SH EXAMPLES |
| 68 |
.sp |
| 69 |
Compare source pkgs in two local repos: |
| 70 |
.INDENT 0.0 |
| 71 |
.INDENT 3.5 |
| 72 |
.sp |
| 73 |
.EX |
| 74 |
dnf repodiff \-\-repofrompath=o,/tmp/repo\-old \-\-repofrompath=n,/tmp/repo\-new \-\-repo\-old=o \-\-repo\-new=n |
| 75 |
.EE |
| 76 |
.UNINDENT |
| 77 |
.UNINDENT |
| 78 |
.sp |
| 79 |
Compare x86_64 compat. binary pkgs in two remote repos, and two local one: |
| 80 |
.INDENT 0.0 |
| 81 |
.INDENT 3.5 |
| 82 |
.sp |
| 83 |
.EX |
| 84 |
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 |
| 85 |
.EE |
| 86 |
.UNINDENT |
| 87 |
.UNINDENT |
| 88 |
.sp |
| 89 |
Compare x86_64 compat. binary pkgs, but also compare architecture: |
| 90 |
.INDENT 0.0 |
| 91 |
.INDENT 3.5 |
| 92 |
.sp |
| 93 |
.EX |
| 94 |
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 |
| 95 |
.EE |
| 96 |
.UNINDENT |
| 97 |
.UNINDENT |
| 98 |
.SH AUTHOR |
| 99 |
See AUTHORS in your Core DNF Plugins distribution |
| 100 |
.SH COPYRIGHT |
| 101 |
2014, Red Hat, Licensed under GPLv2+ |
| 102 |
.\" Generated by docutils manpage writer. |
| 103 |
. |