[Yum-devel] [PATCH] Fix rpmdb.simpleVersion() to ignore gpg-pubkeys, dito. returnPackages()

Seth Vidal skvidal at fedoraproject.org
Thu Oct 29 18:38:03 UTC 2009



On Thu, 29 Oct 2009, James Antill wrote:

> On Thu, 2009-10-29 at 12:47 -0400, Seth Vidal wrote:
>>
>> On Tue, 27 Oct 2009, James Antill wrote:
>>
>>> Dito. searchPrco() etc.
>>>
>>> Add a new rpmdb only method: rpmdb.returnGPGPubkeyPackages() ... so that
>>> keys-remove can work.
>>
>> ACK in general but does this change any expectations for other api users?
>
> The keys-remove plugin will have to change to call the above new API
> (before it had relied on _search() not filtering, I think). And it's
> _possible_ other things are looking for gpg-pubkey packages via.
> _search() etc. ... but given gpg-pubkey packages aren't real packages I
> would bet this fixes much more than it breaks.
>

I'll give you even odds we get a bug filed on it breaking in the next 3 
months. :)

-sv



More information about the Yum-devel mailing list