[Yum-devel] [PATCH] correct searchFiles for primary file search

James Antill james at fedoraproject.org
Wed Aug 26 13:37:55 UTC 2009


On Wed, 2009-08-26 at 07:38 -0400, Seth Vidal wrote:
> when we performing searchFiles() against the sqlitesacks we were not checking
> if the file names were from the set of files that the primarydb has already.
> So we were downloading the filelistsdb in a bunch of cases where we simply
> didn't need to. This fixes the simple case of: there are no globs and the
> file is a primary. It also marks a fixme to be finished that there are
> globs but the globs matches up to a primarydb file. I'll get to that one shortly.
> ---
>  yum/sqlitesack.py |   24 ++++++++++++++++++++++++
>  1 files changed, 24 insertions(+), 0 deletions(-)

 ACK.
 Although I assume this means the bottom of _search() can/should die, as
should the bit in searchPrco() ... so can you do that too?

-- 
James Antill <james at fedoraproject.org>
Fedora


More information about the Yum-devel mailing list