extras-buildsys/utils/pushscript WhatsNew.py,1.7,1.8
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Mon Sep 10 22:27:01 UTC 2007
- Previous message (by thread): rpms/eclipse-cdt/devel .cvsignore, 1.31, 1.32 eclipse-cdt.spec, 1.83, 1.84 sources, 1.39, 1.40
- Next message (by thread): rpms/eclipse-cdt/F-7 .cvsignore, 1.31, 1.32 eclipse-cdt.spec, 1.81, 1.82 sources, 1.37, 1.38
- 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-serv29005
Modified Files:
WhatsNew.py
Log Message:
inherit stable dist when doing WhatsNew name queries
Index: WhatsNew.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/WhatsNew.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- WhatsNew.py 10 May 2007 14:18:52 -0000 1.7
+++ WhatsNew.py 10 Sep 2007 22:26:59 -0000 1.8
@@ -102,7 +102,13 @@
def queryname(dist,name):
"""query whether source rpm name is known, returns True or False"""
- return names.has_key(dist) and names[dist].has_key(name)
+ instable = names.has_key(dist) and names[dist].has_key(name)
+ if dist.startswith('testing/'):
+ dist = dist.replace('testing/', '')
+ intesting = names.has_key(dist) and names[dist].has_key(name)
+ return (instable or intesting)
+ else:
+ return instable
def put(dist,srcrpm,ts):
- Previous message (by thread): rpms/eclipse-cdt/devel .cvsignore, 1.31, 1.32 eclipse-cdt.spec, 1.83, 1.84 sources, 1.39, 1.40
- Next message (by thread): rpms/eclipse-cdt/F-7 .cvsignore, 1.31, 1.32 eclipse-cdt.spec, 1.81, 1.82 sources, 1.37, 1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list