Mailinglist Archive: zypp-devel (42 mails)

< Previous Next >
Re: [zypp-devel] reading file lists from metadata
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Fri, 27 Apr 2007 13:30:58 +0200
  • Message-id: <20070427113058.GA17775@xxxxxxxxxxxxx>
* Jiri Srain <jsrain@xxxxxxx> [Apr 27. 2007 13:26]:
> I'm not sure I understand the question properly, but is the possiblity that 
> the packages are in different files in different order the answer for you?
> 
> Another quetsion: How will libxml behave if you parse three files 
> simulatenously? (primary.xml, other.xml, filelist.xml)

Huh ? Why should one do that ?
And why is order important ?

Parse primary first, read one package, write one package.
Then other.
Then filelist.

If there is a package in primary with no data in other or filelist, it
will have incomplete attributes. This shouldn't harm.

If there is a package in either other or filelist, but without
representation in primary, log a warning and continue.


Klaus
-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References