community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1678835 [1/2] - in /comdev/projects.apache.org: scripts/import/parsecommittees.py site/json/foundation/tlps.json
Date Mon, 11 May 2015 22:21:25 GMT
Author: hboutemy
Date: Mon May 11 22:21:25 2015
New Revision: 1678835

URL: http://svn.apache.org/r1678835
Log:
don't store committers full name in TLP info: people_name.json is here when necessary

Modified:
    comdev/projects.apache.org/scripts/import/parsecommittees.py
    comdev/projects.apache.org/site/json/foundation/tlps.json

Modified: comdev/projects.apache.org/scripts/import/parsecommittees.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/parsecommittees.py?rev=1678835&r1=1678834&r2=1678835&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/parsecommittees.py (original)
+++ comdev/projects.apache.org/scripts/import/parsecommittees.py Mon May 11 22:21:25 2015
@@ -151,17 +151,18 @@ for pmc in re.findall(r"\* .+?\s+\(est\.
             tlp['homepage'] = homepage
             # TLP committers and PMC members
             pmcgroup = "%s-pmc" % group
-            committers = {} # { 'login': 'full name' }
+            committers = [] # [ 'login' ]
             pmc = [] # [ 'login' ]
             for login in people:
                 p = people[login]
                 if p['groups']:
                     if group in p['groups']:
-                        committers[login] = p['name']
+                        committers.append(login)
                     if pmcgroup in p['groups']:
                         pmc.append(login)
                 else:
                     print("user %s has no groups" % login)
+            committers.sort()
             pmc.sort()
             tlp['pmcs'] = pmc
             tlp['committers'] = committers



Mime
View raw message