Re: [Yum-devel] [PATCH] yum-debug-restore: restore installonly pkgs. BZ 737597.

2011-11-08 Thread Zdenek Pavlas
Argh, two typos in a 9-line patch. > without having to change anything from "if" to > "elif" ... and so all the conditionals line up. Aye. > > > +if not po.pkgtup in opkgtups: > > +ret.append(("remove", pkgtup2str(*po.pkgtup))) > > The * is wrong here ... we also g

[Yum-devel] [PATCH] yum-debug-restore: restore installonly pkgs. BZ 737597.

2011-11-08 Thread Zdeněk Pavlas
--- yum-debug-restore.py |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/yum-debug-restore.py b/yum-debug-restore.py index fd95741..32574a7 100755 --- a/yum-debug-restore.py +++ b/yum-debug-restore.py @@ -107,11 +107,15 @@ def pkg_data2list(yb, opkgtups, opkgmaps,

Re: [Yum-devel] [PATCH] yum-debug-restore: restore installonly pkgs. BZ 737597.

2011-11-08 Thread James Antill
On Fri, 2011-11-04 at 16:04 +0100, Zdeněk Pavlas wrote: > --- > yum-debug-restore.py | 10 +- > 1 files changed, 9 insertions(+), 1 deletions(-) > > diff --git a/yum-debug-restore.py b/yum-debug-restore.py > index fd95741..27deea3 100755 > --- a/yum-debug-restore.py > +++ b/yum-debug-re

Re: [Yum-devel] separate 'Modified' packages from repodiff into 'Upgraded' and 'Downgraded'

2011-11-08 Thread James Antill
On Thu, 2011-11-03 at 14:26 -0400, Dennis Gregorovic wrote: > Hi, > > Currently, repodiff reports which packages have been Added, Removed, and > Modified. It often would be useful to know which of the Modified > packages would be upgrades and which would be downgrades. I'm think > simple evr com