community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1726501 - /comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py
Date Sun, 24 Jan 2016 15:20:20 GMT
Author: sebb
Date: Sun Jan 24 15:20:20 2016
New Revision: 1726501

URL: http://svn.apache.org/viewvc?rev=1726501&view=rev
Log:
COMDEV-182 Tidy up handling of data/ changes
Don't SVN move rdf file to committee-retired

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=1726501&r1=1726500&r2=1726501&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py Sun Jan 24 15:20:20
2016
@@ -32,10 +32,6 @@ Writes:
 
 SVN changes (if a PMC retires):
 Deletes the project files: site/json/projects/%s.json % PMC|PMC-*
-Moves the PMC RDF file:    data/committees/%s.rdf % PMC to data/committees-retired
-
-TODO: update data/committees.xml to disable entries for retired projects
-      update projects.xml to move retired projects to Attic section 
 
 """
 
@@ -247,13 +243,6 @@ for previous in committeesPrevious:
     prevId = previous['id']
     if not prevId in committeesMap:
         print("found retired committee: %s %s" % (prevId, previous['name']))
-        # TODO update committees.xml to disable the entry
-        try:
-            subprocess.check_call(["svn", "mv",
-                               "../../data/committees/%s.rdf" % prevId,
-                               "../../data/committees-retired/"])
-        except subprocess.CalledProcessError as err:
-            print("ERROR: error trying to svn mv %s.rdf : %s" % (prevId, err), file=sys.stderr)
         projJson = "../../site/json/projects/%s.json" % prevId
         if os.path.isfile(projJson):
             svndel(projJson)



Mime
View raw message