incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r706250 - in /incubator/public/trunk: clutch.py site-author/clutch.xml site-publish/clutch.html
Date Mon, 20 Oct 2008 12:04:56 GMT
Author: crossley
Date: Mon Oct 20 05:04:56 2008
New Revision: 706250

URL: http://svn.apache.org/viewvc?rev=706250&view=rev
Log:
Explain that "dist" is not necessarily yet a release. Other minor tidy up.

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=706250&r1=706249&r2=706250&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Mon Oct 20 05:04:56 2008
@@ -246,25 +246,23 @@
 
   # See if they have a website yet.
   url = "http://incubator.apache.org/%s/" % projects[k]['statusFileName']
-  if url != "":
-    try:
-      urllib2.urlopen(url)
-    except IOError:
-      print 'INFO: %s: Does not yet have a website' % k
-    else:
-      projects[k]['url'] = url
+  try:
+    urllib2.urlopen(url)
+  except IOError:
+    print 'INFO: %s: Does not yet have a website' % k
+  else:
+    projects[k]['url'] = url
 
   # See if they have a distribution yet.
   # Probably need to instead get info from roberts's "audit" data.
   url = "http://www.apache.org/dist/incubator/%s/" % \
       projects[k]['statusFileName']
-  if url != "":
-    try:
-      urllib2.urlopen(url)
-    except IOError:
-      print 'INFO: %s: Does not yet have a distribution' % k
-    else:
-      projects[k]['dist'] = url
+  try:
+    urllib2.urlopen(url)
+  except IOError:
+    print 'INFO: %s: Does not yet have a distribution' % k
+  else:
+    projects[k]['dist'] = url
 
   # Gather recent updates to their status page.
   # FIXME: Perhaps this operation could be improved. Use "subprocess" module.
@@ -308,9 +306,6 @@
 # end of processing
 
 # Output the data
-# FIXME: to various formats storage
-print "-" * 50
-# FIXME: Use an xmlwriter?
 fileXml = open('site-author/clutch.xml', 'w')
 fileList = open('site-author/clutch.txt', 'w')
 headerXml = """<?xml version="1.0" encoding="utf-8"?>
@@ -384,7 +379,7 @@
           J: hasWebSite
         </li>
         <li>
-          K: hasDistribution - has w.a.o/dist/incubator/...
+          K: hasDistribution - has w.a.o/dist/incubator/... area (not necessarily yet a release)
         </li>
         <li>
           <span class="care">extra care</span>

Modified: incubator/public/trunk/site-author/clutch.xml
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-author/clutch.xml?rev=706250&r1=706249&r2=706250&view=diff
==============================================================================
--- incubator/public/trunk/site-author/clutch.xml (original)
+++ incubator/public/trunk/site-author/clutch.xml Mon Oct 20 05:04:56 2008
@@ -69,7 +69,7 @@
           J: hasWebSite
         </li>
         <li>
-          K: hasDistribution - has w.a.o/dist/incubator/...
+          K: hasDistribution - has w.a.o/dist/incubator/... area (not necessarily yet a release)
         </li>
         <li>
           <span class="care">extra care</span>
@@ -81,7 +81,7 @@
         </li>
       </ul>
       <p>
-        Clutch last gathered: Mon Oct 20 11:18:18 2008 UTC.<br />
+        Clutch last gathered: Mon Oct 20 11:58:56 2008 UTC.<br />
         Number of podlings in incubation: 36
       </p>
       <table id="clutch">

Modified: incubator/public/trunk/site-publish/clutch.html
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-publish/clutch.html?rev=706250&r1=706249&r2=706250&view=diff
==============================================================================
--- incubator/public/trunk/site-publish/clutch.html (original)
+++ incubator/public/trunk/site-publish/clutch.html Mon Oct 20 05:04:56 2008
@@ -154,7 +154,7 @@
           J: hasWebSite
         </li>
         <li>
-          K: hasDistribution - has w.a.o/dist/incubator/...
+          K: hasDistribution - has w.a.o/dist/incubator/... area (not necessarily yet a release)
         </li>
         <li>
           <span class="care">extra care</span>
@@ -166,7 +166,7 @@
         </li>
       </ul>
 <p>
-        Clutch last gathered: Mon Oct 20 11:18:18 2008 UTC.<br />
+        Clutch last gathered: Mon Oct 20 11:58:56 2008 UTC.<br />
         Number of podlings in incubation: 36
       </p>
 <table id="clutch" class="colortable" width="100%">



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


Mime
View raw message