1DNF-REPODIFF(8) dnf-plugins-core DNF-REPODIFF(8)
2
3
4
6 dnf-repodiff - DNF repodiff Plugin
7
8 Display a list of differences between two or more repositories
9
11 dnf repodiff [<options>]
12
14 repodiff is a program which will list differences between two sets of
15 repositories. Note that by default only source packages are compared.
16
17 Options
18 All general DNF options are accepted, see Options in dnf(8) for de‐
19 tails.
20
21 --repo-old=<repoid>, -o <repoid>
22 Add a <repoid> as an old repository. It is possible to be used
23 in conjunction with --repofrompath option. Can be specified mul‐
24 tiple times.
25
26 --repo-new=<repoid>, -n <repoid>
27 Add a <repoid> as a new repository. Can be specified multiple
28 times.
29
30 --archlist=<arch>, -a <arch>
31 Add architectures to change the default from just comparing
32 source packages. Note that you can use a wildcard "*" for all
33 architectures. Can be specified multiple times.
34
35 --size, -s
36 Output additional data about the size of the changes.
37
38 --compare-arch
39 Normally packages are just compared based on their name, this
40 flag makes the comparison also use the arch. So foo.noarch and
41 foo.x86_64 are considered to be a different packages.
42
43 --simple
44 Output a simple one line message for modified packages.
45
46 --downgrade
47 Split the data for modified packages between upgraded and down‐
48 graded packages.
49
51 Compare source pkgs in two local repos:
52
53 dnf repodiff --repofrompath=o,/tmp/repo-old --repofrompath=n,/tmp/repo-new --repo-old=o --repo-new=n
54
55 Compare x86_64 compat. binary pkgs in two remote repos, and two local
56 one:
57
58 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
59
60 Compare x86_64 compat. binary pkgs, but also compare architecture:
61
62 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
63
65 See AUTHORS in your Core DNF Plugins distribution
66
68 2023, Red Hat, Licensed under GPLv2+
69
70
71
72
734.4.3 Oct 06, 2023 DNF-REPODIFF(8)