community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1830552 - in /comdev/projects.apache.org/trunk/scripts/cronjobs: parsecommitteeinfo.py parseprojects.py
Date Mon, 30 Apr 2018 11:22:02 GMT
Author: sebb
Date: Mon Apr 30 11:22:02 2018
New Revision: 1830552

URL: http://svn.apache.org/viewvc?rev=1830552&view=rev
Log:
fix references to SVN

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

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py?rev=1830552&r1=1830551&r2=1830552&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py (original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py Mon Apr 30 11:22:02
2018
@@ -97,7 +97,7 @@ for loc in xmldoc.getElementsByTagName('
             rdf = urllib.request.urlopen(url).read()
         else:
             rdf = open("../../data/%s" % url, 'r', encoding='utf-8').read()
-            url = "https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/%s" %
url
+            url = "https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk/data/%s"
% url
         rdfxml = ET.fromstring(rdf)
         rdfdata = rdfxml[0]
         expected = '{http://projects.apache.org/ns/asfext#}pmc'

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py?rev=1830552&r1=1830551&r2=1830552&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py (original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py Mon Apr 30 11:22:02
2018
@@ -34,7 +34,7 @@ URL_TIMEOUT = 60.0 # timeout for URL req
 PROJECTS_DIR = '../../site/json/projects'
 
 projectsList = "../../data/projects.xml";
-PROJECTS_SVN = 'https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/projects.xml'
+PROJECTS_SVN = 'https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk/data/projects.xml'
 
 save = True;
 if os.path.exists("parseprojects-failures.xml"):



Mime
View raw message