Re: repomd.xml product matching

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <1224514612.25634.28.camel@rosebud>
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
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.