[Yum-devel] Fix versionlock with follow obsoletes, etc.

Seth Vidal skvidal at fedoraproject.org
Mon May 24 02:14:29 UTC 2010



On Thu, 20 May 2010, James Antill wrote:

> Here's the problem:
>
> . plugin X "loads" pkgA
>
> . plugin Y adds a pkgExcluder which matches pkgA
>
> ...now pkgA is kind of in a no mans land, as it's excluded but not
> in all code paths. I'm pretty sure this fixes "everything" certainly
> my testcase works afterwards, and versionlock with
> follow_obsoletes=true does too.
>
> Test case was:
>
> print yb.pkgSack.returnPackages(patterns=['bind-libs'])
> yb.pkgSack.addPackageExcluder(None, None, 'exclude.eq', 'bind-libs')
> print yb.pkgSack.returnPackages(patterns=['bind-libs'])
>

okay  - I give up - I hate modifying core to fix a plugin I don't like but 
this one makes sense.

ACK
-sv



More information about the Yum-devel mailing list