[Yum-devel] [PATCH] Don't try to show repos. for skipped packages in history info.

2011-08-25 Thread James Antill
--- output.py | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/output.py b/output.py index faffd34..be4e4d9 100755 --- a/output.py +++ b/output.py @@ -2081,7 +2081,7 @@ to exit. _pkg_states_installed['maxlen'] = maxlen _pkg_states_available['max

Re: [Yum-devel] [PATCH 3/3] Fix mergerepo on generated data (groups/pkgtag/etc.)

2011-08-25 Thread tim.laurid...@gmail.com
On Wed, Aug 24, 2011 at 11:04 PM, James Antill wrote: > --- >  yum/yumRepo.py |    5 + >  1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/yum/yumRepo.py b/yum/yumRepo.py > index 91b7dde..a681370 100644 > --- a/yum/yumRepo.py > +++ b/yum/yumRepo.py > @@ -1256,6 +1256,11 @@ Ins

Re: [Yum-devel] [PATCH 2/3] Speedup upgrade_requirements_on_install=true significantly.

2011-08-25 Thread tim.laurid...@gmail.com
On Wed, Aug 24, 2011 at 11:04 PM, James Antill wrote: > --- >  cli.py |    4 +++- >  1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/cli.py b/cli.py > index a1e0e03..ed29ba4 100755 > --- a/cli.py > +++ b/cli.py > @@ -763,7 +763,9 @@ class YumBaseCli(yum.YumBase, output.YumOutput)

Re: [Yum-devel] [PATCH 1/3] Tweak the output for transaction summary some more, use dynamic legnths.

2011-08-25 Thread tim.laurid...@gmail.com
On Wed, Aug 24, 2011 at 11:04 PM, James Antill wrote: > --- >  output.py |   57 - >  1 files changed, 44 insertions(+), 13 deletions(-) > > diff --git a/output.py b/output.py > index eefcd69..faffd34 100755 > --- a/output.py > +++ b/output.py

Re: [Yum-devel] [PATCH 1/3] Clean up class MultiFileHelper

2011-08-25 Thread seth vidal
On Thu, 2011-08-25 at 11:55 +0200, Zdeněk Pavlas wrote: > These lines look irrelevant and confusing. > > --- > urlgrabber/progress.py |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/urlgrabber/progress.py b/urlgrabber/progress.py > index 45eb248..e8408e5 100644 >

Re: [Yum-devel] [PATCH] Fix problems with using old generated data (groups/pkgtag/updateinfo).

2011-08-25 Thread tim.laurid...@gmail.com
On Wed, Aug 24, 2011 at 11:48 PM, James Antill wrote: > --- >  yum/misc.py |    4 +++- >  1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/yum/misc.py b/yum/misc.py > index 37c572b..04490a6 100644 > --- a/yum/misc.py > +++ b/yum/misc.py > @@ -1114,10 +1114,12 @@ def decompress(fil

[Yum-devel] [PATCH] Prevent ZeroDivisionError

2011-08-25 Thread Zdeněk Pavlas
--- urlgrabber/progress.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/urlgrabber/progress.py b/urlgrabber/progress.py index 6a2de42..f31c658 100644 --- a/urlgrabber/progress.py +++ b/urlgrabber/progress.py @@ -504,7 +504,7 @@ class TextMultiFileMeter(MultiFileMeter):

[Yum-devel] [PATCH 2/3] Use re.total only

2011-08-25 Thread Zdeněk Pavlas
MultiFileMeter defines self.total_size, but self.re.fraction_read() uses re.total instead. Remove total_size and a single reference to it to get consistent percentage calculation. --- urlgrabber/progress.py |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/urlgrabber/pr

[Yum-devel] [PATCH 3/3] meter.end() has to call master.re.update()

2011-08-25 Thread Zdeněk Pavlas
Adding this call is necessary to have accurate re.last_amount_read. Also, update re.total to reflect that file size might have changed. --- urlgrabber/progress.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/urlgrabber/progress.py b/urlgrabber/progress.py index 95420d

[Yum-devel] [PATCH 1/3] Clean up class MultiFileHelper

2011-08-25 Thread Zdeněk Pavlas
These lines look irrelevant and confusing. --- urlgrabber/progress.py |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/urlgrabber/progress.py b/urlgrabber/progress.py index 45eb248..e8408e5 100644 --- a/urlgrabber/progress.py +++ b/urlgrabber/progress.py @@ -317,12 +317,