Re: downloading packages without installing

2015-05-09 Thread Tim Lauridsen
Try to play with --installroot=/tmp/cache, then the yum cmd/tool will work with a clean system Tim On Fri, May 8, 2015, 20:08 K Richard Pixley wrote: > I'm having trouble figuring out how to download a set of packages without > installing them. > > There would seem to be several possible appro

Re: Strange behaviour for conflic file

2014-10-09 Thread Tim Lauridsen
On Thu, Oct 9, 2014 at 12:54 PM, jupiter wrote: > Hi, > > I built my own RPM packages which contain top menu hce.menu for CentOS > 6.5, but I am baffled by following conflict file error: > > $ sudo yum install hce_graphics > > Transaction Check Error: > file /etc/xdg/menus/applications-merged/h

Re: Bunch of patches for reposync

2014-03-27 Thread Tim Lauridsen
Thanks, Pushed On Thu, Mar 27, 2014 at 10:18 AM, Miroslav Suchý wrote: > On 03/27/2014 08:20 AM, Tim Lauridsen wrote: > >> The pacthes look fine, but i have some trouble applying them, could you >> please rebase them. >> > > Sure. Attached. > > > --

Re: Bunch of patches for reposync

2014-03-27 Thread Tim Lauridsen
The pacthes look fine, but i have some trouble applying them, could you please rebase them. I have applied the pacth from https://bugzilla.redhat.com/show_bug.cgi?id=1079387 Tim On Wed, Mar 26, 2014 at 2:05 PM, Miroslav Suchý wrote: > During my work on BZ 1079387 I clean up reposync source as

Re: dnf-0.4.15

2014-02-25 Thread Tim Lauridsen
Very nice ! Looks like the api docs for dnf.callback. is missing it gives 404 errors Tim On Mon, Feb 24, 2014 at 7:49 PM, Ales Kozumplik wrote: > Greetings from the DNF team, > > we are releasing 0.4.15 today. It brings some bugfixes but mainly API > extensions. See the blog[1] and the not

[Yum-devel] [PATCH 7/7] Fix pylint issues (unused imports)

2011-11-29 Thread Tim Lauridsen
* Module cli W0611: 51: Unused import parsePackages * Module shell W0611: 26: Unused import _ * Module yummain W0611: 32: Unused import to_unicode * Module yum.depsolve W0611: 35: Unused import packages --- cli.py |2 ++ shell.py

[Yum-devel] [PATCH 6/7] remove string as deprecated module from pylint conf

2011-11-29 Thread Tim Lauridsen
--- test/yum-pylintrc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/yum-pylintrc b/test/yum-pylintrc index 67cf1ea..ea4e683 100644 --- a/test/yum-pylintrc +++ b/test/yum-pylintrc @@ -219,7 +219,7 @@ defining-attr-methods=__init__,__new__,setUp [IMPORTS] # Depre

[Yum-devel] [PATCH 5/7] remove pylint false positives

2011-11-29 Thread Tim Lauridsen
* Module yum.history E0203:1484:YumHistory._update_db_file_3: Access to member '_cached_updated_3' before its definition line 1499 E0203:1571:YumHistory._update_db_file_2: Access to member '_cached_updated_2' before its definition line 1586 --- yum/history.py |3 +++ 1 files chan

[Yum-devel] [PATCH 4/7] fix pylint issue

2011-11-29 Thread Tim Lauridsen
* Module yum.packageSack E0601:462:MetaSack.returnObsoletes: Using variable 'last_pkgtup' before assignment --- yum/packageSack.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/yum/packageSack.py b/yum/packageSack.py index 62608eb..47832fc 100644 --- a/yum/p

[Yum-devel] [PATCH 3/7] Fix pylint issue:

2011-11-29 Thread Tim Lauridsen
* Module yum E0601:5832:YumBase.load_ts: Using variable 'missingany' before assignment --- yum/__init__.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/yum/__init__.py b/yum/__init__.py index 797838a..eccc6b7 100644 --- a/yum/__init__.py +++ b/yum/__init__.p

[Yum-devel] [PATCH 2/7] Fix pylint issue:

2011-11-29 Thread Tim Lauridsen
* Module yum E9905:4858:YumBase._ui_nevra_dict: Too many arguments for format string --- yum/__init__.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/yum/__init__.py b/yum/__init__.py index b07bbb2..797838a 100644 --- a/yum/__init__.py +++ b/yum/__init__.py

[Yum-devel] [PATCH 1/7] fix pylint issues (Bad indentation) ************* Module output W0311:2186: Bad indentation. Found 20 spaces, expected 16 ************* Module yumcommands W0311:901: Bad indent

