incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1163900 - in /incubator/public/trunk: clutch-graduating.txt clutch.py site-author/style/style.css site-publish/style/style.css
Date Thu, 01 Sep 2011 03:33:20 GMT
Author: crossley
Date: Thu Sep  1 03:33:20 2011
New Revision: 1163900

URL: http://svn.apache.org/viewvc?rev=1163900&view=rev
Log:
Commence an attempt to handle projects that are graduating, but not yet managed to tidy up
their Incubator resources.

Added:
    incubator/public/trunk/clutch-graduating.txt   (with props)
Modified:
    incubator/public/trunk/clutch.py
    incubator/public/trunk/site-author/style/style.css
    incubator/public/trunk/site-publish/style/style.css

Added: incubator/public/trunk/clutch-graduating.txt
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch-graduating.txt?rev=1163900&view=auto
==============================================================================
--- incubator/public/trunk/clutch-graduating.txt (added)
+++ incubator/public/trunk/clutch-graduating.txt Thu Sep  1 03:33:20 2011
@@ -0,0 +1,7 @@
+# This data file is to assist Clutch to know which projects are in the
+# process of graduating. Until they tidy up their incubator presence and
+# while they remain in ReportingSchedule and "Currently in incubation" table
+# then Clutch needs to be told.
+#
+# Manually maintained.
+# One name per line, matches the ReportingSchedule name, lower-case, no spaces.

Propchange: incubator/public/trunk/clutch-graduating.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=1163900&r1=1163899&r2=1163900&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Thu Sep  1 03:33:20 2011
@@ -311,6 +311,15 @@ for row in table2.getElementsByTagName("
 
 dom.unlink()
 
+print "Gather data from the graduating list ..."
+graduates = []
+inputFile = open('clutch-graduating.txt', 'r')
+for line in inputFile:
+  if '#' not in line:
+    if re.match('^[a-z]+$', line):
+      graduates.append(line.rstrip())
+inputFile.close()
+
 # Process the incubation table data, detect some potential issues.
 print "Gather details from project status files ..."
 projectNames = projectsTable.keys()
@@ -1041,7 +1050,10 @@ for k in projectNames:
   if tableRowCount == tableRowCountMid:
     fileXml.write(tableColumnHeadersXml)
   fileXml.write('        <tr id="%s">\n' % k)
-  fileXml.write('          <td>%s</td>\n' % projects[k]['name'])
+  fileXml.write('          <td')
+  if k in graduates:
+    fileXml.write(' class="grad"')
+  fileXml.write('>%s</td>\n' % projects[k]['name'])
   output[k] = {}
   output[k]['podlingName'] = projects[k]['name']
 
@@ -1293,6 +1305,10 @@ stepsXml = """    <section id="steps">
           (<a href="guides/mentor.html#Sending+in+an+Incubation+Report">doc</a>
and
           <a href="guides/ppmc.html#Incubator+ASF+Board+Reports">doc</a>)
         </li>
+        <li>Project - If this cell is highlighted with a border, then this
+          project is in the process of graduating and not yet finished their
+          move. See <a href="#other">Other issues</a> below.
+        </li>
         <li id="h-Sponsor">Sponsor -
           This information is gathered from the list of
           <a href="projects/">Projects in incubation</a> summary table.

Modified: incubator/public/trunk/site-author/style/style.css
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-author/style/style.css?rev=1163900&r1=1163899&r2=1163900&view=diff
==============================================================================
--- incubator/public/trunk/site-author/style/style.css (original)
+++ incubator/public/trunk/site-author/style/style.css Thu Sep  1 03:33:20 2011
@@ -76,6 +76,9 @@ h4 {
 #clutch td {
   padding: 0.2em;
 }
+#clutch td.grad {
+  border: 2px solid #d55e00;
+}
 #clutch td.number {
   text-align: right; 
 }

Modified: incubator/public/trunk/site-publish/style/style.css
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-publish/style/style.css?rev=1163900&r1=1163899&r2=1163900&view=diff
==============================================================================
--- incubator/public/trunk/site-publish/style/style.css (original)
+++ incubator/public/trunk/site-publish/style/style.css Thu Sep  1 03:33:20 2011
@@ -76,6 +76,9 @@ h4 {
 #clutch td {
   padding: 0.2em;
 }
+#clutch td.grad {
+  border: 2px solid #d55e00;
+}
 #clutch td.number {
   text-align: right; 
 }



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


Mime
View raw message