[Yum-devel] [PATCH 2/2] Add tests for revdep handling in yum update.

2012-05-18 Thread Casey Jao
This test models the scenario in Bug 773440 regarding clean_requirements_on_remove (https://bugzilla.redhat.com/show_bug.cgi?id=773440), which exposes an error in the current implementation of _has_needed_revdeps. The basic setup is this. For packages A and B, we write A -> B to mean "B requires A

[Yum-devel] [PATCH 1/2] Move some dependency checks to _has_needed_revdeps.

2012-05-18 Thread Casey Jao
This patch is intended to address Bug 773440 regarding clean_requirements_on_remove (https://bugzilla.redhat.com/show_bug.cgi?id=773440). Currently we only consider a reverse dependency of a pkg "needed" if it was user-installed. The patch checks if the revdep is needed by a pkg to be installed in

Re: [Yum-devel] [PATCH] URL sanity checking. BZ 822632

2012-05-18 Thread James Antill
On Fri, 2012-05-18 at 10:42 +0200, Zdeněk Pavlas wrote: > Ignore bogus hostnames, and make parsing of timedhosts file > a bit more robust. ACK. > --- > urlgrabber/grabber.py |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/urlgrabber/grabber.py b/urlgrabber/gra

[Yum-devel] [PATCH] URL sanity checking. BZ 822632

2012-05-18 Thread Zdeněk Pavlas
Ignore bogus hostnames, and make parsing of timedhosts file a bit more robust. --- urlgrabber/grabber.py |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py index 094be77..1d7cfbe 100644 --- a/urlgrabber/grabber.py +++ b/urlgra