1modifyrepo(1) modifyrepo(1)
2
3
4
6 modifyrepo - Modify a repomd (xml-rpm-metadata) repository
7
8
10 modifyrepo [options] <input metadata> <output repodata>
11
13 modifyrepo is a program that allows you to insert arbitrary metadata
14 into a repomd (xml-based rpm metadata) repository.
15
16
18 --mdtype <mdtype>
19 Specify datatype of the metadata. If not specified, datatype
20 will be derived from the filename.
21
22
23 --remove
24 Remove specified file from repodata.
25
26
27 --compress
28 Compress the new repodata before adding it to the repo. This is
29 used by default.
30
31
32 --no-compress
33 Do not compress the new repodata before adding it to the repo.
34
35
36 --compress-type <compress-type>
37 Specify which compression type to use: gz (default), xz (may not
38 be available), bz2.
39
40
41 -s, --checksum <sumtype>
42 Specify the checksum type to use.
43
44
45 --unique-md-filenames
46 Include the file's checksum in the metadata filename, helps with
47 HTTP caching (default).
48
49
50 --simple-md-filenames
51 Do not include the file's checksum in the metadata filename.
52
53
54 --version
55 Output version.
56
57
58 -h --help
59 Show help menu.
60
61
63 $ modifyrepo --mdtype=newmd metadata.xml /repository/repodata
64 Wrote: /repository/repodata/metadata.xml.gz
65 type = newmd
66 location = repodata/metadata.xml.gz
67 checksum = 1d7ee93db2964e7f85e07ec19b3204591da1050c
68 timestamp = 1196716296.0
69 open-checksum = 824d936dc7dfff029379797b311af0cc66af4115
70 Wrote: /repository/repodata/repomd.xml
71
72
74 createrepo [4m(8)
75
76
78 Luke Macken <lmacken@redhat.com>
79 Seth Vidal <skvidal@fedoraproject.org>
80
81
83 Any bugs which are found should be emailed to the mailing list: rpm-
84 metadata@lists.baseurl.org
85
86
87
88Luke Macken 2007 Dec 3 modifyrepo(1)