[Rpm-metadata] Debian metadata (was Re: format misc)

Darrin Thompson darrint at progeny.com
Tue Oct 7 21:07:39 UTC 2003


Jeff Licquia wrote:
> I'll also point out that Darrin's namespace proposal would allow Debian
> people to add <orentry> at will without disrupting the RPM side at all.
> 

You'd have to think carefully about how you structure it. This probably 
wouldn't work:

<depends>
   <deb:orentry>
     <entry name="blah"/>
     <entry name="second-alternative"/>
   <deb:orentry>
</depends>

If a client who doesn't understand the debian namespace ignores orentry 
then they either have two entries or none at all. It depends on how you 
define "ignore".

Personally I like defining ignore as "ignore the attribute or element 
and all the element's children."

Perhaps a better solution would be:

<depends>
   <entry name="blah"/>
   <deb:orentry>
     <entry name="second-alternative"/>
   </deb:orentry>
</depends>

-- 
Darrin Thompson
Progeny





More information about the Rpm-metadata mailing list