Mailinglist Archive: zypp-devel (40 mails)

< Previous Next >
Re: [zypp-devel] reading file lists from metadata
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 27 Apr 2007 13:25:48 +0200
  • Message-id: <20070427112548.GA14778@xxxxxxx>
On Fri, Apr 27, Jan Kupec wrote:

> I noticed that now we read filenames from <file> tags of YUM metadata in
> a separate parser run (see YUMSourceImpl::providePackages() -
> YUMFileListParser, YUMPrimaryParser, ...).
> 
> Is there any particular reason for this?
> 
> I intend to read all the metadata in one run and insert it one chunk
> after another into the db (e.g. read one <package> after another and
> store it using CacheStore::appendResolvable() with all available metadata).

As the data for one package are spread across multiple files, you had to 
be shure that all files contain the packages in the same order. 

IMO you must should not assume that.

-- 

cu,
    Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862  27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres             YaST Development            ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF:  Markus Rex,  HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

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

< Previous Next >
List Navigation
References