[packagekit] yum: being naughty with SQL

Richard Hughes hughsient at gmail.com
Tue Jul 8 02:11:29 PDT 2008


On Mon, 2008-07-07 at 22:46 -0400, seth vidal wrote:
> On Mon, 2008-07-07 at 23:44 +0100, Richard Hughes wrote:
> > On Mon, 2008-07-07 at 13:26 -0400, seth vidal wrote:
> > > Last week I implemented a simple searchNames() method to the
> pkgSack
> > > object that will let you search a list of names quickly. I think
> that
> > > should meet your needs.
> > 
> > Ahh cool. I couldn't find it on yum master -- are you putting it on
> a
> > branch somewhere? Thanks.
> > 
> 
> the 3.2.X branch.

Looks good, thanks. I couldn't get this to work with:

yumbase.pkgSack.searchNames(packages)

Isn't there something needed in packageSack.py for this to work?

Thanks,

Richard.




More information about the PackageKit mailing list