incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r904092 - /incubator/public/trunk/clutch.py
Date Thu, 28 Jan 2010 13:59:29 GMT
Author: crossley
Date: Thu Jan 28 13:59:28 2010
New Revision: 904092

URL: http://svn.apache.org/viewvc?rev=904092&view=rev
Log:
More verbose debug.

Modified:
    incubator/public/trunk/clutch.py

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=904092&r1=904091&r2=904092&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Thu Jan 28 13:59:28 2010
@@ -303,13 +303,16 @@
   if os.path.exists(statusFile):
     dom = xml.dom.minidom.parse(statusFile)
     # get the project info hints
+    if optionVerbose:
+      print "DEBUG: Gather hints from project Status page";
     table = dom.getElementsByTagName("table")[0]
     for row in table.getElementsByTagName("tr")[1:]:
       cell = row.getElementsByTagName("td")[2]
       if cell.attributes.has_key('id'):
         values = [getText(item.childNodes) for item in cell.childNodes]
         value = " ".join(values).strip()
-        #print "%(a)s=%(b)s" % {'a': cell.getAttribute('id'), 'b': value}
+        if optionVerbose:
+          print "DEBUG: Hint: %(a)s=%(b)s" % {'a': cell.getAttribute('id'), 'b': value}
         if cell.getAttribute('id') == "mail-dev":
           value = value.replace('  at  ', '@')
           value = value.replace('  Subscribe  Unsubscribe', '')
@@ -631,10 +634,13 @@
     tlpSvn = "%(a)s-%(b)s" % {'a': sponsor, 'b': k}
   if k.find("lucene.net") >= 0:
     tlpSvn = "lucene-dot-net"
+  if k.find("luceneconnectorframework") >= 0:
+    tlpSvn = "lucene-connectors"
   for svnGroup in [k, tlpSvn]:
     if svnGroup == "":
       break
-    #print "Trying committers group '%s'" % svnGroup
+    if optionVerbose:
+      print "DEBUG: Trying committers group '%s'" % svnGroup
     try:
       committers.projects[svnGroup]
     except KeyError:
@@ -680,6 +686,8 @@
     for url in [projects[k]['urlTracker'], urlTrackerDefault]:
       if url == "":
         continue
+      if optionVerbose:
+        print "DEBUG: Trying Tracker URL: %s" % url
       try:
         urllib2.urlopen(url)
       except IOError:



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


Mime
View raw message