[Rpm-metadata] repomd format

Duncan Mac-Vicar Prett dmacvicar at suse.de
Tue Nov 21 16:54:39 UTC 2006


Hi guys.

Our current repomd format (with some extensions) is like:

<repomd>
  <data type="patches">
    <location href="repodata/patches.xml"/>
    <checksum type="sha">faf479e9f961bafabcab2c18eb60687de2b0a569</checksum>
    <timestamp>1164040210</timestamp>
    <open-checksum 
type="sha">faf479e9f961bafabcab2c18eb60687de2b0a569</open-checksum>
  </data>
</repomd>

Fedora uses the same.

However, if you go to: 
http://linux.duke.edu/projects/metadata/dtd/repomd.dtd

you realize the format is like:

<repository>
<name>some name for human consumption</name>
<contact>somedude at someplace.org</contact>
<description>some text description</description>
<key type="gpg">http://path/to/my/gpg-pubkey</key>
<key type="gpg">http://path/to/his/gpg-pubkey</key>
<metadata>
<data type="primary" timestamp="1068793003" 
href="relative/path/to/primary.xml"/>
<data type="filelist" timestamp="somenumber" 
href="relative/path/to/filelists.xml"/>
<data type="other" timestamp="somenumber" href="relative/path/to/other.xml"/>
<data type="groups" timestamp="somenumber" 
href="relative/path/to/groups.xml"/>
</metadata>
</repository>

When did it change?

Duncan



More information about the Rpm-metadata mailing list