]> source.dussan.org Git - vaadin-framework.git/commitdiff
Merged [9014] from 6.1 to 6.2: Added a script to list closed tickets in Release Notes.
authorMarko Grönroos <magi@iki.fi>
Thu, 1 Oct 2009 14:53:18 +0000 (14:53 +0000)
committerMarko Grönroos <magi@iki.fi>
Thu, 1 Oct 2009 14:53:18 +0000 (14:53 +0000)
svn changeset:9015/svn branch:6.2

build/bin/closed-to-rn.py [new file with mode: 0755]

diff --git a/build/bin/closed-to-rn.py b/build/bin/closed-to-rn.py
new file mode 100755 (executable)
index 0000000..30fe354
--- /dev/null
@@ -0,0 +1,16 @@
+#!/usr/bin/python
+
+import sys,string
+
+filename = sys.argv[1]
+
+fin = open(filename, "r")
+lines = fin.readlines()
+fin.close()
+
+for line in lines:
+       fields = string.split(line, "\t")
+
+       if fields[0] != "id":
+               ticketid = "<a href=\"http://dev.itmill.com/ticket/%s\">#%s</a>" % (fields[0],fields[0])
+               print "  <li>%s: %s</li>" % (ticketid, fields[1])