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

James Antill james at fedoraproject.org
Thu Oct 29 17:17:40 UTC 2009


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.



More information about the Yum-devel mailing list