community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1678834 [1/2] - in /comdev/projects.apache.org: scripts/cronjobs/ site/json/foundation/
Date Mon, 11 May 2015 22:17:54 GMT
Author: hboutemy
Date: Mon May 11 22:17:54 2015
New Revision: 1678834

URL: http://svn.apache.org/r1678834
Log:
replace members.json with groups.json+people_name.json: more generic, gives more possibilities
with shorter content than people.json

Added:
    comdev/projects.apache.org/site/json/foundation/people_name.json
Removed:
    comdev/projects.apache.org/site/json/foundation/members.json
Modified:
    comdev/projects.apache.org/scripts/cronjobs/parsecommitters.py
    comdev/projects.apache.org/site/json/foundation/.htaccess
    comdev/projects.apache.org/site/json/foundation/HEADER.html
    comdev/projects.apache.org/site/json/foundation/groups.json
    comdev/projects.apache.org/site/json/foundation/people.json

Modified: comdev/projects.apache.org/scripts/cronjobs/parsecommitters.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parsecommitters.py?rev=1678834&r1=1678833&r2=1678834&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsecommitters.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsecommitters.py Mon May 11 22:17:54 2015
@@ -3,8 +3,8 @@ import urllib.request
 import json
 
 people = {}
+people_name = {}
 groups = {}
-members = []
 data = urllib.request.urlopen("http://people.apache.org/committer-index.html").read().decode('utf-8')
 x = 0
 for committer in re.findall(r"<tr>([\S\s]+?)</tr>", data, re.MULTILINE | re.UNICODE):
