1repodiff(1) repodiff(1)
2
3
4
6 repodiff - list differences between two or more Yum repositories
7
9 repodiff --old=old_repo_baseurl --new=new_repo_baseurl
10
12 repodiff is a program which will list differences between two sets of
13 repositories. Note that by default only source packages are compared.
14
16 --old, -o
17 Add a repo. as an old repo. Note that if you prefix the url with
18 "mirror:" then the following url is treated as a mirror and not
19 a baseurl.
20
21 --new, -n
22 Add a repo. as an new repo. Note that if you prefix the url with
23 "mirror:" then the following url is treated as a mirror and not
24 a baseurl.
25
26 --archlist, -a
27 Add architectures to change the default from just comparing
28 source packages. Note that if you want the same as a native
29 "x86_64" architecture machine you just need to pass "x86_64"
30 (this is different from earlier versions where you needed to
31 specify "x86_64,athlon,i686,i586,i486,i386,noarch" and you still
32 got "src").
33
34 --size, -s
35 Output additional data about the size of the changes.
36
37 --compare-arch
38 Normally packages are just compared based on their name, this
39 flag makes the comparison also use the arch. So foo.i386 and
40 foo.x86_64 are different.
41
42 --simple
43 Output a simple one line message for modified packages.
44
45 --downgrade
46 Split the data for modified packages between upgraded and down‐
47 graded packages.
48
50 Compare source pkgs in two local repos:
51 repodiff --old=/tmp/repo-old --new=/tmp/repo-new
52
53 Compare x86_64 compat. binary pkgs in two remote repos, and two local
54 one:
55 repodiff -a x86_64 --old=http://example.com/repo1-old
56 --old=/tmp/repo-old --new=http://example.com/repo1-new
57 --new=/tmp/repo-new
58
59 Compare x86_64 compat. binary pkgs, but also compare arch:
60 repodiff -a x86_64 --compare-arch --old=http://exam‐
61 ple.com/repo1-old --old=/tmp/repo-old --new=http://exam‐
62 ple.com/repo1-new --new=/tmp/repo-new
63
64 Compare two releases of Fedora (15 => 16):
65 repodiff --old='mirror:https://mirrors.fedoraproject.org/met‐
66 alink?repo=fedora-source-15&arch=i386' --new='mir‐
67 ror:https://mirrors.fedoraproject.org/metalink?repo=fedora-
68 source-16&arch=i386' --size --simple --downgrade
69
71 yum.conf [4m(5)
72 http://yum.baseurl.org/
73
74
76 See the Authors file included with this program.
77
78
80 There are of course no bugs, but should you find any, you should first
81 consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
82 unsuccessful in finding a resolution contact the mailing list: yum-
83 devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
84 for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report
85 for all other bugs.
86
87
88
89
90James Antill 21 October 2008 repodiff(1)