community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1838262 - in /comdev/reporter.apache.org: branches/TEST_INSTALL/README.txt branches/TEST_INSTALL/scripts/health.py trunk/README.txt trunk/scripts/health.py
Date Fri, 17 Aug 2018 13:08:29 GMT
Author: sebb
Date: Fri Aug 17 13:08:29 2018
New Revision: 1838262

URL: http://svn.apache.org/viewvc?rev=1838262&view=rev
Log:
Unused

Modified:
    comdev/reporter.apache.org/branches/TEST_INSTALL/README.txt
    comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/health.py
    comdev/reporter.apache.org/trunk/README.txt
    comdev/reporter.apache.org/trunk/scripts/health.py

Modified: comdev/reporter.apache.org/branches/TEST_INSTALL/README.txt
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/branches/TEST_INSTALL/README.txt?rev=1838262&r1=1838261&r2=1838262&view=diff
==============================================================================
--- comdev/reporter.apache.org/branches/TEST_INSTALL/README.txt (original)
+++ comdev/reporter.apache.org/branches/TEST_INSTALL/README.txt Fri Aug 17 13:08:29 2018
@@ -117,7 +117,6 @@ Data file consumers:
 
 - health.py
   data/maildata_extended.json
-  data/mailinglists.json
   data/pmcs.json
   data/projects.json
   data/releases/%s.json % project

Modified: comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/health.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/health.py?rev=1838262&r1=1838261&r2=1838262&view=diff
==============================================================================
--- comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/health.py (original)
+++ comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/health.py Fri Aug 17 13:08:29
2018
@@ -5,7 +5,6 @@
    - data/releases/%s.json
    - data/pmcs.json
    - data/projects.json
-   - data/mailinglists.json
    - data/maildata_extended.json
    - https://whimsy.apache.org/public/committee-info.json via committee_info
 
@@ -57,17 +56,6 @@ afterQuarter = time.time() - (3*31*86400
 afterHalf = time.time() - (6*31*86400)
 afterFull = time.time() - (12*31*86400)
 cdata = {}
-mlstats = {} # Populated, but does not appear to be used
-with open(join(RAO_DATA,"mailinglists.json"), "r") as f:
-    ml = json.loads(f.read())
-    f.close()
-    for entry in ml:
-        tlp = entry.split(".")[0] # e.g. lucene.apache.org-general => lucene
-        if tlp in pmap:
-            tlp = pmap[tlp]
-        if True:
-            mlstats[tlp] = mlstats[tlp] if tlp in mlstats else {}
-            mlstats[tlp][entry] = ml[entry]
 emails = {}
 with open(join(RAO_DATA,"maildata_extended.json"), "r") as f:
     mld = json.loads(f.read())

Modified: comdev/reporter.apache.org/trunk/README.txt
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/README.txt?rev=1838262&r1=1838261&r2=1838262&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/README.txt (original)
+++ comdev/reporter.apache.org/trunk/README.txt Fri Aug 17 13:08:29 2018
@@ -122,7 +122,6 @@ Data file consumers:
 
 - health.py
   data/maildata_extended.json
-  data/mailinglists.json
   data/pmcs.json
   data/projects.json
   data/releases/%s.json % project

Modified: comdev/reporter.apache.org/trunk/scripts/health.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/health.py?rev=1838262&r1=1838261&r2=1838262&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/health.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/health.py Fri Aug 17 13:08:29 2018
@@ -5,7 +5,6 @@
    - data/releases/%s.json
    - data/pmcs.json
    - data/projects.json
-   - data/mailinglists.json
    - data/maildata_extended.json
    - https://whimsy.apache.org/public/committee-info.json via committee_info
 
@@ -57,17 +56,6 @@ afterQuarter = time.time() - (3*31*86400
 afterHalf = time.time() - (6*31*86400)
 afterFull = time.time() - (12*31*86400)
 cdata = {}
-mlstats = {} # Populated, but does not appear to be used
-with open(join(RAO_DATA,"mailinglists.json"), "r") as f:
-    ml = json.loads(f.read())
-    f.close()
-    for entry in ml:
-        tlp = entry.split(".")[0] # e.g. lucene.apache.org-general => lucene
-        if tlp in pmap:
-            tlp = pmap[tlp]
-        if True:
-            mlstats[tlp] = mlstats[tlp] if tlp in mlstats else {}
-            mlstats[tlp][entry] = ml[entry]
 emails = {}
 with open(join(RAO_DATA,"maildata_extended.json"), "r") as f:
     mld = json.loads(f.read())



Mime
View raw message