upgradecheck upgradecheck.py,1.9,1.10
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sun Jun 18 16:22:42 UTC 2006
- Previous message (by thread): rpms/flow-tools/FC-5 flow-tools-0.68-0001-Fix-first-line-of-included-python-scripts.patch, NONE, 1.1 flow-tools-0.68-0002-Fix-an-invalid-lvalue-in-assignment-compile-error.patch, NONE, 1.1 flow-tools-0.68-0003-Avoid-external-debug-variable.patch, NONE, 1.1 flow-tools-0.68-0004-Make-flow-tools-more-FHS-compliant-and-buildable-by-newer-toolchain.patch, NONE, 1.1 flow-tools-0.68-0005-Fix-breakage-on-64bit-platforms.patch, NONE, 1.1 flow-tools-0.68-0006-Fix-unitialized-variable-in-flow-send.patch, NONE, 1.1 flow-tools-0.68-0007-Add-extra-debugging-to-ftpdu_verify.patch, NONE, 1.1 flow-tools-0.68-0008-Fix-unitialized-variable-in-flow-export.c.patch, NONE, 1.1 flow-tools.spec, 1.6, 1.7 flow-tools-0.68a.patch, 1.1, NONE flow-tools-0.68b.patch, 1.1, NONE
- Next message (by thread): rpms/emacs-auctex/FC-5 auctex-11.83-buildsys.patch,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: scop
Update of /cvs/fedora/upgradecheck
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8504
Modified Files:
upgradecheck.py
Log Message:
Fix thinko in tracking the last seen version. D'oh, more broken upgrade paths.
Index: upgradecheck.py
===================================================================
RCS file: /cvs/fedora/upgradecheck/upgradecheck.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- upgradecheck.py 18 Jun 2006 10:15:29 -0000 1.9
+++ upgradecheck.py 18 Jun 2006 16:22:40 -0000 1.10
@@ -155,17 +155,19 @@
bork = None # index of first repo w/ problem
ix = 0
for curr in pkgdata:
- if not curr:
- # package missing from this repo
+ if not curr or not last:
+ # package missing from this repo or nothing to compare against
# TODO: detect holes in continuum
pass
- elif last is None or name in known_good[enabled_dists[ix]]:
- # first one seen or "known good" workaround
- last = curr["evr"]
+ elif name in known_good[enabled_dists[ix]]:
+ # "known good" workaround -> skip compare
+ pass
elif compareEVR(last, curr["evr"]) > 0:
# versioning problem
bork = ix - 1
break
+ if curr:
+ last = curr["evr"]
ix = ix + 1
if bork is not None:
ix = bork
- Previous message (by thread): rpms/flow-tools/FC-5 flow-tools-0.68-0001-Fix-first-line-of-included-python-scripts.patch, NONE, 1.1 flow-tools-0.68-0002-Fix-an-invalid-lvalue-in-assignment-compile-error.patch, NONE, 1.1 flow-tools-0.68-0003-Avoid-external-debug-variable.patch, NONE, 1.1 flow-tools-0.68-0004-Make-flow-tools-more-FHS-compliant-and-buildable-by-newer-toolchain.patch, NONE, 1.1 flow-tools-0.68-0005-Fix-breakage-on-64bit-platforms.patch, NONE, 1.1 flow-tools-0.68-0006-Fix-unitialized-variable-in-flow-send.patch, NONE, 1.1 flow-tools-0.68-0007-Add-extra-debugging-to-ftpdu_verify.patch, NONE, 1.1 flow-tools-0.68-0008-Fix-unitialized-variable-in-flow-export.c.patch, NONE, 1.1 flow-tools.spec, 1.6, 1.7 flow-tools-0.68a.patch, 1.1, NONE flow-tools-0.68b.patch, 1.1, NONE
- Next message (by thread): rpms/emacs-auctex/FC-5 auctex-11.83-buildsys.patch,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list