[Yum-devel] [PATCH] Should work around the reget MD problems

2010-03-30 Thread James Antill
--- yum/yumRepo.py |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/yum/yumRepo.py b/yum/yumRepo.py index 8d7617e..b67b897 100644 --- a/yum/yumRepo.py +++ b/yum/yumRepo.py @@ -1552,9 +1552,17 @@ class YumRepository(Repository, config.RepoConf): try:

[Yum-devel] [PATCH] Should work around the reget MD problems

2010-03-30 Thread James Antill
--- yum/yumRepo.py |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/yum/yumRepo.py b/yum/yumRepo.py index 8d7617e..d5aa22b 100644 --- a/yum/yumRepo.py +++ b/yum/yumRepo.py @@ -1552,6 +1552,13 @@ class YumRepository(Repository, config.RepoConf): try:

Re: [Yum-devel] [PATCH] Speedup repeated calls to .install() with a pattern, via. returnPackages(). Add negative caching to both sqlite and rpmdb. Add pkg names with a '-' in them to pkgnames_loaded i

2010-03-30 Thread James Antill
On Tue, 2010-03-30 at 16:41 -0400, Mike Bonnet wrote: > On 03/30/2010 04:18 PM, James Antill wrote: > > @staticmethod > > -def _compile_patterns(patterns, ignore_case=False): > > +def _compile_patterns(self, patterns, ignore_case=False): > > Static methods don't get passed "self". Y

[Yum-devel] [PATCH] Pkgname caching for rpmdb.returnPackages() so update is as fast as install

2010-03-30 Thread James Antill
--- yum/rpmsack.py | 31 ++- 1 files changed, 26 insertions(+), 5 deletions(-) diff --git a/yum/rpmsack.py b/yum/rpmsack.py index 4580150..4c17b67 100644 --- a/yum/rpmsack.py +++ b/yum/rpmsack.py @@ -142,6 +142,7 @@ class RPMDBPackageSack(PackageSackBase): s

[Yum-devel] [PATCH] minor change so that if there are any empty lines in the gpgkey file we're checking that we don't traceback.

2010-03-30 Thread Seth Vidal
We won't find a key, but at least we don't traceback b/c of it. apparently this can happen if the key we're handed is only a subkey. --- yum/pgpmsg.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/yum/pgpmsg.py b/yum/pgpmsg.py index f8dccdb..454768a 100644 --- a/yum/pgp

Re: [Yum-devel] [PATCH] Speedup repeated calls to .install() with a pattern, via. returnPackages(). Add negative caching to both sqlite and rpmdb. Add pkg names with a '-' in them to pkgnames_loaded i

2010-03-30 Thread Mike Bonnet
On 03/30/2010 04:18 PM, James Antill wrote: > @staticmethod > -def _compile_patterns(patterns, ignore_case=False): > +def _compile_patterns(self, patterns, ignore_case=False): Static methods don't get passed "self". ___ Yum-devel mailing lis

[Yum-devel] [PATCH] Speedup repeated calls to .install() with a pattern, via. returnPackages(). Add negative caching to both sqlite and rpmdb. Add pkg names with a '-' in them to pkgnames_loaded in sq

2010-03-30 Thread James Antill
--- yum/rpmsack.py| 17 - yum/sqlitesack.py | 26 +- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/yum/rpmsack.py b/yum/rpmsack.py index 8289cd2..4580150 100644 --- a/yum/rpmsack.py +++ b/yum/rpmsack.py @@ -144,6 +144,7 @@ class RPM

Re: [Yum-devel] [yum-commits] Branch 'yum-3_2_X' - etc/yum.bash

2010-03-30 Thread Ville Skyttä
On Tuesday 30 March 2010, Seth Vidal wrote: > On Tue, 30 Mar 2010, Ville Skyttä wrote: > > etc/yum.bash |4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > New commits: > > commit d38a25828b7699a6ffdaaecb06ba223ff2d24edb > > Author: Ville Skytt?? > > Date: Tue Mar 30 18:47:3

Re: [Yum-devel] [yum-commits] Branch 'yum-3_2_X' - yum/__init__.py

2010-03-30 Thread Seth Vidal
On Tue, 30 Mar 2010, James Antill wrote: yum/__init__.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ecfd7b5e643bab7337d44c981157768b86cab439 Author: James Antill Date: Tue Mar 30 14:31:11 2010 -0400 Test for repo_setopts, only there for cli diff --git

Re: [Yum-devel] [yum-commits] Branch 'yum-3_2_X' - etc/yum.bash

2010-03-30 Thread Seth Vidal
On Tue, 30 Mar 2010, Ville Skyttä wrote: etc/yum.bash |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit d38a25828b7699a6ffdaaecb06ba223ff2d24edb Author: Ville Skytt?? Date: Tue Mar 30 18:47:35 2010 +0300 Add --setopt to completions. Ville, thank you for

Re: [Yum-devel] deltarpm

2010-03-30 Thread Seth Vidal
On Fri, 26 Mar 2010, hu xiaoying wrote: Dear All:         Now, i have some problems about deltarpm  as following:          <1> What's happen with "DeprecationWarning: the sha module is deprecated; use the hashlib module instead" while running commands with "createdeltarpms ..." and "createpro

Re: [Yum-devel] looking for feedback on 'diff-comps.py'

2010-03-30 Thread Dennis Gregorovic
On Tue, 2010-03-30 at 09:38 -0400, Seth Vidal wrote: > > On Tue, 23 Mar 2010, Dennis Gregorovic wrote: > > > Hi, > > > > I put together a script called diff-comps.py that may be a good fit for > > yum-utils. It takes in two comps.xml files, creates Comps objects, and > > then prints a list of t

Re: [Yum-devel] looking for feedback on 'diff-comps.py'

2010-03-30 Thread Seth Vidal
On Tue, 23 Mar 2010, Dennis Gregorovic wrote: Hi, I put together a script called diff-comps.py that may be a good fit for yum-utils. It takes in two comps.xml files, creates Comps objects, and then prints a list of the differences. I've attached the script as well as sample output. You wil

Re: [Yum-devel] [PATCH] add --setopt option to yum cli

2010-03-30 Thread Tim Lauridsen
On Tue, Mar 30, 2010 at 4:26 AM, Seth Vidal wrote: > this allows setting any config option by name. Either globally or in > any repo config. > globally: --setopt=optname=value > repo: --setopt=repoid.optname=value > --- > cli.py | 49 + >