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

2011-08-31 Thread tim.laurid...@gmail.com
On Thursday, August 25, 2011, James Antill wrote: > --- > 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_st

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread James Antill
On Wed, 2011-08-31 at 21:49 +0300, Panu Matilainen wrote: > On 08/31/2011 09:20 PM, James Antill wrote: > > ...another maybe good rule we could do inside yum is to extend > > protected_multilib so that we only allow: > > > > 1. Both foo.i686 and foo.x86_64 installed at once. > > > > 2. foo.i686 ins

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread Panu Matilainen
On 08/31/2011 09:20 PM, James Antill wrote: On Wed, 2011-08-31 at 13:52 -0400, James Antill wrote: On Wed, 2011-08-31 at 19:57 +0300, Panu Matilainen wrote: On 08/31/2011 05:59 PM, James Antill wrote: I guess we could add a new API ... but using that API for file requires logic, when we'd h

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread Panu Matilainen
On 08/31/2011 08:52 PM, James Antill wrote: On Wed, 2011-08-31 at 19:57 +0300, Panu Matilainen wrote: On 08/31/2011 05:59 PM, James Antill wrote: On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote: This fixes some cases where yum depsolver and rpm>= 4.9.0 disagree on dependencies on remo

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread seth vidal
On Wed, 2011-08-31 at 14:20 -0400, James Antill wrote: > On Wed, 2011-08-31 at 13:52 -0400, James Antill wrote: > > On Wed, 2011-08-31 at 19:57 +0300, Panu Matilainen wrote: > > > On 08/31/2011 05:59 PM, James Antill wrote: > > > > I guess we could add a new API ... but using that API for file >

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread James Antill
On Wed, 2011-08-31 at 13:52 -0400, James Antill wrote: > On Wed, 2011-08-31 at 19:57 +0300, Panu Matilainen wrote: > > On 08/31/2011 05:59 PM, James Antill wrote: > > > I guess we could add a new API ... but using that API for file requires > > > logic, when we'd have to ignore our current caches

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread James Antill
On Wed, 2011-08-31 at 19:57 +0300, Panu Matilainen wrote: > On 08/31/2011 05:59 PM, James Antill wrote: > > On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote: > >> This fixes some cases where yum depsolver and rpm>= 4.9.0 > >> disagree on dependencies on removal (including but not limited >

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread Panu Matilainen
On 08/31/2011 06:49 PM, seth vidal wrote: On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote: This fixes some cases where yum depsolver and rpm>= 4.9.0 disagree on dependencies on removal (including but not limited to the example in BZ 729973), causing "ERROR with transaction check vs deps

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread Panu Matilainen
On 08/31/2011 05:59 PM, James Antill wrote: On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote: This fixes some cases where yum depsolver and rpm>= 4.9.0 disagree on dependencies on removal (including but not limited to the example in BZ 729973), causing "ERROR with transaction check vs de

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread seth vidal
On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote: > This fixes some cases where yum depsolver and rpm >= 4.9.0 > disagree on dependencies on removal (including but not limited > to the example in BZ 729973), causing "ERROR with transaction check > vs depsolve" errors. The state-aware file i

Re: [Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread James Antill
On Wed, 2011-08-31 at 11:44 +0300, Panu Matilainen wrote: > This fixes some cases where yum depsolver and rpm >= 4.9.0 > disagree on dependencies on removal (including but not limited > to the example in BZ 729973), causing "ERROR with transaction check > vs depsolve" errors. The state-aware file i

[Yum-devel] [PATCH 1/3] Prevent float division by zero

2011-08-31 Thread Zdeněk Pavlas
There may be exactly one update, then last_update_time == start_time. --- urlgrabber/progress.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/urlgrabber/progress.py b/urlgrabber/progress.py index 45eb248..f28b632 100644 --- a/urlgrabber/progress.py +++ b/urlgrabber/pro

[Yum-devel] [PATCH 2/3] MultiFileMeter: show correct finished size

2011-08-31 Thread Zdeněk Pavlas
Rate estimator is updated only partially in update_meter(). Make sure the downloaded size reported at the end includes data read in last 0.3 seconds. --- urlgrabber/progress.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/urlgrabber/progress.py b/urlgrabber/progress.py

[Yum-devel] [PATCH 3/3] Use re.total instead of total_size.

2011-08-31 Thread Zdeněk Pavlas
Total percentages are calculated in re.fraction_read(), and are relative to re.last_amount_read and re.total. Use it also for done/total sizes. Keep total_size for compatibility. --- urlgrabber/progress.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/urlgrabber/progre

[Yum-devel] [PATCH] Use state-aware filename rpmdb index if rpm supports it

2011-08-31 Thread Panu Matilainen
This fixes some cases where yum depsolver and rpm >= 4.9.0 disagree on dependencies on removal (including but not limited to the example in BZ 729973), causing "ERROR with transaction check vs depsolve" errors. The state-aware file index is currently only in rpm.org HEAD but likely to get backporte

Re: [Yum-devel] [PATCH] Use yum's dependency checking code for package-cleanup --problems

2011-08-31 Thread Panu Matilainen
On 08/29/2011 05:43 PM, Panu Matilainen wrote: On 08/29/2011 04:42 PM, seth vidal wrote: On Mon, 2011-08-29 at 09:32 -0400, James Antill wrote: On Mon, 2011-08-29 at 12:43 +0300, Panu Matilainen wrote: The dep checker in yum does a more thorough job already, and this lets us deal with any furt