incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1419232 - in /incubator/public/trunk: clutch.py content/clutcht.ent content/report_due_1.txt content/report_due_2.txt content/report_due_3.txt
Date Mon, 10 Dec 2012 07:11:47 GMT
Author: crossley
Date: Mon Dec 10 07:11:46 2012
New Revision: 1419232

URL: http://svn.apache.org/viewvc?rev=1419232&view=rev
Log:
Try to handle new style mail list names for projects that have various different names.

Modified:
    incubator/public/trunk/clutch.py
    incubator/public/trunk/content/clutcht.ent
    incubator/public/trunk/content/report_due_1.txt
    incubator/public/trunk/content/report_due_2.txt
    incubator/public/trunk/content/report_due_3.txt

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=1419232&r1=1419231&r2=1419232&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Mon Dec 10 07:11:46 2012
@@ -251,6 +251,9 @@ for row in dom.getElementsByTagName("pod
       projects[id]['resourceNames'] = [id]
       # Some projects use an alternate short resource name
       # rather than their project name
+      alias = row.getAttribute("resource")
+      if (alias != '' and alias != id):
+        projects[id]['resourceNames'].append(alias)
       for alias in row.getAttribute("resourceAliases").split(','):
         if alias != '':
           projects[id]['resourceNames'].append(alias)
@@ -993,10 +996,12 @@ for k in sorted(projectNames, key=str.lo
   if projects[k]['hasMailListDev']:
     matchDevMail = re.search(mailListNameUrlRE, projects[k]['hasMailListDev'])
     if matchDevMail:
-      mailListGroup = matchDevMail.group(1)
-      mailListNameHint = matchDevMail.group(2)
-      if (k in mailLists.newStyle):
-        reportDevList += " <{0}@{1}.incubator.apache.org>".format(matchDevMail.group(2),
matchDevMail.group(1))
+      mailListGroup = None
+      for alias in projects[k]['resourceNames']:
+        if (alias in mailLists.newStyle):
+          mailListGroup = alias
+      if (mailListGroup != None):
+        reportDevList += " <dev@{0}.incubator.apache.org>".format(mailListGroup)
       else:
         reportDevList += " <{0}@{1}.apache.org>".format(matchDevMail.group(2), matchDevMail.group(1))
     else:
@@ -1004,7 +1009,7 @@ for k in sorted(projectNames, key=str.lo
   else:
     reportDevList += " <general@incubator.apache.org>"
   if optionVerbose:
-    print("DEBUG: reportDevList=" + reportDevList)
+    print("DEBUG: {0}: reportDevList={1}".format(k, reportDevList))
   reportDevList += "\n"
   if projects[k]['reportingMonthly']:
     reportList1 += reportDevList

Modified: incubator/public/trunk/content/clutcht.ent
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/clutcht.ent?rev=1419232&r1=1419231&r2=1419232&view=diff
==============================================================================
--- incubator/public/trunk/content/clutcht.ent (original)
+++ incubator/public/trunk/content/clutcht.ent Mon Dec 10 07:11:46 2012
@@ -1,4 +1,4 @@
 <!-- generated by clutch; do not edit -->
 
-        Clutch last gathered: Mon Dec 10 01:08:07 2012 UTC.<br />
+        Clutch last gathered: Mon Dec 10 07:07:29 2012 UTC.<br />
         Number of podlings in incubation: 40

Modified: incubator/public/trunk/content/report_due_1.txt
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/report_due_1.txt?rev=1419232&r1=1419231&r2=1419232&view=diff
==============================================================================
--- incubator/public/trunk/content/report_due_1.txt (original)
+++ incubator/public/trunk/content/report_due_1.txt Mon Dec 10 07:11:46 2012
@@ -4,7 +4,7 @@
 "DeviceMap Developers" <devicemap-dev@incubator.apache.org>
 "Drill Developers" <drill-dev@incubator.apache.org>
 "EasyAnt Developers" <easyant-dev@incubator.apache.org>
-"Hadoop Development Tools Developers" <hdt-dev@incubator.apache.org>
+"Hadoop Development Tools Developers" <dev@hdt.incubator.apache.org>
 "Helix Developers" <dev@helix.incubator.apache.org>
 "JSPWiki Developers" <jspwiki-dev@incubator.apache.org>
 "Kafka Developers" <dev@kafka.incubator.apache.org>

Modified: incubator/public/trunk/content/report_due_2.txt
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/report_due_2.txt?rev=1419232&r1=1419231&r2=1419232&view=diff
==============================================================================
--- incubator/public/trunk/content/report_due_2.txt (original)
+++ incubator/public/trunk/content/report_due_2.txt Mon Dec 10 07:11:46 2012
@@ -6,7 +6,7 @@
 "DeltaSpike Developers" <deltaspike-dev@incubator.apache.org>
 "Drill Developers" <drill-dev@incubator.apache.org>
 "Droids Developers" <droids-dev@incubator.apache.org>
-"Hadoop Development Tools Developers" <hdt-dev@incubator.apache.org>
+"Hadoop Development Tools Developers" <dev@hdt.incubator.apache.org>
 "Helix Developers" <dev@helix.incubator.apache.org>
 "Marmotta Developers" <dev@marmotta.incubator.apache.org>
 "NPanday Developers" <npanday-dev@incubator.apache.org>

Modified: incubator/public/trunk/content/report_due_3.txt
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/report_due_3.txt?rev=1419232&r1=1419231&r2=1419232&view=diff
==============================================================================
--- incubator/public/trunk/content/report_due_3.txt (original)
+++ incubator/public/trunk/content/report_due_3.txt Mon Dec 10 07:11:46 2012
@@ -4,7 +4,7 @@
 "Drill Developers" <drill-dev@incubator.apache.org>
 "Etch Developers" <etch-dev@incubator.apache.org>
 "Flex Developers" <flex-dev@incubator.apache.org>
-"Hadoop Development Tools Developers" <hdt-dev@incubator.apache.org>
+"Hadoop Development Tools Developers" <dev@hdt.incubator.apache.org>
 "HCatalog Developers" <hcatalog-dev@incubator.apache.org>
 "Helix Developers" <dev@helix.incubator.apache.org>
 "Kalumet Developers" <kalumet-dev@incubator.apache.org>



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


Mime
View raw message