extras-buildsys/utils/pushscript WhatsNew.py,1.3,1.4
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Sat Mar 3 10:09:45 UTC 2007
- Previous message: rpms/unrtf/devel unrtf-0.20.2-fb2ansi.patch, NONE, 1.1 unrtf-0.20.2-in_pict.patch, NONE, 1.1 unrtf.spec, 1.9, 1.10
- Next message: rpms/agave/FC-6 .cvsignore, 1.3, 1.4 agave.spec, 1.4, 1.5 sources, 1.3, 1.4
- 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-serv24410
Modified Files:
WhatsNew.py
Log Message:
- empty changelog diffs should at least print an empty line for
better readability (in the summary)
- compared with a previous package release, print most recent changelog
entries in a new package release again if they are not newer, but have
changed (example between smolt-0.9.1-1.fc7 and smolt-0.9.2-1.fc7)
Index: WhatsNew.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/WhatsNew.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WhatsNew.py 2 Mar 2007 16:40:05 -0000 1.3
+++ WhatsNew.py 3 Mar 2007 10:09:43 -0000 1.4
@@ -127,7 +127,7 @@
if haveold and (clogtup == oldclog[0]):
break
(clogname, clogtime, clogtext) = clogtup
- if datetime.date.fromtimestamp(clogtime) > reftime:
+ if datetime.date.fromtimestamp(clogtime) >= reftime:
tosave.append( (clogname,clogtime,clogtext) )
else:
break
@@ -147,7 +147,10 @@
pkgids = clogdiffs[dist].keys()
pkgids.sort()
for pkgid in pkgids:
- rv += '%s\n' % pkgid +'-'*len(pkgid)+'\n%s' % clogdiffs[dist][pkgid]
+ clog = clogdiffs[dist][pkgid]
+ if not len(clog):
+ clog = '\n'
+ rv += '%s\n' % pkgid +'-'*len(pkgid)+'\n'+clog
return rv
- Previous message: rpms/unrtf/devel unrtf-0.20.2-fb2ansi.patch, NONE, 1.1 unrtf-0.20.2-in_pict.patch, NONE, 1.1 unrtf.spec, 1.9, 1.10
- Next message: rpms/agave/FC-6 .cvsignore, 1.3, 1.4 agave.spec, 1.4, 1.5 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list