You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hb...@apache.org on 2015/05/31 21:50:09 UTC

svn commit: r1682778 - in /comdev/projects.apache.org: scripts/import/ site/json/foundation/ site/json/projects/

Author: hboutemy
Date: Sun May 31 19:50:09 2015
New Revision: 1682778

URL: http://svn.apache.org/r1682778
Log:
better interpolation of pmc identifier

Added:
    comdev/projects.apache.org/site/json/projects/webservices-axiom.json
      - copied unchanged from r1682751, comdev/projects.apache.org/site/json/projects/ws-axiom.json
    comdev/projects.apache.org/site/json/projects/webservices-woden.json
      - copied unchanged from r1682751, comdev/projects.apache.org/site/json/projects/ws-woden.json
Removed:
    comdev/projects.apache.org/site/json/projects/ws-axiom.json
    comdev/projects.apache.org/site/json/projects/ws-woden.json
Modified:
    comdev/projects.apache.org/scripts/import/rdfparse.py
    comdev/projects.apache.org/site/json/foundation/projects.json
    comdev/projects.apache.org/site/json/projects/cloudstack.json
    comdev/projects.apache.org/site/json/projects/cordova.json
    comdev/projects.apache.org/site/json/projects/etch.json
    comdev/projects.apache.org/site/json/projects/olingo.json
    comdev/projects.apache.org/site/json/projects/oltu.json
    comdev/projects.apache.org/site/json/projects/oozie.json
    comdev/projects.apache.org/site/json/projects/orc.json

Modified: comdev/projects.apache.org/scripts/import/rdfparse.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/rdfparse.py?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/rdfparse.py (original)
+++ comdev/projects.apache.org/scripts/import/rdfparse.py Sun May 31 19:50:09 2015
@@ -9,6 +9,16 @@ data = urllib.request.urlopen("https://s
 xmldoc = minidom.parseString(data)
 itemlist = xmldoc.getElementsByTagName('location') 
 
+siteMap = {
+    'hc': 'httpcomponents',
+    'ws':'webservices'
+}
+
+def site2committee(siteId):
+    if siteId in siteMap:
+        return siteMap[siteId]
+    return siteId
+
 projects = {}
 failures = []
 
@@ -62,23 +72,27 @@ for s in itemlist :
             homepage = pjson['homepage']
             m = re.match(r"https?://([^.]+)\.", homepage, re.IGNORECASE)
             if m:
-                committeeId = m.group(1)
-                if (committeeId == "hc"):
-                    committeeId = "httpcomponents"
+                siteId = site2committee(m.group(1))
             nn = re.sub("http.+\.apache\.org/?", "", homepage)
             if (nn == ""):
-                projectJsonFilename = committeeId
+                projectJsonFilename = siteId
             else:
                 nn = nn.replace('/', ' ').strip().split().pop().replace('-project', '')
-                if nn.startswith("%s-" % committeeId):
+                if nn.startswith("%s-" % siteId):
                     projectJsonFilename = nn
                 else:
-                    projectJsonFilename = "%s-%s" % (committeeId, nn)
+                    projectJsonFilename = "%s-%s" % (siteId, nn)
         else:
             print("WARN: no homepage defined in %s, pmc = %s" % (url, pjson['pmc']))
-        m = re.search(r"http://([-a-z0-9]+)\.", pjson['pmc'])
-        if m:
-            pjson['pmc'] = m.group(1)
+
+        if pjson['pmc'].startswith('http://attic.apache.org'):
+            committeeId = 'attic'
+        elif '.incubator.' in homepage:
+            committeeId = 'incubator'
+        else:
+            committeeId = siteId
+        pjson['pmc'] = committeeId
+
         # replace category url with id, by removing http://projects.apache.org/category/
         if 'category' in pjson:
             pjson['category'] = pjson['category'].replace("http://projects.apache.org/category/", "")

Modified: comdev/projects.apache.org/site/json/foundation/projects.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/projects.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/projects.json (original)
+++ comdev/projects.apache.org/site/json/foundation/projects.json Sun May 31 19:50:09 2015
@@ -916,7 +916,7 @@
 "license": "http://usefulinc.com/doap/licenses/asl20",
 "mailing-list": "http://cloudstack.apache.org/mailing-lists.html",
 "name": "Apache CloudStack",
-"pmc": "svn",
+"pmc": "cloudstack",
 "programming-language": "Java, Python",
 "release": null,
 "repository": null,
@@ -1846,7 +1846,7 @@
 "license": "http://usefulinc.com/doap/licenses/asl20",
 "mailing-list": "http://cordova.apache.org/#mailing-list",
 "name": "Apache Cordova",
-"pmc": "svn",
+"pmc": "cordova",
 "programming-language": "JavaScript, Java, Objective-C, C++, C#, node.js",
 "release": null,
 "repository": null,
@@ -2385,7 +2385,7 @@
 "mailing-list": "http://etch.apache.org/mailinglists.html",
 "maintainer": null,
 "name": "Apache Etch",
-"pmc": "svn",
+"pmc": "etch",
 "programming-language": "C, C#, C++, Go, Java, JavaScript, Python",
 "release": null,
 "repository": null,
@@ -4129,8 +4129,8 @@
 },
 "olingo": {
 "Person": {
-"mbox": "mailto:sklevenz@apache.org",
-"name": "Stephan Klevenz"
+"mbox": "mailto:chrisam@apache.org",
+"name": "Christian Amend"
 },
 "Standard": {
 "body": "OASIS",
@@ -4184,7 +4184,7 @@
 "maintainer": null,
 "member": null,
 "name": "Apache Oltu - Parent",
-"pmc": "https://oltu.apache.org/",
+"pmc": "oltu",
 "programming-language": "Java",
 "release": null,
 "repository": null,
@@ -4258,9 +4258,9 @@
 "name": "Mohammad Islam"
 },
 "Version": {
-"created": "2014-12-05",
+"created": "2015-05-30",
 "name": "Apache Oozie",
-"revision": "4.1.0"
+"revision": "4.2.0"
 },
 "bug-database": "https://issues.apache.org/jira/browse/OOZIE",
 "category": "big-data",
@@ -4451,7 +4451,7 @@
 "mailing-list": "https://orc.apache.org/develop",
 "maintainer": null,
 "name": "Apache Orc",
-"pmc": "https://orc.apache.org",
+"pmc": "orc",
 "programming-language": "Java, C++",
 "repository": null,
 "shortdesc": "A high-performance columnar file format for Hadoop workloads."
@@ -5850,6 +5850,76 @@
 "repository": null,
 "shortdesc": "Apache VXQuery implements a parallel XML Query processor."
 },
