community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1696534 - in /comdev/reporter.apache.org/trunk/site: chi.py getjson.py
Date Wed, 19 Aug 2015 08:49:34 GMT
Author: humbedooh
Date: Wed Aug 19 08:49:34 2015
New Revision: 1696534

URL: http://svn.apache.org/r1696534
Log:
mappings for empire-db

Modified:
    comdev/reporter.apache.org/trunk/site/chi.py
    comdev/reporter.apache.org/trunk/site/getjson.py

Modified: comdev/reporter.apache.org/trunk/site/chi.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/chi.py?rev=1696534&r1=1696533&r2=1696534&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/chi.py (original)
+++ comdev/reporter.apache.org/trunk/site/chi.py Wed Aug 19 08:49:34 2015
@@ -16,7 +16,8 @@ pmap = {
     'community': 'comdev',
     'ws': 'webservices',
     'hc': 'httpcomponents',
-    'whimsical': 'whimsy'
+    'whimsical': 'whimsy',
+    'empire': 'empire-db'
 }
 
 ldapmap = {

Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1696534&r1=1696533&r2=1696534&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Wed Aug 19 08:49:34 2015
@@ -15,7 +15,8 @@ jmap = {
 pmap = {
     'community': 'comdev',
     'ws': 'webservices',
-    'whimsical': 'whimsy'
+    'whimsical': 'whimsy',
+    'empire': 'empire-db'
 }
 
 ldapmap = {
@@ -31,7 +32,7 @@ def getPMCs(uid):
     groups = []
     ldapdata = subprocess.check_output(['ldapsearch', '-x', '-LLL', '(|(memberUid=%s)(member=uid=%s,ou=people,dc=apache,dc=org))'
% (uid, uid), 'cn'])
     picked = {}
-    for match in re.finditer(r"dn: cn=([a-zA-Z0-9]+),ou=pmc,ou=committees,ou=groups,dc=apache,dc=org",
ldapdata):
+    for match in re.finditer(r"dn: cn=([-a-zA-Z0-9]+),ou=pmc,ou=committees,ou=groups,dc=apache,dc=org",
ldapdata):
         group = match.group(1)
         if group != "incubator":
 



Mime
View raw message