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

2009-08-26 Thread Seth Vidal
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

[Yum-devel] [PATCH 2/2] add _search_primary_files() to sqliteSack and make it handle glob'd filenames but not glob'd DIRECTORY names properly for the normal-ish cases.

2009-08-26 Thread Seth Vidal
This should get _search(), searchPrco, and searchFiles() on roughly the same page. future note: we need to make a lot of this die in a fire. --- yum/sqlitesack.py | 63 + 1 files changed, 25 insertions(+), 38 deletions(-) diff --git a/yum/sq

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

2009-08-26 Thread Seth Vidal
On Wed, 26 Aug 2009, James Antill wrote: 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

Re: [Yum-devel] First "usable" yum history patches

2009-08-26 Thread Seth Vidal
On Tue, 25 Aug 2009, James Antill wrote: Ok, here's the first look at the history stuff. I've tested it a bit, and it seems to provide roughly the correct functionality. Here are the known issues in rough order of importance: Overall this patch set looks good A few comments: repeat and un

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

2009-08-26 Thread James Antill
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 n

Re: [Yum-devel] Goal-like things for next few months

2009-08-26 Thread Tim Lauridsen
On 08/25/2009 10:17 PM, Seth Vidal wrote: Following up on some of these 10 months down the road: On Thu, 13 Nov 2008, Seth Vidal wrote: A set of things I want to work on as Fedora starts into the F11 cycle. Things followed by question marks are questionable. Yum: - keyword metadata searchi

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

2009-08-26 Thread Seth Vidal
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

Re: [Yum-devel] [Fwd: Why yum do not continue partial metadata downloads?]

2009-08-26 Thread Hedayat Vatankhah
/*Seth Vidal */ wrote on ‫سه‌شنبه ۲۵ اوت ۰۹، ۲۰:۰۱:۵۷‬: On Tue, 25 Aug 2009, Hedayat Vatnakhah wrote: Hi all, Currently yum continues partial downloads when downloading packages, but not for repository meta-data (e.g. primary.sqlite.bz2). It would be really nice if this feature is added