@@ -19,7 +19,6 @@ for committer in re.findall(r"<tr>([\S\s
         isMember = False
         if re.search(r"<b", committer, re.MULTILINE | re.UNICODE):
             isMember = True
-            members.append(cid)
         for group in re.findall(r"#([-a-z0-9._]+)", groupsString):
             cgroups.append(group)
             groups[group] = groups[group] if group in groups else []
@@ -29,21 +28,21 @@ for committer in re.findall(r"<tr>([\S\s
             'member': isMember,
             'groups': cgroups
         }
-members.sort()
+        people_name[cid] = cname
 
 print("Writing people.json")
 with open("../../site/json/foundation/people.json", "w") as f:
     f.write(json.dumps(people, sort_keys=True, indent=0))
     f.close()
 
+print("Writing people_name.json")
+with open("../../site/json/foundation/people_name.json", "w") as f:
+    f.write(json.dumps(people_name, sort_keys=True, indent=0))
+    f.close()
+
 print("Writing groups.json")
 with open("../../site/json/foundation/groups.json", "w") as f:
     f.write(json.dumps(groups, sort_keys=True, indent=0))
     f.close()
 
-print("Writing members.json")
-with open("../../site/json/foundation/members.json", "w") as f:
-    f.write(json.dumps(members, indent=0))
-    f.close()
-
 print("All done!")
\ No newline at end of file

Modified: comdev/projects.apache.org/site/json/foundation/.htaccess
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/.htaccess?rev=1678834&r1=1678833&r2=1678834&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/.htaccess (original)
+++ comdev/projects.apache.org/site/json/foundation/.htaccess Mon May 11 22:17:54 2015
@@ -3,8 +3,8 @@ AddDescription "generated by <code>cronj
 AddDescription "generated by <code>cronjobs/parsechairs.py</code>" chairs.json
 AddDescription "manually maintained" cycles.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" groups.json
-AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" members.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" people.json
+AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" people_name.json
 AddDescription "imported with <code>import/parsepmcs.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/data_files/'>PMC
DOAP files</a>" pmcs.json
 AddDescription "generated by <code>cronjobs/podlings.py</code>" podlings.json
 AddDescription "generated by <code>cronjobs/podlings.py</code>" podlings-evolution.json

Modified: comdev/projects.apache.org/site/json/foundation/HEADER.html
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/HEADER.html?rev=1678834&r1=1678833&r2=1678834&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/HEADER.html (original)
+++ comdev/projects.apache.org/site/json/foundation/HEADER.html Mon May 11 22:17:54 2015
@@ -6,7 +6,7 @@ for more information.
 <li><a href="accounts-evolution.json"><code>accounts-evolution.json</code></a>
generated by <code>cronjobs/countaccounts.py</code> from LDAP</li>
 <li><a href="chairs.json"><code>chairs.json</code></a> generated
by <code>cronjobs/parsechairs.py</code> from <a href="http://www.apache.org/foundation/">http://www.apache.org/foundation/</a></li>
 <li><a href="cycles.json"><code>cycles.json</code></a> manually
maintained</li>
-<li><a href="groups.json"><code>groups.json</code></a>, <a
href="members.json"><code>members.json</code></a> and <a href="people.json"><code>people.json</code></a>
generated by <code>cronjobs/parsecommitters.py</code> from <a href="http://people.apache.org/committer-index.html">http://people.apache.org/committer-index.html</a></li>
+<li><a href="groups.json"><code>groups.json</code></a>, <a
href="people.json"><code>people.json</code></a> and <a href="people_name.json"><code>people_name.json</code></a>
generated by <code>cronjobs/parsecommitters.py</code> from <a href="http://people.apache.org/committer-index.html">http://people.apache.org/committer-index.html</a></li>
 <li><a href="pmcs.json"><code>pmcs.json</code></a> imported
with <code>import/parsepmcs.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/data_files/'>PMC
DOAP files</a></li>
 <li><a href="podlings.json"><code>podlings.json</code></a>
and <a href="podlings-evolution.json"><code>podlings-evolution.json</code></a>
generated by <code>cronjobs/podlings.py</code> from <a href="http://incubator.apache.org/podlings.xml">http://incubator.apache.org/podlings.xml</a></li>
 <li><a href="projects.json"><code>projects.json</code></a>
imported with <code>import/rdfparse.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml'>projects'
DOAP files</a></li>

Modified: comdev/projects.apache.org/site/json/foundation/groups.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/groups.json?rev=1678834&r1=1678833&r2=1678834&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/groups.json (original)
+++ comdev/projects.apache.org/site/json/foundation/groups.json Mon May 11 22:17:54 2015
@@ -41,12 +41,15 @@
 "dlmarion",
 "drew",
 "ecn",
+"edcoleman",
 "elserj",
 "jtrost",
 "kturner",
 "mdrob",
 "medined",
+"shickey",
 "ujustgotbilld",
+"vikrams",
 "vines"
 ],
 "accumulo-pmc": [
@@ -63,12 +66,15 @@
 "dlmarion",
 "drew",
 "ecn",
+"edcoleman",
 "elserj",
 "jtrost",
 "kturner",
 "mdrob",
 "medined",
+"shickey",
 "ujustgotbilld",
+"vikrams",
 "vines"
 ],
 "ace": [
@@ -195,6 +201,7 @@
 "raminder",
 "sachith",
 "samindaw",
+"scnakandala",
 "shahani",
 "shameera",
 "smarru",
@@ -218,6 +225,7 @@
 "patanachai",
 "raminder",
 "samindaw",
+"scnakandala",
 "shahani",
 "shameera",
 "smarru",
@@ -1870,6 +1878,7 @@
 "kocka",
 "koushik",
 "likithas",
+"marcos",
 "mchen",
 "mice",
 "milamber",
@@ -3093,6 +3102,7 @@
 "oersoy",
 "pamarcelot",
 "pierresmits",
+"plusplusjiajia",
 "psteitz",
 "rjan",
 "rscott",
@@ -3375,6 +3385,7 @@
 "jmclean",
 "jonbcampos",
 "josebarragan",
+"joshtynjala",
 "jtellier",
 "junheider",
 "kkorngut",
@@ -4137,6 +4148,7 @@
 ],
 "hive": [
 "amareshwari",
+"apivovarov",
 "athusoo",
 "brock",
 "chengxiang",
@@ -4450,6 +4462,7 @@
 "aavenoso",
 "ab",
 "ababiichuk",
+"abaker",
 "abayer",
 "abe",
 "abellucci",
@@ -4477,6 +4490,7 @@
 "afeng",
 "afuchs",
 "agibson",
+"agingade",
 "agoncharuk",
 "agrieve",
 "agruber",
@@ -8418,6 +8432,7 @@
 "ckormos",
 "craigmcc",
 "ctoth",
+"deki",
 "dennisbyrne",
 "dhoersch",
 "drobinson",
@@ -10876,6 +10891,7 @@
 ],
 "struts-pmc": [
 "apopescu",
+"cnenning",
 "davenewton",
 "grobmeier",
 "hermanns",

Modified: comdev/projects.apache.org/site/json/foundation/people.json
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/people.json?rev=1678834&r1=1678833&r2=1678834&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/people.json (original)
+++ comdev/projects.apache.org/site/json/foundation/people.json Mon May 11 22:17:54 2015
@@ -111,6 +111,13 @@
 "member": false,
 "name": "Babiichuk Andriy"
 },
