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@novell.com 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org