metacity r4044 - in trunk: . tools
- From: tthurman svn gnome org
- To: svn-commits-list gnome org
- Subject: metacity r4044 - in trunk: . tools
- Date: Wed, 26 Nov 2008 16:38:18 +0000 (UTC)
Author: tthurman
Date: Wed Nov 26 16:38:17 2008
New Revision: 4044
URL: http://svn.gnome.org/viewvc/metacity?rev=4044&view=rev
Log:
* tools/announce-wrangler.py: linked language codes to po files
* tools/commit-wrangler.py: print revision url
Modified:
trunk/ChangeLog
trunk/tools/announce-wrangler.py
trunk/tools/commit-wrangler.py
Modified: trunk/tools/announce-wrangler.py
==============================================================================
--- trunk/tools/announce-wrangler.py (original)
+++ trunk/tools/announce-wrangler.py Wed Nov 26 16:38:17 2008
@@ -4,6 +4,7 @@
import wordpresslib # http://www.blackbirdblog.it/programmazione/progetti/28
import ConfigParser
import os
+import re
doaps = glob.glob("*.doap")
@@ -120,6 +121,10 @@
print text_version
print "============ x8 x8 x8 ===== ENDS"
+translations = re.sub('\((.*)\)',
+ '(<a href="http://svn.gnome.org/viewvc/metacity/trunk/po/\\1.po">\\1</a>)',
+ translations)
+
html_version = """\
<b>What is it ?</b><br />
<ul>%s</ul>
Modified: trunk/tools/commit-wrangler.py
==============================================================================
--- trunk/tools/commit-wrangler.py (original)
+++ trunk/tools/commit-wrangler.py Wed Nov 26 16:38:17 2008
@@ -27,6 +27,7 @@
import os
import posixpath
import ConfigParser
+import re
# FIXME: Needs tidying into separate functions.
@@ -106,8 +107,7 @@
# Update the changelog
-print commands.getoutput("moap cl ci")
+checkin = commands.getoutput("moap cl ci")
-#print
-#print 'http://svn.gnome.org/viewvc/metacity?rev=%s&view=rev' % (checkin)
+print re.sub(".*Committed revision (\\d+).*", 'http://svn.gnome.org/viewvc/metacity?rev=\\1&view=rev', checkin)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]