community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1692577 - in /comdev/projects.apache.org: data/ scripts/import/ site/doap/commons/ site/doap/openmeetings/ site/json/foundation/ site/json/projects/
Date Fri, 24 Jul 2015 20:45:51 GMT
Author: hboutemy
Date: Fri Jul 24 20:45:51 2015
New Revision: 1692577

URL: http://svn.apache.org/r1692577
Log:
fixed commons-scxml DOAP url and parsing when no asfext:pmc in DOAP

Modified:
    comdev/projects.apache.org/data/projects.xml
    comdev/projects.apache.org/scripts/import/parseprojects.py
    comdev/projects.apache.org/site/doap/commons/commons-scxml.rdf
    comdev/projects.apache.org/site/doap/openmeetings/openmeetings.rdf
    comdev/projects.apache.org/site/json/foundation/projects.json
    comdev/projects.apache.org/site/json/projects/commons-scxml.json
    comdev/projects.apache.org/site/json/projects/openmeetings.json

Modified: comdev/projects.apache.org/data/projects.xml
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/data/projects.xml?rev=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/data/projects.xml (original)
+++ comdev/projects.apache.org/data/projects.xml Fri Jul 24 20:45:51 2015
@@ -110,7 +110,7 @@
   <location>http://svn.apache.org/repos/asf/commons/proper/pool/trunk/doap_pool.rdf</location>
   <location>http://svn.apache.org/repos/asf/commons/proper/primitives/trunk/doap_primitives.rdf</location>
   <location>http://svn.apache.org/repos/asf/commons/proper/proxy/trunk/doap_proxy.rdf</location>
-  <location>http://svn.apache.org/repos/asf/commons/proper/scxml/trunk/doap_scxml.rdf</location>
+  <location>https://git-wip-us.apache.org/repos/asf?p=commons-scxml.git;a=blob_plain;f=doap_scxml.rdf;hb=HEAD</location>
   <location>http://svn.apache.org/repos/asf/commons/proper/validator/trunk/doap_validator.rdf</location>
   <location>http://svn.apache.org/repos/asf/commons/proper/vfs/trunk/doap_vfs.rdf</location>
   <location>http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/doap_weaver.rdf</location>

Modified: comdev/projects.apache.org/scripts/import/parseprojects.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/parseprojects.py?rev=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/parseprojects.py (original)
+++ comdev/projects.apache.org/scripts/import/parseprojects.py Fri Jul 24 20:45:51 2015
@@ -77,6 +77,7 @@ def handleChild(el):
 for s in itemlist :
     url = s.childNodes[0].data
     try:
+        rdf = None
         rdf = urllib.request.urlopen(url).read()
         rdfxml = ET.fromstring(rdf)
         project = rdfxml[0]
@@ -121,7 +122,9 @@ for s in itemlist :
         else:
             print("WARN: no homepage defined in %s, pmc = %s" % (url, pjson['pmc']))
 
-        if pjson['pmc'].startswith('http://attic.apache.org'):
+        if not 'pmc' in pjson:
+            print("WARN: no asfext:pmc in %s" % url)
+        if 'pmc' in pjson and pjson['pmc'].startswith('http://attic.apache.org'):
             committeeId = 'attic'
         elif '.incubator.' in homepage:
             committeeId = 'incubator'