+"webservices-axiom": {
+"Person": {
+"mbox": "mailto:dev@ws.apache.org?subject=[Axiom]",
+"name": "Axiom Development Team"
+},
+"SVNRepository": "http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/axiom",
+"Standard": {
+"body": "W3C",
+"id": "DOM Level 2 Core",
+"title": "Document Object Model (DOM) Level 2 Core",
+"url": "http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/"
+},
+"Version": {
+"created": "2012-12-02",
+"name": "Apache Axiom",
+"revision": "1.2.14"
+},
+"bug-database": "http://issues.apache.org/jira/browse/AXIOM",
+"category": "library, xml",
+"created": "2010-05-30",
+"description": "Apache Axiom is a StAX-based, XML Infoset compliant object model which supports on-demand building of the object tree. It supports a novel \"pull-through\" model which allows one to turn off the tree building and directly access the underlying pull event stream. It also has built in support for XML Optimized Packaging (XOP) and MTOM, the combination of which allows XML to carry binary data efficiently and in a transparent manner. The combination of these is an easy to use API with a very high performant architecture!",
+"doap": "http://svn.apache.org/repos/asf/webservices/axiom/trunk/etc/axiom.rdf",
+"download-page": "http://ws.apache.org/axiom/download.cgi",
+"homepage": "http://ws.apache.org/axiom/",
+"implements": null,
+"license": "http://usefulinc.com/doap/licenses/asl20",
+"mailing-list": "http://ws.apache.org/axiom/mail-lists.html",
+"maintainer": null,
+"name": "Apache Axiom",
+"pmc": "webservices",
+"programming-language": "Java",
+"release": null,
+"repository": null,
+"shortdesc": "Apache Axiom is an XML object model supporting deferred parsing."
+},
+"webservices-woden": {
+"Person": {
+"mbox": "mailto:sagara@apache.org",
+"name": "Sagara Gunathunga"
+},
+"SVNRepository": "https://svn.apache.org/repos/asf/webservices/woden/",
+"Standard": {
+"body": "W3C",
+"id": " WSDL 2.0",
+"title": "The W3C WSDL 2.0 specification",
+"url": "http://www.w3.org/TR/wsdl20"
+},
+"Version": {
+"created": "2011-02-17",
+"name": "Apache Woden",
+"revision": "1.0M9"
+},
+"bug-database": "https://issues.apache.org/jira/browse/Woden",
+"category": "xml",
+"created": "2010-12-29",
+"description": "The Woden project is a subproject of the Apache Web Services Project to develop a Java class library for reading, manipulating, creating and writing WSDL documents, initially to support WSDL 2.0 but with the longer term aim of supporting past, present and future versions of WSDL.\n\nThere are two main deliverables: an API and an implementation. The Woden API will consist of a set of Java interfaces. The WSDL 2.0-specific portion of the Woden API will conform to the W3C WSDL 2.0 specification. The implementation will be a high performance implementation directly usable in other Apache projects such as Axis2.\n",
+"doap": "http://svn.apache.org/repos/asf/webservices/woden/trunk/java/etc/doap_Woden.rdf",
+"download-page": "http://ws.apache.org/woden/dev/1.0/builds.html",
+"homepage": "http://ws.apache.org/woden/",
+"implements": null,
+"license": "http://usefulinc.com/doap/licenses/asl20",
+"mailing-list": "http://ws.apache.org/woden/mailinglists.html",
+"maintainer": null,
+"name": "Apache Woden",
+"pmc": "webservices",
+"programming-language": "Java",
+"release": null,
+"repository": null,
+"shortdesc": "The Woden project is a subproject of the Apache Web Services to develop a Java class library for reading, manipulating, creating and writing WSDL documents, initially to support WSDL 2.0 but with the longer term aim of supporting past, present and future versions of WSDL"
+},
 "whirr": {
 "Person": {
 "mbox": "mailto:dev@whirr.apache.org",
@@ -5961,76 +6031,6 @@
 "repository": null,
 "shortdesc": "A parser, server and plugins for working with W3C Packaged Web Apps (aka Widgets)"
 },
-"ws-axiom": {
-"Person": {
-"mbox": "mailto:dev@ws.apache.org?subject=[Axiom]",
-"name": "Axiom Development Team"
-},
-"SVNRepository": "http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/axiom",
-"Standard": {
-"body": "W3C",
-"id": "DOM Level 2 Core",
-"title": "Document Object Model (DOM) Level 2 Core",
-"url": "http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/"
-},
-"Version": {
-"created": "2012-12-02",
-"name": "Apache Axiom",
-"revision": "1.2.14"
-},
-"bug-database": "http://issues.apache.org/jira/browse/AXIOM",
-"category": "library, xml",
-"created": "2010-05-30",
-"description": "Apache Axiom is a StAX-based, XML Infoset compliant object model which supports on-demand building of the object tree. It supports a novel \"pull-through\" model which allows one to turn off the tree building and directly access the underlying pull event stream. It also has built in support for XML Optimized Packaging (XOP) and MTOM, the combination of which allows XML to carry binary data efficiently and in a transparent manner. The combination of these is an easy to use API with a very high performant architecture!",
-"doap": "http://svn.apache.org/repos/asf/webservices/axiom/trunk/etc/axiom.rdf",
-"download-page": "http://ws.apache.org/axiom/download.cgi",
-"homepage": "http://ws.apache.org/axiom/",
-"implements": null,
-"license": "http://usefulinc.com/doap/licenses/asl20",
-"mailing-list": "http://ws.apache.org/axiom/mail-lists.html",
-"maintainer": null,
-"name": "Apache Axiom",
-"pmc": "webservices",
-"programming-language": "Java",
-"release": null,
-"repository": null,
-"shortdesc": "Apache Axiom is an XML object model supporting deferred parsing."
-},
-"ws-woden": {
-"Person": {
-"mbox": "mailto:sagara@apache.org",
-"name": "Sagara Gunathunga"
-},
-"SVNRepository": "https://svn.apache.org/repos/asf/webservices/woden/",
-"Standard": {
-"body": "W3C",
-"id": " WSDL 2.0",
-"title": "The W3C WSDL 2.0 specification",
-"url": "http://www.w3.org/TR/wsdl20"
-},
-"Version": {
-"created": "2011-02-17",
-"name": "Apache Woden",
-"revision": "1.0M9"
-},
-"bug-database": "https://issues.apache.org/jira/browse/Woden",
-"category": "xml",
-"created": "2010-12-29",
-"description": "The Woden project is a subproject of the Apache Web Services Project to develop a Java class library for reading, manipulating, creating and writing WSDL documents, initially to support WSDL 2.0 but with the longer term aim of supporting past, present and future versions of WSDL.\n\nThere are two main deliverables: an API and an implementation. The Woden API will consist of a set of Java interfaces. The WSDL 2.0-specific portion of the Woden API will conform to the W3C WSDL 2.0 specification. The implementation will be a high performance implementation directly usable in other Apache projects such as Axis2.\n",
-"doap": "http://svn.apache.org/repos/asf/webservices/woden/trunk/java/etc/doap_Woden.rdf",
-"download-page": "http://ws.apache.org/woden/dev/1.0/builds.html",
-"homepage": "http://ws.apache.org/woden/",
-"implements": null,
-"license": "http://usefulinc.com/doap/licenses/asl20",
-"mailing-list": "http://ws.apache.org/woden/mailinglists.html",
-"maintainer": null,
-"name": "Apache Woden",
-"pmc": "webservices",
-"programming-language": "Java",
-"release": null,
-"repository": null,
-"shortdesc": "The Woden project is a subproject of the Apache Web Services to develop a Java class library for reading, manipulating, creating and writing WSDL documents, initially to support WSDL 2.0 but with the longer term aim of supporting past, present and future versions of WSDL"
-},
 "xalan-c": {
 "Person": {
 "mbox": "mailto:dev@xalan.apache.org",

Modified: comdev/projects.apache.org/site/json/projects/cloudstack.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/cloudstack.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/cloudstack.json (original)
+++ comdev/projects.apache.org/site/json/projects/cloudstack.json Sun May 31 19:50:09 2015
@@ -15,7 +15,7 @@
 "license": "http://usefulinc.com/doap/licenses/asl20",
 "mailing-list": "http://cloudstack.apache.org/mailing-lists.html",
 "name": "Apache CloudStack",
-"pmc": "svn",
+"pmc": "cloudstack",
 "programming-language": "Java, Python",
 "release": null,
 "repository": null,

Modified: comdev/projects.apache.org/site/json/projects/cordova.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/cordova.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/cordova.json (original)
+++ comdev/projects.apache.org/site/json/projects/cordova.json Sun May 31 19:50:09 2015
@@ -15,7 +15,7 @@
 "license": "http://usefulinc.com/doap/licenses/asl20",
 "mailing-list": "http://cordova.apache.org/#mailing-list",
 "name": "Apache Cordova",
-"pmc": "svn",
+"pmc": "cordova",
 "programming-language": "JavaScript, Java, Objective-C, C++, C#, node.js",
 "release": null,
 "repository": null,

Modified: comdev/projects.apache.org/site/json/projects/etch.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/etch.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/etch.json (original)
+++ comdev/projects.apache.org/site/json/projects/etch.json Sun May 31 19:50:09 2015
@@ -20,7 +20,7 @@
 "mailing-list": "http://etch.apache.org/mailinglists.html",
 "maintainer": null,
 "name": "Apache Etch",
-"pmc": "svn",
+"pmc": "etch",
 "programming-language": "C, C#, C++, Go, Java, JavaScript, Python",
 "release": null,
 "repository": null,

Modified: comdev/projects.apache.org/site/json/projects/olingo.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/olingo.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/olingo.json (original)
+++ comdev/projects.apache.org/site/json/projects/olingo.json Sun May 31 19:50:09 2015
@@ -1,7 +1,7 @@
 {
 "Person": {
-"mbox": "mailto:sklevenz@apache.org",
-"name": "Stephan Klevenz"
+"mbox": "mailto:chrisam@apache.org",
+"name": "Christian Amend"
 },
 "Standard": {
 "body": "OASIS",

Modified: comdev/projects.apache.org/site/json/projects/oltu.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/oltu.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/oltu.json (original)
+++ comdev/projects.apache.org/site/json/projects/oltu.json Sun May 31 19:50:09 2015
@@ -22,7 +22,7 @@
 "maintainer": null,
 "member": null,
 "name": "Apache Oltu - Parent",
-"pmc": "https://oltu.apache.org/",
+"pmc": "oltu",
 "programming-language": "Java",
 "release": null,
 "repository": null,

Modified: comdev/projects.apache.org/site/json/projects/oozie.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/oozie.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/oozie.json (original)
+++ comdev/projects.apache.org/site/json/projects/oozie.json Sun May 31 19:50:09 2015
@@ -5,9 +5,9 @@
 "name": "Mohammad Islam"
 },
 "Version": {
-"created": "2014-12-05",
+"created": "2015-05-30",
 "name": "Apache Oozie",
-"revision": "4.1.0"
+"revision": "4.2.0"
 },
 "bug-database": "https://issues.apache.org/jira/browse/OOZIE",
 "category": "big-data",

Modified: comdev/projects.apache.org/site/json/projects/orc.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/orc.json?rev=1682778&r1=1682777&r2=1682778&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/orc.json (original)
+++ comdev/projects.apache.org/site/json/projects/orc.json Sun May 31 19:50:09 2015
@@ -15,7 +15,7 @@
 "mailing-list": "https://orc.apache.org/develop",
 "maintainer": null,
 "name": "Apache Orc",
-"pmc": "https://orc.apache.org",
+"pmc": "orc",
 "programming-language": "Java, C++",
 "repository": null,
 "shortdesc": "A high-performance columnar file format for Hadoop workloads."