Mailinglist Archive: zypp-devel (42 mails)
| < Previous | Next > |
Re: [zypp-devel] reading file lists from metadata
- From: Jiri Srain <jsrain@xxxxxxx>
- Date: Fri, 27 Apr 2007 13:22:21 +0200
- Message-id: <200704271322.24776.jsrain@xxxxxxx>
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)
Jiri
Dne pátek 27 duben 2007 13:16 Jan Kupec napsal(a):
> 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).
>
> jano
--
Regards,
Jiri Srain
YaST Team Leader
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: jsrain@xxxxxxx
Lihovarska 1060/12 tel: +420 284 028 959
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
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)
Jiri
Dne pátek 27 duben 2007 13:16 Jan Kupec napsal(a):
> 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).
>
> jano
--
Regards,
Jiri Srain
YaST Team Leader
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: jsrain@xxxxxxx
Lihovarska 1060/12 tel: +420 284 028 959
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
| < Previous | Next > |