[Yum-devel] [PATCH 3/3] pkgtags db - searching

Seth Vidal skvidal at fedoraproject.org
Mon Feb 8 18:00:19 UTC 2010



On Mon, 8 Feb 2010, James Antill wrote:

> On Mon, 2010-02-08 at 10:14 -0500, Seth Vidal wrote:
>
>> why will callers want to be able to search just name/summary?
>>
>> Right now we're searching name/summary/description - do we really have
>> callers who want to be more ornate or narrow? I guess I just don't see it.
>
> Eg. packagekit does:
>
>    def search_name(self, filters, values):
> ...
>        searchlist = ['name']
> ...
>                res = self.yumbase.searchGenerator(searchlist, values)


Crazy people might ask why searchGenerator() is being used where any of 
our pkg name list functions would work and involve less crazy.


> ...I'd also like the ability to turn it off/on, as with
> summary/description (when I eventually do some GUI stuff -- ha).

<shrug>

I don't know why you'd want to search summary/description but not the 
tags. <shrug>

-sv



More information about the Yum-devel mailing list