Re: RPM Objects 0.1

Tor Hveem <[email protected]> Wed, 21 Apr 2004 21:22:42 +0200
Newsgroups gmane.linux.redhat.rpm.python
Message-ID <[email protected]>
Onsdag 21. april 2004 21:07 skreiv seth vidal:
> On Wed, 2004-04-21 at 14:54, Tor Hveem wrote:
> > Onsdag 21. april 2004 05:31 skreiv Adam T. Gautier:
> > > Does anyone know if there is any work in the area of defining an XML
> > > standard for RPM metadata?
> >
> > You also have the software updater program swup
> > <URL:http://swup.trustix.org/> which uses rpm metadata in xml generated
> > by rdfgen, a comononent in swup.
>
> To make sure I have this right - you're generating a filelists and a
> packages list and an rdf for each package?

True. And a file for every resource (rpm resources,libc.so.6(GLIBC__2.0).rdf).

> I read through the metadata format - the rdf - for the packages - have
> you looked at the metadata format that I posted before? What did you
> think of the xml that was generated there? In what ways do you think the
> rdf format excels?

They seem to contain much of the same information that rdfgen produces at 
least. About why the rdf format was chosen I don't know, because this was 
designed before I joined this project. You might want to take a look at the 
files generated, 
http://http.trustix.org/pub/trustix/releases/trustix-2.1/i586/trustix/rdfs/

> I'm not interested in arguing formats but I'd like to know ways in which
> the one I've been working on can be better done.

I wasn't trying to argue that rdfgen was better, but this project is fairly 
stable. It is used as the only updating tool in the Trustix Secure Linux 
distribution. I'm also using it with great success on Mandrake Cooker as my 
updating tool. 

--
Tor Hveem