[Rpm-metadata] repomd.xml product matching

seth vidal skvidal at fedoraproject.org
Mon Oct 20 14:56:52 UTC 2008


On Wed, 2008-09-17 at 10:28 +0200, Duncan Mac-Vicar Prett wrote:
> Hi, this is the thread to discuss the repository metadata to specify 
> which products this repository was created for, and for what purpose.
> 
> On the call, it was suggested to use:
> 



I've been playing around a bit and here is some other options:

<repomd xmlns="http://linux.duke.edu/metadata/repo">
  <revision>timestamp_or_arbitrary_user_supplied_string</revision>
  <tags>
    <content>fedora</content>
    <content>i386</content>
    <content>other string</content>
    <distro cpeid="cpe://o:fedora_project:fedora:9">Fedora 9</distro>
  </tags>



<revision> was suggested by some folks at dreamworks so they could refer
to a definitive tag for each repo
<tags> are obvious - <content> tags for the packages in the repo
                     <distro> tag uses the cpeid as attrib + human
readable string as content

What do you think?

-sv




More information about the Rpm-metadata mailing list