community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1654163 - /comdev/projects.apache.org/scripts/cronjobs/parsechairs.py
Date Fri, 23 Jan 2015 10:12:00 GMT
Author: humbedooh
Date: Fri Jan 23 10:12:00 2015
New Revision: 1654163

URL: http://svn.apache.org/r1654163
Log:
support renames for badly names chairs

Modified:
    comdev/projects.apache.org/scripts/cronjobs/parsechairs.py

Modified: comdev/projects.apache.org/scripts/cronjobs/parsechairs.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parsechairs.py?rev=1654163&r1=1654162&r2=1654163&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsechairs.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsechairs.py Fri Jan 23 10:12:00 2015
@@ -5,6 +5,10 @@ import os
 
 chairs = {}
 
+renames = {
+    'Apache APR': 'Apache Portable Runtime'
+}
+
 data = urllib.request.urlopen("http://www.apache.org/foundation/").read().decode('utf-8')
 x = 0
 
@@ -14,6 +18,8 @@ for committer in re.findall(r"<tr>[\s\S]
     m = re.search(r"<td>V.P., (Apache [\s\S]+?)</td>[\s\S]*?<td>([\s\S]+?)</td>",
committer, re.MULTILINE | re.UNICODE)
     if m:
         project = m.group(1)
+        if project in renames:
+            project = renames[project]
         person = m.group(2)
         chairs[project] = person
         



Mime
View raw message