repomd format

Duncan Mac-Vicar Prett <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Organization SuSE Linux Products GmbH
Message-ID <[email protected]>
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>[email protected]</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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.