[Rpm-metadata] items

Daniel Veillard veillard at redhat.com
Sat Aug 9 08:39:29 UTC 2003


On Fri, Aug 08, 2003 at 09:01:43PM -0400, seth vidal wrote:
> > You that particular piece of information is somewhat distributed between
> > different vendors (throwing project websites into that).  Would it be 
> > possible (or even desirable) to have people who create the rpms have 
> > additional metadata than can be picked by the installer program if it so
> > chooses.  This way RH, could have their information on their errata in 
> > some standard location, and other vendors/projects could do the same.
> > You would still want to define the format so that any installer could pick
> > this up and use it.  The main problem I see with my idea, is how do you 
> > communicate where to find this information.  That I am not sure about.
[...]
> 
> I think that it is fine information for a vendor/group to add into the
> namespaces in the metadata if they so choose.
> 
> and maybe Daniel has a point - it might be more worthwhile to have the
> core metadata and a unique identifier in the main file and then have a
> secondary file that can be there for any other program's additional
> needs.

  Okay my concern is about being able to develop an initial but extensible
core of metadata. Once that set has been formally defined, generating an
XML serialization and minimal tools for validation (DTD or RNG schema) is 
easy for me, and in parallel we can try to get a couple of implementations.
Then if this work roll this out and give directives for extensions of the
core set. To me extensions can be:
   - inside as part of the "metadata" file(s) [ Adrian made a good case
     why multiple files are preferable]
   - outside as separate files.
 
 Then if one set of extension clearly emerge this can lead to version 2
addition, but believe me it's better to keep the first version dead simple
to get easy deployment, mindshare and a good experience to build on.

  The list sent yesterday looked okay to me, at least for the main 
metadata file that we expect to need on most dependancy resolution.
I think we need to define it directly in term of serialization of header
values, the hardest part will probably be about encoding of strings,
I really suggest UTF-8 at the XML level for a variety of reasons.

Can we also start define the extra ones, the file file set probably need
to be optimized a bit to avoid tons of redundant strings. The provides
set sounds something we really need to define precisely, Adrian or
someone else can start defining it.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



More information about the Rpm-metadata mailing list