[Rpm-metadata] repomd.xml product matching

Duncan Mac-Vicar Prett dmacvicar at suse.de
Wed Sep 17 08:35:16 UTC 2008


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:
>
> <distro>
>  <id></id>
>  ...
> </distro>
Note that CPE already defines a xml representation, however it is too 
complex for our purposes:

<?xml version="1.0" encoding="UTF-8"?>
<cpe:platform-specification xmlns:cpe="http://cpe.mitre.org/language/2.0">
<cpe:platform id="123">
<cpe:title>Microsoft Windows XP with Adobe Reader</cpe:title>
<cpe:logical-test operator="AND" negate="FALSE">
<cpe:fact-ref name="cpe:/o:microsoft:windows-nt:xp" />
<cpe:fact-ref name="cpe:/a:adobe:reader" />
</cpe:logical-test>
</cpe:platform>
</cpe:platform-specification>

However it could be inspiration to use cpe:name tag instead of id to 
make it more clear.

Duncan




More information about the Rpm-metadata mailing list