incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r881157 - in /incubator/public/trunk: clutch.py site-author/clutch.xml site-publish/clutch.html
Date Tue, 17 Nov 2009 05:05:49 GMT
Author: crossley
Date: Tue Nov 17 05:05:49 2009
New Revision: 881157

URL: http://svn.apache.org/viewvc?rev=881157&view=rev
Log:
Detect dags from projects not tidying up their dist area after graduation.

Modified:
    incubator/public/trunk/clutch.py
    incubator/public/trunk/site-author/clutch.xml
    incubator/public/trunk/site-publish/clutch.html

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=881157&r1=881156&r2=881157&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Tue Nov 17 05:05:49 2009
@@ -258,6 +258,14 @@
   else:
     print 'ERROR: %s: row exists' % id
 
+print "Gather data from the projects-graduated table ..."
+graduatedProjects = {}
+table2 = dom.getElementsByTagName("table")[1]
+for row in table2.getElementsByTagName("tr")[1:]:
+  # FIXME: surely this can be improved
+  nameGraduate = getText(row.getElementsByTagName("td")[0].getElementsByTagName("a")[0].childNodes)
+  graduatedProjects[nameGraduate.lower()] = True
+
 dom.unlink()
 
 # Process the incubation table data, detect some potential issues.
@@ -476,6 +484,21 @@
       releases[match.group(1)]
     except KeyError:
       releases[match.group(1)] = True
+for k in releases:
+  try:
+    projects[k]
+  except KeyError:
+    try:
+      graduatedProjects[k]
+    except KeyError:
+      print 'INFO: %s: dormant/retired project has remains on Incubator mirrors' % k
+    else:
+      print 'ERROR: %s: graduated project has remains on Incubator mirrors' % k
+      errorMsg = """%(a)s: Has graduated, but still has remains on Incubator distribution
mirrors""" % \
+          {'a': k}
+      errorMsg += ". See <a href=\"#h-Graduate\">help</a>."
+      otherIssues.append(errorMsg)
+      continue
 
 print "Processing ..."
 # Process the reporting schedule data, correlate and ensure each exists in the

Modified: incubator/public/trunk/site-author/clutch.xml
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-author/clutch.xml?rev=881157&r1=881156&r2=881157&view=diff
==============================================================================
--- incubator/public/trunk/site-author/clutch.xml [utf-8] (original)
+++ incubator/public/trunk/site-author/clutch.xml [utf-8] Tue Nov 17 05:05:49 2009
@@ -119,9 +119,10 @@
         <li>
           S: hasRelease - has a release in their distribution area
         </li>
+<li>other issues <a href="#other">listed</a> below for:  <span class="care">abdera</span>
 <span class="care">sanselan</span>  <span class="care">buildr</span>
 <span class="care">sling</span>  <span class="care">couchdb</span>
 <span class="care">pig</span>  <span class="care">tika</span> </li>
       </ul>
       <p>
-        Clutch last gathered: Tue Nov 17 03:11:58 2009 UTC.<br />
+        Clutch last gathered: Tue Nov 17 04:55:50 2009 UTC.<br />
         Number of podlings in incubation: 38
       </p>
       <table id="clutch">
@@ -895,7 +896,7 @@
           <td class="cool1"><a href="projects/trafficserver.html">True</a></td>
           <td>2009-11-17</td>
           <td></td>
-          <td>10,12,12</td>
+          <td>12,14,14</td>
           <td class="cool1"><a href="http://people.apache.org/~jim/projects.html#trafficserver">11</a></td>
           <td class="cool1">3</td>
           <td class="cool1"><a href="http://svn.apache.org/repos/asf/incubator/trafficserver/">True</a></td>
@@ -1077,7 +1078,13 @@
         ReportingSchedule, yet listed in IncubationTable.
       </p>
       <ul>
-        <li>No known issues.</li>
+        <li>abdera: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>sanselan: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>buildr: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>sling: Has graduated, but still has remains on Incubator distribution mirrors.
See <a href="#h-Graduate">help</a>.</li>
+        <li>couchdb: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>pig: Has graduated, but still has remains on Incubator distribution mirrors.
See <a href="#h-Graduate">help</a>.</li>
+        <li>tika: Has graduated, but still has remains on Incubator distribution mirrors.
See <a href="#h-Graduate">help</a>.</li>
       </ul>
     </section>
     <section id="notes">

Modified: incubator/public/trunk/site-publish/clutch.html
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-publish/clutch.html?rev=881157&r1=881156&r2=881157&view=diff
==============================================================================
--- incubator/public/trunk/site-publish/clutch.html [utf-8] (original)
+++ incubator/public/trunk/site-publish/clutch.html [utf-8] Tue Nov 17 05:05:49 2009
@@ -203,9 +203,10 @@
         <li>
           S: hasRelease - has a release in their distribution area
         </li>
+<li>other issues <a href="#other">listed</a> below for:  <span class="care">abdera</span>
 <span class="care">sanselan</span>  <span class="care">buildr</span>
 <span class="care">sling</span>  <span class="care">couchdb</span>
 <span class="care">pig</span>  <span class="care">tika</span> </li>
       </ul>
 <p>
-        Clutch last gathered: Tue Nov 17 03:11:58 2009 UTC.<br />
+        Clutch last gathered: Tue Nov 17 04:55:50 2009 UTC.<br />
         Number of podlings in incubation: 38
       </p>
 <table id="clutch" class="colortable" width="100%">
@@ -979,7 +980,7 @@
           <td class="cool1"><a href="projects/trafficserver.html">True</a></td>
           <td>2009-11-17</td>
           <td />
-          <td>10,12,12</td>
+          <td>12,14,14</td>
           <td class="cool1"><a href="http://people.apache.org/~jim/projects.html#trafficserver">11</a></td>
           <td class="cool1">3</td>
           <td class="cool1"><a href="http://svn.apache.org/repos/asf/incubator/trafficserver/">True</a></td>
@@ -1163,7 +1164,13 @@
         ReportingSchedule, yet listed in IncubationTable.
       </p>
 <ul>
-        <li>No known issues.</li>
+        <li>abdera: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>sanselan: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>buildr: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>sling: Has graduated, but still has remains on Incubator distribution mirrors.
See <a href="#h-Graduate">help</a>.</li>
+        <li>couchdb: Has graduated, but still has remains on Incubator distribution
mirrors. See <a href="#h-Graduate">help</a>.</li>
+        <li>pig: Has graduated, but still has remains on Incubator distribution mirrors.
See <a href="#h-Graduate">help</a>.</li>
+        <li>tika: Has graduated, but still has remains on Incubator distribution mirrors.
See <a href="#h-Graduate">help</a>.</li>
       </ul>
 </div>
            <h2><img src="./images/redarrow.gif" />



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


Mime
View raw message