[Yum-devel] [PATCH] Adds documentation for the yum.config module, and modifies the existing documentation to be consistant.

2011-07-27 Thread Nick Jacek
--- yum/config.py | 481 ++--- 1 files changed, 288 insertions(+), 193 deletions(-) diff --git a/yum/config.py b/yum/config.py index dbf1784..bbeca66 100644 --- a/yum/config.py +++ b/yum/config.py @@ -47,13 +47,12 @@ __pkgs_gpgcheck_default__ =

Re: [Yum-devel] createrepo dup of 715108 on EL6

2011-07-27 Thread James Antill
On Wed, 2011-07-27 at 10:19 -0400, JohnS wrote: > The prob is: > > "iso-8859-1 encoding on..." An offending rpm package. > > createrepo complains about. Although it seems it does not crash etc.. > and repodata is still made and valid as the repo data is good. This isn't a problem ... createrep

[Yum-devel] createrepo dup of 715108 on EL6

2011-07-27 Thread JohnS
The prob is: "iso-8859-1 encoding on..." An offending rpm package. createrepo complains about. Although it seems it does not crash etc.. and repodata is still made and valid as the repo data is good. Version: createrepo-0.9.8-4.el6.noarch & yum-3.2.27-14.el6.noarch It seems this commit is the

Re: [Yum-devel] [PATCH 3/3] Implement getPackageAsync() and getPackageDone()

2011-07-27 Thread Zdenek Pavlas
> # make a config option for this? > os.execl('/usr/local/bin/yum-down.sh', '') This is the download helper I have been using. It uses curl binary to do the job. Start and stop of each download is logged with '+' and '-' lines. $ cat /usr/local/bin/yum-down.sh #! /bin/sh # A simple external do

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

2011-07-27 Thread Zdenek Pavlas
Ok, so now I'm convinced that going the fork()/exec() route is the only sane option. > What setup code? The "download helper" only needs to know the information we are passing to urlgrabber ... I mean stuff like: - selecting the reget strategy - http caching, keepalive, basic authentication - s

[Yum-devel] [PATCH 3/3] Implement getPackageAsync() and getPackageDone()

2011-07-27 Thread Zdeněk Pavlas
A simple interface to external downloading processes, with limited support for transparent retries and mirrorlist cycling. --- yum/yumRepo.py | 79 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/yum/yumRepo.py b/yum/yumRep

[Yum-devel] [PATCH 1/3] Add 'parallel' option to YumConf and RepoConf.

2011-07-27 Thread Zdeněk Pavlas
Option sets the number of processes to use for downloading packages from the specific repository, YumConf value being the default. --- yum/config.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/yum/config.py b/yum/config.py index dbf1784..d7de748 100644 --- a/yum/confi

[Yum-devel] [PATCH 2/3] Change the API used for downloading packages

2011-07-27 Thread Zdeněk Pavlas
Drop repo.getPackage() in favor of getPackageAsync() and getPackageDone(). The new API allows for parallel downloads. --- yum/__init__.py | 65 ++ 1 files changed, 36 insertions(+), 29 deletions(-) diff --git a/yum/__init__.py b/yum/__init__.p