incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1351910 - in /incubator/public/trunk: clutch.pkl clutch.py content/clutch.xml
Date Wed, 20 Jun 2012 01:29:00 GMT
Author: crossley
Date: Wed Jun 20 01:28:59 2012
New Revision: 1351910

URL: http://svn.apache.org/viewvc?rev=1351910&view=rev
Log:
Automate the linking of the Report wiki for this month.

Modified:
    incubator/public/trunk/clutch.pkl
    incubator/public/trunk/clutch.py
    incubator/public/trunk/content/clutch.xml

Modified: incubator/public/trunk/clutch.pkl
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.pkl?rev=1351910&r1=1351909&r2=1351910&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=1351910&r1=1351909&r2=1351910&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Wed Jun 20 01:28:59 2012
@@ -56,6 +56,7 @@ SITE_CONTENT/clutchr1.ent
 SITE_CONTENT/clutchr2.ent
 SITE_CONTENT/clutcho2.ent
 SITE_CONTENT/clutchm.ent
+SITE_CONTENT/clutchmy.ent
 SITE_CONTENT/report_due_1.txt
 SITE_CONTENT/report_due_2.txt
 SITE_CONTENT/report_due_3.txt
@@ -906,6 +907,10 @@ monthsLong = 'January February March Apr
 nameCurrentReport = "{0}{1}".format(monthsLong[gatherDate.month - 1], gatherDate.year)
 urlCurrentReport = "".join(["http://wiki.apache.org/incubator/", nameCurrentReport])
 
+fileXmlMY = open(SITE_CONTENT_DIR + 'clutchmy.ent', encoding='utf-8', mode='w')
+fileXmlMY.write('<a href="{0}">{1}</a>'.format(urlCurrentReport, nameCurrentReport))
+fileXmlMY.close()
+
 fileList = open(SITE_CONTENT_DIR + 'clutch.txt', 'w')
 
 fileXmlo1 = open(SITE_CONTENT_DIR + 'clutcho1.ent', encoding='utf-8', mode='w')

Modified: incubator/public/trunk/content/clutch.xml
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/clutch.xml?rev=1351910&r1=1351909&r2=1351910&view=diff
==============================================================================
--- incubator/public/trunk/content/clutch.xml [utf-8] (original)
+++ incubator/public/trunk/content/clutch.xml [utf-8] Wed Jun 20 01:28:59 2012
@@ -25,6 +25,7 @@
 <!ENTITY clutch-r1 SYSTEM  'clutchr1.ent'>
 <!ENTITY clutch-r2 SYSTEM  'clutchr2.ent'>
 <!ENTITY clutch-m  SYSTEM  'clutchm.ent'>
+<!ENTITY clutch-my SYSTEM  'clutchmy.ent'>
 ]>
 
 <document>
@@ -65,7 +66,7 @@
         </li>
         <li>
           C: reportingMonthly
-          (current report: <a href="http://wiki.apache.org/incubator/June2012">June2012</a>)
+          (current report: &clutch-my;)
         </li>
         <li>
           D: reportingGroup - in which set of months do they report:<br />



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message