Re: [Yum-devel] [PATCH 6/6] Implement parallel downloads for regular RPMs

2011-07-14 Thread James Antill
On Wed, 2011-07-13 at 18:50 +0200, Zdeněk Pavlas wrote: > +for i in range(n): > +# need two pipes per process > +A = os.pipe() > +B = os.pipe() > +if os.fork() == 0: > +# child: reads B, writes A > +os.close(A[0

Re: [Yum-devel] [PATCH 4/4] Add --assumeno which does the opposite of --assumeyes.

2011-07-14 Thread James Antill
On Thu, 2011-07-14 at 14:21 -0400, seth vidal wrote: > On Thu, 2011-07-14 at 14:19 -0400, James Antill wrote: > > On Thu, 2011-07-14 at 13:18 -0400, seth vidal wrote: > > > > > > @@ -1535,7 +1535,10 @@ class YumOptionParser(OptionParser): > > > > > > > > # Handle rem

Re: [Yum-devel] [PATCH 4/4] Add --assumeno which does the opposite of --assumeyes.

2011-07-14 Thread seth vidal
On Thu, 2011-07-14 at 14:19 -0400, James Antill wrote: > On Thu, 2011-07-14 at 13:18 -0400, seth vidal wrote: > > > > @@ -1535,7 +1535,10 @@ class YumOptionParser(OptionParser): > > > > > > # Handle remaining options > > > if opts.assumeyes: > > > -

Re: [Yum-devel] [PATCH 4/4] Add --assumeno which does the opposite of --assumeyes.

2011-07-14 Thread James Antill
On Thu, 2011-07-14 at 13:18 -0400, seth vidal wrote: > > @@ -1535,7 +1535,10 @@ class YumOptionParser(OptionParser): > > > > # Handle remaining options > > if opts.assumeyes: > > -self.base.conf.assumeyes =1 > > +self.base

Re: [Yum-devel] [PATCH 4/4] Add --assumeno which does the opposite of --assumeyes.

2011-07-14 Thread seth vidal
On Thu, 2011-07-14 at 11:45 -0400, James Antill wrote: > --- > cli.py | 13 ++--- > docs/yum.conf.5 |8 > yum/__init__.py |5 + > yum/config.py |1 + > 4 files changed, 24 insertions(+), 3 deletions(-) > > diff --git a/cli.py b/cli.py > index c69ec3b.

Re: [Yum-devel] [PATCH 3/4] Allow remove to use alwaysprompt/etc. logic.

2011-07-14 Thread seth vidal
On Thu, 2011-07-14 at 11:45 -0400, James Antill wrote: > --- > cli.py |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/cli.py b/cli.py > index 6056d38..c69ec3b 100644 > --- a/cli.py > +++ b/cli.py > @@ -1400,7 +1400,6 @@ class YumBaseCli(yum.YumBase, output.YumOutput)

Re: [Yum-devel] [PATCH 2/4] Give a message about weird rpmdb release provides problems.

2011-07-14 Thread seth vidal
On Thu, 2011-07-14 at 11:45 -0400, James Antill wrote: > --- > yum/config.py |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/yum/config.py b/yum/config.py > index cb7ed57..dca13fa 100644 > --- a/yum/config.py > +++ b/yum/config.py > @@ -1028,7 +1028,10 @@ def _ge

Re: [Yum-devel] [PATCH 1/4] When we call _deal_with_bad_rpmdbcache(), due to a package ... show the pkg.

2011-07-14 Thread seth vidal
On Thu, 2011-07-14 at 11:45 -0400, James Antill wrote: > --- > yum/rpmsack.py |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/yum/rpmsack.py b/yum/rpmsack.py > index 9717912..ef6fbd5 100644 > --- a/yum/rpmsack.py > +++ b/yum/rpmsack.py > @@ -375,7 +375,8 @@ clas

[Yum-devel] [PATCH 4/4] Add --assumeno which does the opposite of --assumeyes.

2011-07-14 Thread James Antill
--- cli.py | 13 ++--- docs/yum.conf.5 |8 yum/__init__.py |5 + yum/config.py |1 + 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/cli.py b/cli.py index c69ec3b..7d332c1 100644 --- a/cli.py +++ b/cli.py @@ -25,7 +25,7 @@ import sys i

[Yum-devel] [PATCH 2/4] Give a message about weird rpmdb release provides problems.

2011-07-14 Thread James Antill
--- yum/config.py |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/yum/config.py b/yum/config.py index cb7ed57..dca13fa 100644 --- a/yum/config.py +++ b/yum/config.py @@ -1028,7 +1028,10 @@ def _getsysver(installroot, distroverpkg): if idx.count() == 0: re

[Yum-devel] [PATCH 1/4] When we call _deal_with_bad_rpmdbcache(), due to a package ... show the pkg.

2011-07-14 Thread James Antill
--- yum/rpmsack.py |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/yum/rpmsack.py b/yum/rpmsack.py index 9717912..ef6fbd5 100644 --- a/yum/rpmsack.py +++ b/yum/rpmsack.py @@ -375,7 +375,8 @@ class RPMDBPackageSack(PackageSackBase): pkg = self.searchNevra(

[Yum-devel] [PATCH 3/4] Allow remove to use alwaysprompt/etc. logic.

2011-07-14 Thread James Antill
--- cli.py |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/cli.py b/cli.py index 6056d38..c69ec3b 100644 --- a/cli.py +++ b/cli.py @@ -1400,7 +1400,6 @@ class YumBaseCli(yum.YumBase, output.YumOutput): # package wasn't explictly given on the command line

Re: [Yum-devel] [UG] Why isn't urlgrabber on PyPI?

2011-07-14 Thread seth vidal
On Wed, 2011-07-13 at 03:23 +0200, Victor Andrée wrote: > Hi! > > I'm working on a project which depends on urlgrabber. It not being > available in the standard package index makes life a ... bit harder, > and I'm curious if there's any particular reason why. It's quite > widely used and appreciat