community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1730135 - /comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py
Date Fri, 12 Feb 2016 22:35:06 GMT
Author: sebb
Date: Fri Feb 12 22:35:06 2016
New Revision: 1730135

URL: http://svn.apache.org/viewvc?rev=1730135&view=rev
Log:
Let parseprojects.py clear up the old project files

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

Modified: comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py?rev=1730135&r1=1730134&r2=1730135&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py Fri Feb 12 22:35:06
2016
@@ -27,9 +27,6 @@ Updates:
 ../../site/json/foundation/committees.json
 ../../site/json/foundation/committees-retired.json
 
-SVN changes (if a PMC retires):
-Deletes the project files: site/json/projects/%s.json % PMC|PMC-*
-
 """
 
 # LDAP group ids not matching committee id; convert group to committeeId
@@ -240,13 +237,6 @@ for previous in committeesPrevious:
     prevId = previous['id']
     if not prevId in committeesMap:
         print("found retired committee: %s %s" % (prevId, previous['name']))
-        projJson = "../../site/json/projects/%s.json" % prevId
-        if os.path.isfile(projJson):
-            svndel(projJson)
-        else:
-            projJson = "../../site/json/projects/%s-*.json" % prevId
-            for f in glob.glob(projJson):
-                svndel(f)
         previous['retired'] = datetime.date.today().strftime('%Y-%m')
         # remove data that is not useful in a retired committee
         previous.pop('chair', None)



Mime
View raw message