[Yum-devel] Sqlite improvements

seth vidal skvidal at phy.duke.edu
Mon Jan 24 19:08:24 UTC 2005


> Just a quick follow up that I have implemented a first version of
> filelists.xml now. Only one drawback: its very slow at the moment,
> maybe this can be resolved (partialy) by using the same trick that rpm
> uses to store file info in its internal database: splitting filenames
> up into two different tables: a directory and a filename table and to
> join these via a key. I'll try if this speeds things up a bit, if not
> maybe we should consider a hybrid aproach that only stores primary
> metadata in sqlite and uses general pickles for filelists metadata.
> 

So a neat side effect that comes out of YumAvailablePackage and the
YumLocalPackage subclasses is the ability to write, for example, a
YumRHNPackage.

It's not something I think anyone here will want to write but maybe
folks at red hat might be interested in it for using yum to access
packages available in RHN via xml-rpc.

-sv





More information about the Yum-devel mailing list