2011-11-29 Thread Tim Lauridsen
--- output.py |4 ++-- yum/rpmsack.py |2 +- yumcommands.py |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/output.py b/output.py index be4e4d9..bc115ca 100755 --- a/output.py +++ b/output.py @@ -2183,8 +2183,8 @@ to exit. default_addons = set(['

[Yum-devel] [PATCH] fix pylint issues (Bad indentation) ************* Module output W0311:2186: Bad indentation. Found 20 spaces, expected 16 ************* Module yumcommands W0311:901: Bad indentatio

2011-11-29 Thread Tim Lauridsen
--- output.py |4 ++-- yum/rpmsack.py |2 +- yumcommands.py |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/output.py b/output.py index be4e4d9..bc115ca 100755 --- a/output.py +++ b/output.py @@ -2183,8 +2183,8 @@ to exit. default_addons = set(['

[Yum-devel] [PATCH] Fix bugs in the skip-broken code, this should fix some of the weird cases where skip-broken fails today

2011-03-31 Thread Tim Lauridsen
--- test/skipbroken-tests.py | 76 ++ yum/__init__.py |5 ++- yum/depsolve.py |3 ++ 3 files changed, 83 insertions(+), 1 deletions(-) diff --git a/test/skipbroken-tests.py b/test/skipbroken-tests.py index 36a4a6d..812785a 10

[Yum-devel] [PATCH] Add a unit test to make skip-broken go into endless loop when an installed package conflict with an update. Fix the cause by in depsolve by putting the conflicting po into the prob

2011-03-05 Thread Tim Lauridsen
--- test/skipbroken-tests.py | 62 ++ yum/depsolve.py |5 ++- 2 files changed, 65 insertions(+), 2 deletions(-) diff --git a/test/skipbroken-tests.py b/test/skipbroken-tests.py index 31482bc..36a4a6d 100644 --- a/test/skipbroken-tests.py

[Yum-devel] [PATCH] Add SKIPBROKEN prefix to problem depsolve debug output show we can grep "SKIPBROKEN" to filter the yum debug output to see what problems skip-broken tries to resolve. I removed the

2011-01-12 Thread Tim Lauridsen
--- yum/depsolve.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yum/depsolve.py b/yum/depsolve.py index de2849a..3aaba0e 100644 --- a/yum/depsolve.py +++ b/yum/depsolve.py @@ -799,9 +799,9 @@ class Depsolve(object): continue don

[Yum-devel] [PATCH] Remove redundant dependson lines in skip-broken debug output.

2011-01-12 Thread Tim Lauridsen
Now we get very long skip-broken transaction listings with -d9 SKIPBROKEN: update : ocaml-runtime-3.12.0-3.fc15.x86_64 SKIPBROKEN: dependson : coccinelle-0.2.5-0.rc1.2.fc15.x86_64 SKIPBROKEN: dependson : coccinelle-0.2.5-0.rc1.2.fc15.x86_64 SKIPBROKEN:

[Yum-devel] [PATCH] fix '* Maybe you meant:' in non english locale

2010-11-14 Thread Tim Lauridsen
--- cli.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cli.py b/cli.py index 0c5d8ed..abf9a53 100644 --- a/cli.py +++ b/cli.py @@ -627,7 +627,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput): if matches: msg = self.fmtKeyValFill(_(' * Maybe

[Yum-devel] [PATCH] - Make downgrade testcase - fix test DepsolveProgressCallback to handle downgrade - fix skip-broken code to handle downgrades - prefix all skipbroken debug message with 'SKIPBROKEN

2010-11-05 Thread Tim Lauridsen
--- test/skipbroken-tests.py | 19 ++- test/testbase.py | 12 +++- yum/__init__.py | 16 ++-- 3 files changed, 35 insertions(+), 12 deletions(-) diff --git a/test/skipbroken-tests.py b/test/skipbroken-tests.py index c1d0c1f..9f09e87 10064

Re: [Yum-devel] [PATCH 1/3] Allow tests to be multi-commands, aka. shell.

2010-10-08 Thread Tim Lauridsen
On Fri, Oct 8, 2010 at 11:02 PM, James Antill wrote: > --- > test/testbase.py | 17 + > 1 files changed, 13 insertions(+), 4 deletions(-) > > diff --git a/test/testbase.py b/test/testbase.py > index f91fbf1..803ce9c 100644 > --- a/test/testbase.py > +++ b/test/testbase.py > @@

Re: [Yum-devel] [PATCH 2/3] Add tests for remove+update, and update+remove.

2010-10-08 Thread Tim Lauridsen
On Fri, Oct 8, 2010 at 11:02 PM, James Antill wrote: > --- > cli.py| 12 +--- > test/simpleremovetests.py | 63 > + > test/simpleupdatetests.py | 62 > > 3 files changed, 132 in

Re: [Yum-devel] [PATCH 3/3] Fix problems with remove+update.

2010-10-08 Thread Tim Lauridsen
On Fri, Oct 8, 2010 at 11:02 PM, James Antill wrote: > --- > yum/__init__.py | 10 -- > 1 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 7445f9e..6a7db7a 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -3597,6 +3597

Re: [Yum-devel] [RFC] Minimal groups and packages list

2010-09-27 Thread Tim Lauridsen
On Mon, Sep 27, 2010 at 6:10 PM, FlorianFesti wrote: > Hi! > > While thinking about a better UI for installing, viewing and removing > packages I came up with the idea of having a tool generating a kind of > %packages section as found in a kickstart file that would lead to packages > being insta

Re: [Yum-devel] [PATCH 3/3] Fix installonly installs and "broken" rpmdbv stuff from tracebacks

2010-09-26 Thread Tim Lauridsen
On Fri, Sep 24, 2010 at 4:21 PM, James Antill wrote: > --- > test/merge-history-transactions-tests.py | 71 > +- > yum/history.py | 23 +++--- > 2 files changed, 76 insertions(+), 18 deletions(-) > > diff --git a/test/merge-history-tr

Re: [Yum-devel] [PATCH 2/3] UI for merged transactions in "history info".

2010-09-26 Thread Tim Lauridsen
On Sun, Sep 26, 2010 at 4:02 PM, James Antill wrote: > On Sat, 2010-09-25 at 08:12 +0200, Tim Lauridsen wrote: > > On Fri, Sep 24, 2010 at 4:21 PM, James Antill wrote: > > > > > Eg. yum histry merge 1..2 => Will show the first two transactions > > > as t

Re: [Yum-devel] [PATCH 2/3] UI for merged transactions in "history info".

2010-09-24 Thread Tim Lauridsen
On Fri, Sep 24, 2010 at 4:21 PM, James Antill wrote: > Eg. yum histry merge 1..2 => Will show the first two transactions > as though they were a single transaction. All the complicated bits > are in YumMergedTransaction.merge(), this is just a UI patch. > Adds this to the man page. > > Al

Re: [Yum-devel] [PATCH 1/3] Add dropCachedDataPostTransaction() API and document dropCachedData().

2010-09-24 Thread Tim Lauridsen
On Fri, Sep 24, 2010 at 11:31 PM, seth vidal wrote: > On Fri, 2010-09-24 at 00:02 -0400, James Antill wrote: > > Calling dropCachedData() before we are "done" is pretty bad, as we can > > load a package more than once. It's also a giant perf. hit, esp. for > > yumdb checksum*. So we Document all t

Re: [Yum-devel] [PATCH 1/2] Add argument to searchNames() to get it to return pkgtups.

2010-09-22 Thread Tim Lauridsen
On Fri, Sep 17, 2010 at 9:57 PM, James Antill wrote: > --- > yum/packageSack.py | 11 +++ > yum/sqlitesack.py | 19 +++ > 2 files changed, 22 insertions(+), 8 deletions(-) > > diff --git a/yum/packageSack.py b/yum/packageSack.py > index d822394..3ffaf75 100644 > ---

Re: [Yum-devel] [PATCH 2/2] Don't convert obsoletes into packages, saves ~40% of runtime on Fedora.

2010-09-22 Thread Tim Lauridsen
On Fri, Sep 17, 2010 at 9:57 PM, James Antill wrote: > --- > yum/packageSack.py | 24 ++-- > 1 files changed, 18 insertions(+), 6 deletions(-) > > diff --git a/yum/packageSack.py b/yum/packageSack.py > index 3ffaf75..1f7aa55 100644 > --- a/yum/packageSack.py > +++ b/yum/pac

Re: [Yum-devel] [RFC] Split yum into separate processes

2010-09-20 Thread Tim Lauridsen
On Mon, Sep 20, 2010 at 6:34 PM, seth vidal wrote: > > inside urlgrabber. > > One problem here is that you need to get all the SSL configuration/etc. > > into the helper ... and you need to get the progress info. out. Apart > > from those though, it should be "pretty simple". > > Agreed - ultimat

Re: [Yum-devel] [PATCH] Filter "available updates" based on package name, for doUpdate, speedup ~25%.

2010-09-16 Thread Tim Lauridsen
On Wed, Sep 15, 2010 at 11:26 PM, James Antill wrote: > --- > rpmUtils/updates.py |7 +-- > 1 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/rpmUtils/updates.py b/rpmUtils/updates.py > index c61788b..3c4bbb4 100644 > --- a/rpmUtils/updates.py > +++ b/rpmUtils/updates.py

Re: [Yum-devel] [PATCH] Add "severity" to updateinfo parsing.

2010-09-16 Thread Tim Lauridsen
On Wed, Sep 15, 2010 at 2:30 PM, James Antill wrote: > --- > yum/update_md.py | 14 +- > 1 files changed, 13 insertions(+), 1 deletions(-) > > diff --git a/yum/update_md.py b/yum/update_md.py > index 3d05d19..74db5ad 100644 > --- a/yum/update_md.py > +++ b/yum/update_md.py > @@ -57

Re: [Yum-devel] [PATCH 2/2] bump urlgrabber req to 3.9.2 for the next urlgrabber with username/password

2010-08-30 Thread Tim Lauridsen
On Mon, Aug 30, 2010 at 10:46 PM, Seth Vidal wrote: > --- > yum.spec |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/yum.spec b/yum.spec > index c3c7133..fc05aa6 100644 > --- a/yum.spec > +++ b/yum.spec > @@ -15,7 +15,7 @@ BuildRequires: intltool > Requires: python

Re: [Yum-devel] [PATCH 1/2] add username/password basic auth options and document in man page

2010-08-30 Thread Tim Lauridsen
On Mon, Aug 30, 2010 at 10:46 PM, Seth Vidal wrote: > --- > docs/yum.conf.5 | 19 +++ > yum/config.py |4 > yum/yumRepo.py |2 ++ > 3 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/docs/yum.conf.5 b/docs/yum.conf.5 > index 25b2c7d..8acc8f4 10064

Re: [Yum-devel] [PATCH] Args. for install/update/etc. can be provides, and thus. unicode, BZ 622683.

2010-08-22 Thread Tim Lauridsen
On Sun, Aug 22, 2010 at 12:15 AM, James Antill wrote: > --- > yum/__init__.py |8 > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 1ddecc2..2973846 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -3174,7 +3174,

Re: [Yum-devel] [PATCH 2/2] add cmd option as None to all getUsage() definitions in yumcommands.

2010-08-18 Thread Tim Lauridsen
On Thu, Aug 19, 2010 at 4:21 AM, Seth Vidal wrote: > --- > yumcommands.py | 55 > --- > 1 files changed, 28 insertions(+), 27 deletions(-) > > diff --git a/yumcommands.py b/yumcommands.py > index 5498322..76a12a7 100644 > --- a/yumcommands.py

Re: [Yum-devel] [PATCH 1/2] if we define multiple command names in getNames() make sure we display them all in the usage

2010-08-18 Thread Tim Lauridsen
On Thu, Aug 19, 2010 at 4:21 AM, Seth Vidal wrote: > even if we do get some duplicate summaries > --- > cli.py | 15 --- > 1 files changed, 8 insertions(+), 7 deletions(-) > > diff --git a/cli.py b/cli.py > index 9542b7a..03fa362 100644 > --- a/cli.py > +++ b/cli.py > @@ -139,16 +13

Re: [Yum-devel] [PATCH] don't break when we import a single key from a single file

2010-08-12 Thread Tim Lauridsen
On Thu, Aug 12, 2010 at 6:02 PM, Seth Vidal wrote: > this fixes the multiple-key api-fix from > f5a7625e93ee701fd1dc27b04bc040e8113a2e39 > --- > yum/pgpmsg.py |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/yum/pgpmsg.py b/yum/pgpmsg.py > index 9f58fad..b23eabc 1006

Re: [Yum-devel] [PATCH] catch ValueErrors from .repo files and repo imports

2010-08-03 Thread Tim Lauridsen
On Tue, Aug 3, 2010 at 11:15 PM, Seth Vidal wrote: > make the errors tell the user more about where the issue is. > fixes https://bugzilla.redhat.com/show_bug.cgi?id=620101 > --- > yum/__init__.py |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/yum/__init__.py b

Re: [Yum-devel] [PATCH] add verifytransaction time output - so we can know how long it is taking

2010-08-03 Thread Tim Lauridsen
ACK On Tue, Aug 3, 2010 at 9:11 PM, Seth Vidal wrote: > --- > yum/__init__.py |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 6196e7a..3f87f50 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -1408,7 +1408,8 @@

Re: [Yum-devel] [PATCH] Work around stupid pycurl error API

2010-08-03 Thread Tim Lauridsen
> > +errstr = str(e.args[1]) > Maybe some unicode handling would be and idea, these str('some translated string') could easy blow up :) ACK ___ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/

[Yum-devel] yum-utils 1.1.28 released

2010-08-03 Thread Tim Lauridsen
yum-utils 1.1.28 is now released. check the changelog[1] for changes tarball : http://yum.baseurl.org/download/yum-utils/yum-utils-1.1.28.tar.gz srpm: http://yum.baseurl.org/download/yum-utils/yum-utils-1.1.28-1.src.rpm [1]: http://yum.baseurl.org/gitweb?p=yum-utils.git;a=blob;f=ChangeLog;h=c4c

Re: [Yum-devel] [PATCH] Add a nice way to pick the releasever from outside the installroot

2010-08-03 Thread Tim Lauridsen
On Mon, Aug 2, 2010 at 11:22 PM, James Antill wrote: > --- > yum/__init__.py |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 2ea9f20..6196e7a 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -294,6 +294,11 @@

[Yum-devel] repoquery is a little broken

2010-08-02 Thread Tim Lauridsen
While preparing a new yum-utils release and checking pylint errors, it look like some recent changes to repoquery has left it in a broken state I have cleaned up all the low hanging fruits, but there is a couple of errors left, we need to fix before releasing. $ make pylint-short * Mod

Re: [Yum-devel] [PATCH 2/2] Unnecessarily load yumdb data from old packages, for hardlinks (minor hack)

2010-07-25 Thread Tim Lauridsen
On Fri, Jul 23, 2010 at 10:21 PM, James Antill wrote: > --- > yum/transactioninfo.py |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py > index 2e0ccde..31d3569 100644 > --- a/yum/transactioninfo.py > +++ b/yum/tra

Re: [Yum-devel] [PATCH 1/2] Do automatic hardlinking for some yumdb key/values that are often shared.

2010-07-25 Thread Tim Lauridsen
On Fri, Jul 23, 2010 at 10:21 PM, James Antill wrote: > --- > yum/rpmsack.py | 117 > +--- > 1 files changed, 103 insertions(+), 14 deletions(-) > > diff --git a/yum/rpmsack.py b/yum/rpmsack.py > index 8e32fe0..ae73c32 100644 > --- a/yum/rpmsa

Re: [Yum-devel] [PATCH] Fix API for anaconda catching rpm transaction failures, BZ 613817

2010-07-15 Thread Tim Lauridsen
On Thu, Jul 15, 2010 at 10:28 PM, James Antill wrote: > --- > yum/Errors.py | 17 + > yum/__init__.py |3 ++- > 2 files changed, 19 insertions(+), 1 deletions(-) > > diff --git a/yum/Errors.py b/yum/Errors.py > index 211625b..143c9a4 100644 > --- a/yum/Errors.py > +++ b/y

Re: [Yum-devel] [PATCH] Fix for /proc isn't mounted, continues as though cpuinfo was empty

2010-07-15 Thread Tim Lauridsen
On Wed, Jul 14, 2010 at 7:09 PM, James Antill wrote: > --- > rpmUtils/arch.py | 34 +- > 1 files changed, 13 insertions(+), 21 deletions(-) > > diff --git a/rpmUtils/arch.py b/rpmUtils/arch.py > index af0d782..5512ea6 100644 > --- a/rpmUtils/arch.py > +++ b/rpmU

Re: [Yum-devel] Making yum a more `portable' package manager

2010-06-20 Thread Tim Lauridsen
On Fri, Jun 18, 2010 at 10:01 PM, BebiX kost wrote: > Hmm... Yum? Maybe PackageKit is a better solution for this? PK is just an abstraction layer to a package manger like yum, so no package manager no fun with PK. Tim ___ Yum-devel mailing list Yum-d

Re: [Yum-devel] [PATCH] Deal with putting non-en rpmdb problems in the history DB

2010-06-14 Thread Tim Lauridsen
On Mon, Jun 14, 2010 at 5:50 PM, James Antill wrote: > --- > yum/history.py |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/yum/history.py b/yum/history.py > index bfb0b45..a676773 100644 > --- a/yum/history.py > +++ b/yum/history.py > @@ -414,7 +414,8 @@ class Yu

Re: [Yum-devel] [PATCH 3/4] Make .reinstall a real txmbr attribute

2010-06-11 Thread Tim Lauridsen
On Thu, Jun 10, 2010 at 10:47 PM, James Antill wrote: > --- > yum/__init__.py|3 +-- > yum/transactioninfo.py | 14 +++--- > 2 files changed, 12 insertions(+), 5 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 8e58124..1d7637f 100644 > --- a/yum/__in

Re: [Yum-devel] [PATCH 4/4] Add a dsCallback "r" state for reinstalled, as we are doing downgrade

2010-06-11 Thread Tim Lauridsen
On Thu, Jun 10, 2010 at 10:48 PM, James Antill wrote: > --- > output.py |1 + > yum/depsolve.py |2 ++ > 2 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/output.py b/output.py > index 060eaab..05a4e83 100755 > --- a/output.py > +++ b/output.py > @@ -1706,6 +1706,7

Re: [Yum-devel] [PATCH 2/4] Save loginuids of installed_by and changed_by to the yumdb

2010-06-11 Thread Tim Lauridsen
On Thu, Jun 10, 2010 at 10:47 PM, James Antill wrote: > --- > yum/__init__.py | 24 +++- > 1 files changed, 23 insertions(+), 1 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index fa26e62..8e58124 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py >

Re: [Yum-devel] [PATCH] Tell the dsCallback() when ts_state==u that it's really an install, when it is.

2010-06-11 Thread Tim Lauridsen
On Thu, Jun 10, 2010 at 9:03 PM, James Antill wrote: > --- > yum/depsolve.py |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/yum/depsolve.py b/yum/depsolve.py > index 322c412..740520f 100644 > --- a/yum/depsolve.py > +++ b/yum/depsolve.py > @@ -794,6 +794,8 @@ clas

Re: [Yum-devel] [PATCH 1/4] Add caching getloginuid, so we can use it outside of history

2010-06-11 Thread Tim Lauridsen
On Thu, Jun 10, 2010 at 10:47 PM, James Antill wrote: > --- > yum/misc.py | 12 +++- > 1 files changed, 11 insertions(+), 1 deletions(-) > > diff --git a/yum/misc.py b/yum/misc.py > index 921b95c..35b8056 100644 > --- a/yum/misc.py > +++ b/yum/misc.py > @@ -899,7 +899,7 @@ def unlink_f

[Yum-devel] yum-utils 1.1.27 released

2010-06-06 Thread Tim Lauridsen
yum-utils 1.1.27 is now released. check the changelog[1] for changes tarball : http://yum.baseurl.org/download/yum-utils/yum-utils-1.1.27.tar.gz srpm: http://yum.baseurl.org/download/yum-utils/yum-utils-1.1.27-1.src.rpm [1]: http://yum.baseurl.org/gitweb?p=yum-utils.git;a=blob;f=ChangeLog;h=4dc

Re: [Yum-devel] [PATCH 1/9] Only import comps when we use it

2010-06-04 Thread Tim Lauridsen
On Wed, Jun 2, 2010 at 11:47 PM, seth vidal wrote: > On Wed, 2010-06-02 at 17:40 -0400, James Antill wrote: > > --- > > yum/__init__.py |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > As discussed on irc - the elementree patch makes sense since it makes > such an impact o

Re: [Yum-devel] Speed comparison with older versions, and analysis of overhead from rpm

2010-06-04 Thread Tim Lauridsen
On Fri, Jun 4, 2010 at 11:40 PM, James Antill wrote: > > I've spent a significant amount of time looking at where our overheads > are vs. just using rpm again over the last week or so. > I figured I'd stick something on the wiki. for anyone else who is > insan^W looking at yum performance. > I

Re: [Yum-devel] [PATCH] in python 3k (and in the new rpm-python bindings) rpm is returning flags as LONGS not INTS - so this code breaks w/o this fix.

2010-06-01 Thread Tim Lauridsen
On Tue, Jun 1, 2010 at 7:13 PM, Seth Vidal wrote: > most importantly it breaks mock > --- > rpmUtils/miscutils.py |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/rpmUtils/miscutils.py b/rpmUtils/miscutils.py > index 8e46541..b1631ae 100644 > --- a/rpmUtils/miscutils

Re: [Yum-devel] random todos

2010-06-01 Thread Tim Lauridsen
On Tue, Jun 1, 2010 at 6:53 PM, seth vidal wrote: > On Tue, 2010-06-01 at 18:40 +0200, Tim Lauridsen wrote: > > > > > > These are more or less just dumps of my gnote todolists + some > > paper > > notes. If anyone is int

Re: [Yum-devel] random todos

2010-06-01 Thread Tim Lauridsen
On Tue, Jun 1, 2010 at 5:35 PM, James Antill wrote: > > • "cyum" C API to yum ... this is pain, there are also a few features > that aren't much extra on top of the initial pain so it's a bit more > than that. I don't expect anyone else to be insane enough to do this, > and I haven't lost it enoug

Re: [Yum-devel] random todos

2010-06-01 Thread Tim Lauridsen
> > > > These are more or less just dumps of my gnote todolists + some paper > notes. If anyone is interested in working on any of them, patches are > welcome, of course and if you have questions about how to do them, ask > here or come by #yum on freenode. > > -sv > > > Maybe making a wiki page, w

Re: [Yum-devel] [PATCH 1/2] Deal with RHEL-5 loginuid damage

2010-06-01 Thread Tim Lauridsen
On Tue, Jun 1, 2010 at 6:23 PM, James Antill wrote: > --- > output.py |5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/output.py b/output.py > index 7a3cfb0..de04b83 100755 > --- a/output.py > +++ b/output.py > @@ -1252,8 +1252,9 @@ to exit. > return coun

Re: [Yum-devel] [PATCH 2/2] Fix pkgs. that are excluded after being put in yb.up ... BZ#597853

2010-06-01 Thread Tim Lauridsen
On Tue, Jun 1, 2010 at 6:23 PM, James Antill wrote: > --- > yum/__init__.py | 34 -- > 1 files changed, 24 insertions(+), 10 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 8a2fbf4..43cbead 100644 > --- a/yum/__init__.py > +++ b/yum/__ini

[Yum-devel] [PATCH] SKIP-BROKEN: fix issue where the loop detection are triggered because the have been a unchanged transaction earlier in a skip-broken loop, but was solved by hard reseting the trans

2010-05-17 Thread Tim Lauridsen
--- yum/__init__.py |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/yum/__init__.py b/yum/__init__.py index 9546aec..ad9086d 100644 --- a/yum/__init__.py +++ b/yum/__init__.py @@ -1023,6 +1023,10 @@ class YumBase(depsolve.Depsolve): else:

Re: [Yum-devel] [PATCH] Handle obsoleting pkgs. which are excluded after obsoleted_dict setup

2010-05-17 Thread Tim Lauridsen
On Sun, May 16, 2010 at 2:16 AM, James Antill wrote: > --- > yum/__init__.py |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 9546aec..612b6ab 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -3389,7 +3389,12

Re: [Yum-devel] [PATCH 3/3] Do the second fix, for the previous testcase. Seems correct, but not 100%.

2010-05-08 Thread Tim Lauridsen
On Sat, May 8, 2010 at 11:55 PM, James Antill wrote: > --- > yum/depsolve.py |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/yum/depsolve.py b/yum/depsolve.py > index eb47587..3819026 100644 > --- a/yum/depsolve.py > +++ b/yum/depsolve.py > @@ -521,8 +521,9 @@ cl

Re: [Yum-devel] [PATCH 2/3] Add a fix for the _old_ bug, and a comment about another possible fix.

2010-05-08 Thread Tim Lauridsen
On Sat, May 8, 2010 at 11:55 PM, James Antill wrote: > --- > yum/depsolve.py | 12 +--- > 1 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a/yum/depsolve.py b/yum/depsolve.py > index 17b2ce9..eb47587 100644 > --- a/yum/depsolve.py > +++ b/yum/depsolve.py > @@ -515,8 +515

Re: [Yum-devel] [PATCH 1/3] Add a couple of depsolve tests, from a bug I found updating F-13.

2010-05-08 Thread Tim Lauridsen
On Sat, May 8, 2010 at 11:55 PM, James Antill wrote: > --- > test/simpleupdatetests.py | 40 > 1 files changed, 40 insertions(+), 0 deletions(-) > > diff --git a/test/simpleupdatetests.py b/test/simpleupdatetests.py > index f02cc75..8232675 100644 > ---

Re: [Yum-devel] [PATCH] Show which repos. were cleaned, in yum clean XYZ

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 4:52 PM, James Antill wrote: > --- > cli.py | 29 ++--- > yum/__init__.py | 28 > 2 files changed, 34 insertions(+), 23 deletions(-) > > diff --git a/cli.py b/cli.py > index fc91de2..a075fa0 100644 > --- a/c

Re: [Yum-devel] [PATCH 8/9] Fix sorting of historic rpmdb problems

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:12 PM, James Antill wrote: > --- > yum/history.py |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/yum/history.py b/yum/history.py > index bd10e51..8983261 100644 > --- a/yum/history.py > +++ b/yum/history.py > @@ -131,7 +131,7 @@ class YumH

Re: [Yum-devel] [PATCH 9/9] Save, and then Highlight, the "main" package which has a problem

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:12 PM, James Antill wrote: > --- > output.py | 12 +--- > yum/history.py | 15 +++ > 2 files changed, 20 insertions(+), 7 deletions(-) > > diff --git a/output.py b/output.py > index 484fd5e..7a3cfb0 100755 > --- a/output.py > +++ b/output.py

Re: [Yum-devel] [PATCH 7/9] Mark pre-exsting rpmdb problems in history list, with 'P'.

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:12 PM, James Antill wrote: > --- > docs/yum.8 |2 ++ > output.py |2 ++ > 2 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/docs/yum.8 b/docs/yum.8 > index f9eb7fd..053173d 100644 > --- a/docs/yum.8 > +++ b/docs/yum.8 > @@ -320,6 +320,8 @@ if the

Re: [Yum-devel] [PATCH 6/9] Move obsoleted.obsoleter check into the correct problem loop

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:12 PM, James Antill wrote: > --- > yum/__init__.py |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index ca1bff0..dbc1be8 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -1229,14 +1229,14 @@

Re: [Yum-devel] [PATCH 5/9] Output cmdline and rpmdb problems in history info

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:11 PM, James Antill wrote: > --- > output.py | 46 +++--- > 1 files changed, 31 insertions(+), 15 deletions(-) > > diff --git a/output.py b/output.py > index 65d3f44..188c52a 100755 > --- a/output.py > +++ b/output.py > @@ -1438,

Re: [Yum-devel] [PATCH 4/9] Save rpmdb problems, and cmdline, into yum history

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:11 PM, James Antill wrote: > --- > yum/__init__.py | 14 +- > 1 files changed, 9 insertions(+), 5 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 57c92f3..ca1bff0 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -1243,7 +1

Re: [Yum-devel] [PATCH 3/9] Add rpmdb problems, and cmdline to the history DBv2 update

2010-05-07 Thread Tim Lauridsen
> +packages = property(fget=lambda self: self._getProbPkgs()) > Any reason for we use the syntax all over yum, instead of @property def packages(self): return self._getProbPkgs() much more readable in my world :) ACK ___ Yum-devel mailing

Re: [Yum-devel] [PATCH 2/9] Add three views to make look at history by hand easier

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:11 PM, James Antill wrote: > --- > yum/history.py | 25 + > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/yum/history.py b/yum/history.py > index 7305a62..358edf1 100644 > --- a/yum/history.py > +++ b/yum/history.py > @@ -65

Re: [Yum-devel] [PATCH 1/9] Add skip broken packages to history transaction.

2010-05-07 Thread Tim Lauridsen
On Thu, May 6, 2010 at 9:11 PM, James Antill wrote: > --- > docs/yum.8 |2 + > output.py | 24 +- > yum/__init__.py |4 ++- > yum/history.py | 70 > ++- > 4 files changed, 96 insertions(+), 4 deletions(-)

[Yum-devel] [PATCH] Make sure we have and int flag + added docstrings (rhbz #572770)

2010-04-30 Thread Tim Lauridsen
--- rpmUtils/miscutils.py | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rpmUtils/miscutils.py b/rpmUtils/miscutils.py index b5f3566..8e46541 100644 --- a/rpmUtils/miscutils.py +++ b/rpmUtils/miscutils.py @@ -341,11 +341,17 @@ def rpm2cpio(fdno, out=sys.stdout,

[Yum-devel] Pylint errors

2010-04-28 Thread Tim Lauridsen
Hi, i have fixed most of the pylint errors/warning in current yum, but i not sure about how to solve this one. * Module rpmUtils.arch W0109: 14: Duplicate key 'sparc64v' in dictionary there is 2 indentical key in arch dictionary, but what is the right solution ? # sparc "spa

Re: [Yum-devel] [PATCH 4/4] Add -pkgname to install etc., so we can test tsInfo.deselect()

2010-04-22 Thread Tim Lauridsen
> > /me feels us slipping down a nasty slope. > > > what's next !pkg and %pkg so we can do inversion and division operations? > :) > > -sv > > > ___ > Yum-devel mailing list > Yum-devel@lists.baseurl.org > http://lists.baseurl.org/mailman/listinfo/yum-dev

Re: [Yum-devel] [PATCH 4/4] Add -pkgname to install etc., so we can test tsInfo.deselect()

2010-04-21 Thread Tim Lauridsen
On Mon, Apr 19, 2010 at 10:00 PM, James Antill wrote: > --- > docs/yum.8 |7 ++- > yum/__init__.py | 38 +- > 2 files changed, 39 insertions(+), 6 deletions(-) > > diff --git a/docs/yum.8 b/docs/yum.8 > index 6761f1c..1089b7d 100644 > --- a/docs

Re: [Yum-devel] [PATCH 2/4] Speedup distro-sync, only get the latest pkgs for those we are interested in

2010-04-21 Thread Tim Lauridsen
On Mon, Apr 19, 2010 at 10:00 PM, James Antill wrote: > --- > cli.py |9 - > 1 files changed, 8 insertions(+), 1 deletions(-) > > diff --git a/cli.py b/cli.py > index 1678e65..4d5b538 100644 > --- a/cli.py > +++ b/cli.py > @@ -721,7 +721,14 @@ class YumBaseCli(yum.YumBase, output.Yum

Re: [Yum-devel] [PATCH 3/4] Add tsInfo.deselect() so we can remove it from anaconda

2010-04-21 Thread Tim Lauridsen
On Mon, Apr 19, 2010 at 10:00 PM, James Antill wrote: > --- > yum/transactioninfo.py | 32 > 1 files changed, 32 insertions(+), 0 deletions(-) > > diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py > index dfa34b3..41af838 100644 > --- a/yum/transacti

Re: [Yum-devel] [PATCH] Add primary_only arg. to returnFileTypes(), use it from transactioninfo sack so that we don't require filelists to be downloaded.

2010-04-19 Thread Tim Lauridsen
On Thu, Apr 15, 2010 at 6:55 PM, James Antill wrote: > --- > yum/packages.py| 23 --- > yum/sqlitesack.py | 11 ++- > yum/transactioninfo.py |2 +- > 3 files changed, 31 insertions(+), 5 deletions(-) > > diff --git a/yum/packages.py b/yum/packages

Re: [Yum-devel] [PATCH 2/2] Fix rpmdb.getProvides(), found by the new provides check!

2010-04-16 Thread Tim Lauridsen
On Thu, Apr 15, 2010 at 7:35 AM, James Antill wrote: > --- > yum/rpmsack.py |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/yum/rpmsack.py b/yum/rpmsack.py > index e18df3f..eba1409 100644 > --- a/yum/rpmsack.py > +++ b/yum/rpmsack.py > @@ -322,8 +322,8 @@ class R

Re: [Yum-devel] [PATCH] Add a header to the automatic yum check output to make it more obvious.

2010-04-14 Thread Tim Lauridsen
On Wed, Apr 14, 2010 at 6:42 AM, James Antill wrote: > --- > yum/__init__.py |8 +++- > yumcommands.py |3 ++- > 2 files changed, 9 insertions(+), 2 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index e45d70a..35da86e 100644 > --- a/yum/__init__.py > +++ b/yum/__

Re: [Yum-devel] [PATCH] Slight speed increase for repodiff, up/11 vs. up/12: 8:27 => 1:50 :) :)

2010-04-14 Thread Tim Lauridsen
On Tue, Apr 13, 2010 at 11:19 PM, James Antill wrote: > --- > yum/packageSack.py |9 +++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/yum/packageSack.py b/yum/packageSack.py > index 723f0cd..7a5ce7a 100644 > --- a/yum/packageSack.py > +++ b/yum/packageSack.py > @

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 + >

Re: [Yum-devel] [PATCH] make sure when we return items we sort the counts of things matched from the tagsdb into the rest of the matches. FIXME added to get rid of the silly sorting list as it appears

2010-03-11 Thread Tim Lauridsen
On Fri, Mar 12, 2010 at 4:46 AM, Seth Vidal wrote: > > > On Thu, 11 Mar 2010, James Antill wrote: > > +# this bizarro sorted_lists format >>> +# FIXME - stab sorted_lists in the chest at some later date >>> +sorted_lists = {} >>> +for pkg in results_by_pkg: >>> >>

Re: [Yum-devel] [PATCH 2/2] First split any equal remaining space among overflowed columns

2010-03-04 Thread Tim Lauridsen
On Thu, Mar 4, 2010 at 8:28 PM, James Antill wrote: > --- > output.py | 15 +++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/output.py b/output.py > index 27fc81c..b4513d1 100755 > --- a/output.py > +++ b/output.py > @@ -408,6 +408,21 @@ class YumOutput: >

Re: [Yum-devel] [PATCH 1/2] Prefer to overflow the last column, as then grep still works

2010-03-04 Thread Tim Lauridsen
On Thu, Mar 4, 2010 at 8:28 PM, James Antill wrote: > --- > output.py |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/output.py b/output.py > index 110aa0b..27fc81c 100755 > --- a/output.py > +++ b/output.py > @@ -392,7 +392,10 @@ class YumOutput: >

Re: [Yum-devel] [PATCH] Make pkgs scriptable: ("%(ui_nevra)s - %(ui_from_repo)s" % pkg). BZ 570615

2010-03-04 Thread Tim Lauridsen
On Fri, Mar 5, 2010 at 1:12 AM, James Antill wrote: > --- > yum/packages.py |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/yum/packages.py b/yum/packages.py > index c473ece..33cbc39 100644 > --- a/yum/packages.py > +++ b/yum/packages.py > @@ -290,6 +290,9 @@ clas

Re: [Yum-devel] [PATCH] Make skipbroken run again if packages has been added to transaction by a postresolve plugin

2010-03-02 Thread Tim Lauridsen
On Tue, Mar 2, 2010 at 5:04 PM, Seth Vidal wrote: > > > > If you've been able to replicate it as a test case (or if you could add a > unittest) then ACK, definitely. > > -sv > > Don't think i can make a unit test to because, it need a plugin to add something with problems in postresolve, it is har

Re: [Yum-devel] [PATCH] Make skipbroken run again if packages has been added to transaction by a postresolve plugin

2010-03-02 Thread Tim Lauridsen
The root cause for this change is the yum-langpacks plugin in F13, there is adding LANG related packages in postresolve, and if these packages are broken, then --skip-broken can't help you. All tests are working echo n | sudo ./yummain.py -d5 --skip-broken --enablerepo=rawhide update is also wor

[Yum-devel] [PATCH] Make skipbroken run again if packages has been added to transaction by a postresolve plugin

2010-03-02 Thread Tim Lauridsen
--- yum/__init__.py | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/yum/__init__.py b/yum/__init__.py index f21001d..69af7ba 100644 --- a/yum/__init__.py +++ b/yum/__init__.py @@ -866,20 +866,16 @@ class YumBase(depsolve.Depsolve):

Re: [Yum-devel] [yum-commits] yum-complete-transaction.py

2010-03-02 Thread Tim Lauridsen
On Tue, Mar 2, 2010 at 4:57 AM, James Antill wrote: > yum-complete-transaction.py |1 + > 1 file changed, 1 insertion(+) > > New commits: > commit c6551fdca02f6f1500134d8a6832176320c7 > Author: James Antill > Date: Mon Mar 1 22:57:07 2010 -0500 > >Add yum-utils to the run_with_pac

Re: [Yum-devel] [PATCH 2/2] Much faster limiting obsoletes to the newest versions of packages

2010-02-24 Thread Tim Lauridsen
On Tue, Feb 23, 2010 at 7:53 PM, James Antill wrote: > --- > yum/packageSack.py | 26 -- > 1 files changed, 12 insertions(+), 14 deletions(-) > > diff --git a/yum/packageSack.py b/yum/packageSack.py > index 0d9301b..1278cba 100644 > --- a/yum/packageSack.py > +++ b/yum/

Re: [Yum-devel] [PATCH] Allow pkgtag_db to be loaded on RHEL-5, should work too

2010-02-24 Thread Tim Lauridsen
On Tue, Feb 23, 2010 at 7:53 PM, James Antill wrote: > --- > yum/pkgtag_db.py |3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/yum/pkgtag_db.py b/yum/pkgtag_db.py > index e72fd05..d2836e4 100644 > --- a/yum/pkgtag_db.py > +++ b/yum/pkgtag_db.py > @@ -17,8 +17,7 @@

  1   2   3   >