@@ -163,14 +166,15 @@ for s in itemlist :
         else:
             print("WARN: project ignored since unable to extract project json filename from
%s" % url)
     except Exception as err:
-        print("Error when reading %s's doap file %s:" % (prname, url))
+        print("Error when reading doap file %s:" % url)
         print("-"*60)
         traceback.print_exc()
         print("-"*60)
         failures.append(url)
-        with open (url.split('/')[-1], "wb") as f:
-            f.write(rdf)
-            f.close()
+        if rdf is not None:
+            with open (url.split('/')[-1], "wb") as f:
+                f.write(rdf)
+                f.close()
 
 if save:
     print("Writing foundation/projects.json...")

Modified: comdev/projects.apache.org/site/doap/commons/commons-scxml.rdf
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/doap/commons/commons-scxml.rdf?rev=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/site/doap/commons/commons-scxml.rdf (original)
+++ comdev/projects.apache.org/site/doap/commons/commons-scxml.rdf Fri Jul 24 20:45:51 2015
@@ -33,10 +33,10 @@
      agnostic state machine defined using a SCXML document.
     </description>
     <repository>
-      <SVNRepository>
-        <browse rdf:resource="http://svn.apache.org/viewvc/commons/proper/scxml/trunk/"/>
-        <location rdf:resource="http://svn.apache.org/repos/asf/commons/proper/scxml"/>
-      </SVNRepository>
+      <GitRepository>
+        <browse rdf:resource="https://git-wip-us.apache.org/repos/asf?p=commons-scxml.git"/>
+        <location rdf:resource="https://git-wip-us.apache.org/repos/asf/commons-scxml.git"/>
+      </GitRepository>
     </repository>
     <release>
       <Version>

Modified: comdev/projects.apache.org/site/doap/openmeetings/openmeetings.rdf
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/doap/openmeetings/openmeetings.rdf?rev=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/site/doap/openmeetings/openmeetings.rdf (original)
+++ comdev/projects.apache.org/site/doap/openmeetings/openmeetings.rdf Fri Jul 24 20:45:51
2015
@@ -13,7 +13,12 @@
    limitations under the License.
  -->
 <?xml-stylesheet type="text/xsl" href="../xsl/p2.xsl"?>
-<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:asfext="http://projects.apache.org/ns/asfext#" xml:lang="en">
+<rdf:RDF xml:lang="en"
+		xmlns="http://usefulinc.com/ns/doap#"
+		xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+		xmlns:asfext="http://projects.apache.org/ns/asfext#"
+		xmlns:foaf="http://xmlsns.com/foaf/0.1/"
+	>
   <Project rdf:about="http://openmeetings.apache.org/">
     <name>Apache OpenMeetings</name>
     <homepage rdf:resource="http://openmeetings.apache.org/"/>
@@ -23,14 +28,13 @@
     <license rdf:resource="http://usefulinc.com/doap/licenses/asl20"/>
     <bug-database rdf:resource="https://issues.apache.org/jira/browse/OPENMEETINGS"/>
     <download-page rdf:resource="http://openmeetings.apache.org/downloads.html"/>
-    <asfext:pmc rdf:resource="http://openmeetings.apache.org/"/>
 
     <shortdesc xml:lang="en">
-      The Apache Openmeetings application.
+      Video conferencing, instant messaging, white board and collaborative document editing
application.
     </shortdesc>
 
     <description xml:lang="en">
-      The Apache Openmeetings provides video conferencing, instant messaging, white board,

+      The Apache OpenMeetings provides video conferencing, instant messaging, white board,

       collaborative document editing and other groupware tools using API functions 
       of the Red5 Streaming Server for Remoting and Streaming.
     </description>
@@ -44,11 +48,18 @@
 
     <mailing-list rdf:resource="http://openmeetings.apache.org/mail-lists.html"/>
  
+    <maintainer>
+      <foaf:Person>
+        <foaf:name>OpenMeetings PMC</foaf:name>
+        <foaf:mbox rdf:resource="mailto:dev@openmeetings.apache.org"/>
+      </foaf:Person>
+    </maintainer>
+    
     <release>
       <Version>
         <name>Recommended current 3.0.x release</name>
-        <created>2014-03-10</created>
-        <revision>3.0.0</revision>
+        <created>2015-05-25</created>
+        <revision>3.0.6</revision>
       </Version>
     </release>
     <release>

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=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/projects.json (original)
+++ comdev/projects.apache.org/site/json/foundation/projects.json Fri Jul 24 20:45:51 2015
@@ -3488,6 +3488,51 @@
 ],
 "shortdesc": "Commons Dynamic Proxy Library"
 },
+"commons-scxml": {
+"bug-database": "http://issues.apache.org/jira/browse/SCXML",
+"category": "library",
+"description": "\n     An implementation of the State Chart XML specification aimed at creating\n
    and maintaining a Java SCXML engine. It is capable of executing an environment\n     agnostic
state machine defined using a SCXML document.\n    ",
+"doap": "https://git-wip-us.apache.org/repos/asf?p=commons-scxml.git;a=blob_plain;f=doap_scxml.rdf;hb=HEAD",
+"download-page": "http://commons.apache.org/scxml/download_scxml.cgi",
+"homepage": "http://commons.apache.org/scxml/",
+"license": "http://usefulinc.com/doap/licenses/asl20",
+"mailing-list": "http://commons.apache.org/mail-lists.html",
+"name": "Apache Commons SCXML",
+"pmc": "commons",
+"programming-language": "Java",
+"release": [
+{
+"created": "2006-07-28",
+"name": "Commons SCXML",
+"revision": "0.5"
+},
+{
+"created": "2006-12-18",
+"name": "Commons SCXML",
+"revision": "0.6"
+},
+{
+"created": "2007-12-20",
+"name": "Commons SCXML",
+"revision": "0.7"
+},
+{
+"created": "2008-05-20",
+"name": "Commons SCXML",
+"revision": "0.8"
+},
+{
+"created": "2008-12-01",
+"name": "Commons SCXML",
+"revision": "0.9"
+}
+],
+"repository": [
+"https://git-wip-us.apache.org/repos/asf/commons-scxml.git"
+],
+"shortdesc": "A Java implementation of State Chart XML",
+"shortname": "Commons SCXML"
+},
 "commons-validator": {
 "bug-database": "http://commons.apache.org/validator/issue-tracking.html",
 "category": "library",
@@ -9131,6 +9176,41 @@
 ],
 "shortdesc": "Java Persistence API Implementation"
 },