+"abaker": {
+"groups": [
+"incubator"
+],
+"member": false,
+"name": "Anthony Baker"
+},
 "abaranchuk": {
 "groups": [
 "ambari"
@@ -599,6 +606,13 @@
 "member": false,
 "name": "Andy Gibson"
 },
+"agingade": {
+"groups": [
+"incubator"
+],
+"member": false,
+"name": "Anilkumar Gingade"
+},
 "agoncharuk": {
 "groups": [
 "ignite",
@@ -2131,6 +2145,13 @@
 "member": false,
 "name": "Apostolis Giannakidis"
 },
+"apivovarov": {
+"groups": [
+"hive"
+],
+"member": false,
+"name": "Alexander Pivovarov"
+},
 "apl": {
 "groups": [
 "cayenne"
@@ -6378,7 +6399,8 @@
 },
 "cnenning": {
 "groups": [
-"struts"
+"struts",
+"struts-pmc"
 ],
 "member": false,
 "name": "Christoph Nenning"
@@ -7776,6 +7798,13 @@
 "member": false,
 "name": "Bosanac Dejan"
 },
+"deki": {
+"groups": [
+"myfaces"
+],
+"member": false,
+"name": "Dennis Kieselhorst"
+},
 "delafran": {
 "groups": [
 "geronimo"
@@ -9481,6 +9510,14 @@
 "member": false,
 "name": "Ed Anuff"
 },
+"edcoleman": {
+"groups": [
+"accumulo",
+"accumulo-pmc"
+],
+"member": false,
+"name": "Ed Coleman"
+},
 "edeoliveira": {
 "groups": [
 "mina"
@@ -16801,6 +16838,13 @@
 "member": false,
 "name": "Josh Rosen"
 },
+"joshtynjala": {
+"groups": [
+"flex"
+],
+"member": false,
+"name": "Josh Tynjala"
+},
 "joshuaga": {
 "groups": [
 "oodt",
@@ -18290,7 +18334,7 @@
 "jena-pmc"
 ],
 "member": false,
-"name": "Bruno P. Kinoshita|+|<a href=\"http://people.apache.org/~kinow/\">+</a>"
+"name": "Bruno P. Kinoshita|+|<a href=\"http://kinoshita.eti.br\">+</a>"
 },
 "kip": {
 "groups": [
@@ -20334,6 +20378,13 @@
 "member": false,
 "name": "Marc Petir Kwiatkowski"
 },
+"marcos": {
+"groups": [
+"cloudstack"
+],
+"member": false,
+"name": "Marco Sinhoreli"
+},
 "marcosperanza": {
 "groups": [
 "commons",
@@ -25364,6 +25415,13 @@
 "member": false,
 "name": "Paul C. Loikith"
 },
+"plusplusjiajia": {
+"groups": [
+"directory"
+],
+"member": false,
+"name": "Jiajia Li"
+},
 "pmahoney": {
 "groups": [
 "myfaces"
@@ -28891,6 +28949,14 @@
 "member": false,
 "name": "Stephan Classen"
 },
+"scnakandala": {
+"groups": [
+"airavata",
+"airavata-pmc"
+],
+"member": false,
+"name": "Supun Nakandala"
+},
 "scode": {
 "groups": [
 "cassandra"
@@ -29629,6 +29695,14 @@
 "member": true,
 "name": "Sheryl John"
 },
+"shickey": {
+"groups": [
+"accumulo",
+"accumulo-pmc"
+],
+"member": false,
+"name": "Sean Hickey"
+},
 "shinichiro": {
 "groups": [
 "incubator",
@@ -33916,6 +33990,14 @@
 "member": false,
 "name": "Vikram Dixit K"
 },
+"vikrams": {
+"groups": [
+"accumulo",
+"accumulo-pmc"
+],
+"member": false,
+"name": "Vikram Srivastava"
+},
 "villard": {
 "groups": [
 "xalan"



Mime
View raw message