community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1816569 - /comdev/projects.apache.org/scripts/cronjobs/parseprojects.py
Date Tue, 28 Nov 2017 19:40:21 GMT
Author: sebb
Date: Tue Nov 28 19:40:21 2017
New Revision: 1816569

URL: http://svn.apache.org/viewvc?rev=1816569&view=rev
Log:
Always trust asfext:pmc setting

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

Modified: comdev/projects.apache.org/scripts/cronjobs/parseprojects.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parseprojects.py?rev=1816569&r1=1816568&r2=1816569&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parseprojects.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parseprojects.py Tue Nov 28 19:40:21 2017
@@ -120,6 +120,7 @@ def getPMC(url):
     a = pmc.getAttribute('rdf:about')
     md.unlink()
     if t == 'asfext:pmc':
+        print("Found pmc: %s" % a)
         return a
     printMail("WARN: could not find asfext:pmc in %s " % url)
     return 'Unknown'
@@ -208,14 +209,8 @@ for s in itemlist :
         else:
             printMail("WARN: no name defined in %s, pmc = %s" % (url, pjson['pmc']))
 
-        if 'pmc' in pjson and pjson['pmc'].startswith('http://attic.apache.org'):
-            committeeId = 'attic'
-        elif '.incubator.' in homepage:
-            committeeId = 'incubator'
-        elif 'community.apache.org' in homepage:
-            committeeId = 'comdev'
-        else:
-            committeeId = siteId
+        committeeId = pmc
+
         if committeeId in retired:
             printAtticMail("WARN: project from a retired committee but PMC not changed to
Attic in %s" % url)
             committeeId = 'attic'



Mime
View raw message