extras-buildsys/utils/pushscript WhatsNew.py,1.8,1.9
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Mon Sep 10 23:01:03 UTC 2007
- Previous message (by thread): rpms/radeontool/devel radeontool-1.5.diff, NONE, 1.1 radeontool-fix-option-handling.diff, NONE, 1.1 radeontool-get-rid-of-lspci.diff, NONE, 1.1 radeontool.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/eclipse-cdt/EL-5 .cvsignore, 1.31, 1.32 eclipse-cdt.spec, 1.80, 1.81 sources, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30421
Modified Files:
WhatsNew.py
Log Message:
inherit from stable dist when doing WhatsNew changelog queries
Index: WhatsNew.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/WhatsNew.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- WhatsNew.py 10 Sep 2007 22:26:59 -0000 1.8
+++ WhatsNew.py 10 Sep 2007 23:01:01 -0000 1.9
@@ -135,9 +135,18 @@
def getclog(dist,name):
"""get the list of most recent changelog 3-tuples for this package, if any have been stored in the WhatsNew db before"""
- if not names.has_key(dist):
- return []
- return names[dist].get(name,[])
+ def _getclog(dist,name):
+ if not names.has_key(dist):
+ return []
+ return names[dist].get(name,[])
+
+ if dist.startswith('testing/'):
+ testingclog = _getclog(dist,name)
+ if len(testingclog):
+ return testingclog
+ # inherit changelogs from stable repo
+ dist = dist.replace('testing/', '')
+ return _getclog(dist,name)
def formatclog(clogtuples):
- Previous message (by thread): rpms/radeontool/devel radeontool-1.5.diff, NONE, 1.1 radeontool-fix-option-handling.diff, NONE, 1.1 radeontool-get-rid-of-lspci.diff, NONE, 1.1 radeontool.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/eclipse-cdt/EL-5 .cvsignore, 1.31, 1.32 eclipse-cdt.spec, 1.80, 1.81 sources, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list