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 --compress-type <compress-type>
33 Specify which compression type to use: compat (default), xz (may
34 not be available), gz, bz2.
35
36
37 -s, --checksum <sumtype>
38 Specify the checksum type to use.
39
40
41 --unique-md-filenames
42 Include the file's checksum in the metadata filename, helps with
43 HTTP caching (default).
44
45
46 --simple-md-filenames
47 Do not include the file's checksum in the metadata filename.
48
49
50 --version
51 Output version.
52
53
54 -h --help
55 Show help menu.
56
57
59 $ modifyrepo --mdtype=newmd metadata.xml /repository/repodata
60 Wrote: /repository/repodata/metadata.xml.gz
61 type = newmd
62 location = repodata/metadata.xml.gz
63 checksum = 1d7ee93db2964e7f85e07ec19b3204591da1050c
64 timestamp = 1196716296.0
65 open-checksum = 824d936dc7dfff029379797b311af0cc66af4115
66 Wrote: /repository/repodata/repomd.xml
67
68
70 createrepo [4m(8)
71
72
74 Luke Macken <lmacken@redhat.com>
75 Seth Vidal <skvidal@fedoraproject.org>
76
77
79 Any bugs which are found should be emailed to the mailing list: rpm-
80 metadata@lists.baseurl.org
81
82
83
84Luke Macken 2007 Dec 3 modifyrepo(1)