[Yum-devel] [PATCH] add the functionality of remove_with_leaves to core

2010-11-05 Thread Seth Vidal
- works much better than remove_with_leaves - better output - config makes more sense: clean_requirements_on_remove = BoolOption(False) - uses yumdb.reason to drive it - dep-installs only - testing and opt required --- test/testbase.py |5 yum/__init__.py | 58 +

Re: [Yum-devel] [PATCH] Allow plugins to signal exit status, bump plugin API version to 2.7.

2010-11-05 Thread James Antill
On Fri, 2010-11-05 at 19:05 +0200, Ville Skyttä wrote: > On Friday 05 November 2010, James Antill wrote: > > On Fri, 2010-11-05 at 16:47 +0200, Ville Skyttä wrote: > > > Useful for example for downloadonly, BZ 531323. > > > --- > > > > > > yum/plugins.py |5 +++-- > > > yummain.py |2

Re: [Yum-devel] [PATCH] Allow plugins to signal exit status, bump plugin API version to 2.7.

2010-11-05 Thread Ville Skyttä
On Friday 05 November 2010, James Antill wrote: > On Fri, 2010-11-05 at 16:47 +0200, Ville Skyttä wrote: > > Useful for example for downloadonly, BZ 531323. > > --- > > > > yum/plugins.py |5 +++-- > > yummain.py |2 +- > > 2 files changed, 4 insertions(+), 3 deletions(-) > > There

Re: [Yum-devel] [PATCH] Allow plugins to signal exit status, bump plugin API version to 2.7.

2010-11-05 Thread James Antill
On Fri, 2010-11-05 at 16:47 +0200, Ville Skyttä wrote: > Useful for example for downloadonly, BZ 531323. > --- > yum/plugins.py |5 +++-- > yummain.py |2 +- > 2 files changed, 4 insertions(+), 3 deletions(-) There are two things with this: 1. We have RFE's for us having a documente

Re: [Yum-devel] [PATCH] Allow plugins to signal exit status, bump plugin API version to 2.7.

2010-11-05 Thread Ville Skyttä
On Friday 05 November 2010, Ville Skyttä wrote: > Useful for example for downloadonly, BZ 531323. Note that this patch doesn't make yum-updatesd do anything with the exit status yet; I'm not sure if it should handle it some way. Maybe not emit the setup failed message at all if the exitstatus i

[Yum-devel] [PATCH] Allow plugins to signal exit status, bump plugin API version to 2.7.

2010-11-05 Thread Ville Skyttä
Useful for example for downloadonly, BZ 531323. --- yum/plugins.py |5 +++-- yummain.py |2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/yum/plugins.py b/yum/plugins.py index bfc49b7..eecaa22 100644 --- a/yum/plugins.py +++ b/yum/plugins.py @@ -63,7 +63,7 @@ from y

[Yum-devel] [PATCH] - Make downgrade testcase - fix test DepsolveProgressCallback to handle downgrade - fix skip-broken code to handle downgrades - prefix all skipbroken debug message with 'SKIPBROKEN

2010-11-05 Thread Tim Lauridsen
--- test/skipbroken-tests.py | 19 ++- test/testbase.py | 12 +++- yum/__init__.py | 16 ++-- 3 files changed, 35 insertions(+), 12 deletions(-) diff --git a/test/skipbroken-tests.py b/test/skipbroken-tests.py index c1d0c1f..9f09e87 10064