+"openmeetings": {
+"bug-database": "https://issues.apache.org/jira/browse/OPENMEETINGS",
+"category": "network-server, network-client",
+"description": "\n      The Apache OpenMeetings provides video conferencing, instant messaging,
white board, \n      collaborative document editing and other groupware tools using API functions
\n      of the Red5 Streaming Server for Remoting and Streaming.\n    ",
+"doap": "https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/openmeetings-server/src/site/xdoc/doap.rdf",
+"download-page": "http://openmeetings.apache.org/downloads.html",
+"homepage": "http://openmeetings.apache.org/",
+"license": "http://usefulinc.com/doap/licenses/asl20",
+"mailing-list": "http://openmeetings.apache.org/mail-lists.html",
+"maintainer": [
+{
+"mbox": "mailto:dev@openmeetings.apache.org",
+"name": "OpenMeetings PMC"
+}
+],
+"name": "Apache OpenMeetings",
+"pmc": "openmeetings",
+"programming-language": "Java",
+"release": [
+{
+"created": "2015-05-25",
+"name": "Recommended current 3.0.x release",
+"revision": "3.0.6"
+},
+{
+"created": "2013-12-12",
+"name": "Legacy 2.2.0 release",
+"revision": "2.2.0"
+}
+],
+"repository": [
+"http://svn.apache.org/repos/asf/openmeetings/"
+],
+"shortdesc": "\n      Video conferencing, instant messaging, white board and collaborative
document editing application.\n    "
+},
 "opennlp": {
 "bug-database": "https://issues.apache.org/jira/browse/OPENNLP",
 "category": "library",

Modified: comdev/projects.apache.org/site/json/projects/commons-scxml.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/commons-scxml.json?rev=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/commons-scxml.json (original)
+++ comdev/projects.apache.org/site/json/projects/commons-scxml.json Fri Jul 24 20:45:51 2015
@@ -2,7 +2,7 @@
 "bug-database": "http://issues.apache.org/jira/browse/SCXML",
 "category": "library",
 "description": "\n     An implementation of the State Chart XML specification aimed at creating\n
    and maintaining a Java SCXML engine. It is capable of executing an environment\n     agnostic
state machine defined using a SCXML document.\n    ",
-"doap": "http://svn.apache.org/repos/asf/commons/proper/scxml/trunk/doap_scxml.rdf",
+"doap": "https://git-wip-us.apache.org/repos/asf?p=commons-scxml.git;a=blob_plain;f=doap_scxml.rdf;hb=HEAD",
 "download-page": "http://commons.apache.org/scxml/download_scxml.cgi",
 "homepage": "http://commons.apache.org/scxml/",
 "license": "http://usefulinc.com/doap/licenses/asl20",
@@ -38,7 +38,7 @@
 }
 ],
 "repository": [
-"http://svn.apache.org/repos/asf/commons/proper/scxml"
+"https://git-wip-us.apache.org/repos/asf/commons-scxml.git"
 ],
 "shortdesc": "A Java implementation of State Chart XML",
 "shortname": "Commons SCXML"

Modified: comdev/projects.apache.org/site/json/projects/openmeetings.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/projects/openmeetings.json?rev=1692577&r1=1692576&r2=1692577&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/projects/openmeetings.json (original)
+++ comdev/projects.apache.org/site/json/projects/openmeetings.json Fri Jul 24 20:45:51 2015
@@ -1,20 +1,26 @@
 {
 "bug-database": "https://issues.apache.org/jira/browse/OPENMEETINGS",
 "category": "network-server, network-client",
-"description": "\n      The Apache Openmeetings provides video conferencing, instant messaging,
white board, \n      collaborative document editing and other groupware tools using API functions
\n      of the Red5 Streaming Server for Remoting and Streaming.\n    ",
+"description": "\n      The Apache OpenMeetings provides video conferencing, instant messaging,
white board, \n      collaborative document editing and other groupware tools using API functions
\n      of the Red5 Streaming Server for Remoting and Streaming.\n    ",
 "doap": "https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/openmeetings-server/src/site/xdoc/doap.rdf",
 "download-page": "http://openmeetings.apache.org/downloads.html",
 "homepage": "http://openmeetings.apache.org/",
 "license": "http://usefulinc.com/doap/licenses/asl20",
 "mailing-list": "http://openmeetings.apache.org/mail-lists.html",
+"maintainer": [
+{
+"mbox": "mailto:dev@openmeetings.apache.org",
+"name": "OpenMeetings PMC"
+}
+],
 "name": "Apache OpenMeetings",
 "pmc": "openmeetings",
 "programming-language": "Java",
 "release": [
 {
-"created": "2014-03-10",
+"created": "2015-05-25",
 "name": "Recommended current 3.0.x release",
-"revision": "3.0.0"
+"revision": "3.0.6"
 },
 {
 "created": "2013-12-12",
@@ -25,5 +31,5 @@
 "repository": [
 "http://svn.apache.org/repos/asf/openmeetings/"
 ],
-"shortdesc": "\n      The Apache Openmeetings application.\n    "
+"shortdesc": "\n      Video conferencing, instant messaging, white board and collaborative
document editing application.\n    "
 }
\ No newline at end of file



Mime
View raw message