[Yum-devel] [PATCH][RFC] Optimizing SqliteSack
Tim Lauridsen
tim.lauridsen at googlemail.com
Thu Dec 20 11:18:24 UTC 2007
seth vidal wrote:
> On Tue, 2007-12-18 at 18:00 +0100, Florian Festi wrote:
>
>> I changed Package.hash to ._hash to avoid API clutter. Responsiveness in
>> file-resolutions shouldn't be affected by the ._files change. Filelists
>> aren't loaded anyway. Or are you talking about the searchFiles implementation?
>
> For people searching files the bad way (by iterating the filelists of
> all packages). I was just making sure we're not stepping on anything
> there.
>
I have implemented a gui filter in packagekit yum backend in the "Bad"
way :).
I am iterating over the the filelists for all packages looking for files
starting with '/usr/share/application/'.
It looks like it is still working with the current yum HEAD.
Any suggestion on how to look for '/usr/share/application/*.desktop' i a
good way.
Tim
More information about the Yum-devel
mailing list