You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/06 10:17:30 UTC

svn commit: r1864490 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/generators.js source/statistics_generator.js wizard.js

Author: humbedooh
Date: Tue Aug  6 10:17:30 2019
New Revision: 1864490

URL: http://svn.apache.org/viewvc?rev=1864490&view=rev
Log:
fix ML parsing

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
    comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1864490&r1=1864489&r2=1864490&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Tue Aug  6 10:17:30 2019
@@ -206,7 +206,7 @@ function health_tips(data) {
     // Mailing list changes
     for (var ml in data.delivery[project]) {
         let mldata = data.delivery[project][ml];
-        let a = ml.split('-', 2);
+        let a = ml.split('-', 1);
         ml = "%s@%s.apache.org".format(a[1], a[0]);
         if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so...
           continue;

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js?rev=1864490&r1=1864489&r2=1864490&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js Tue Aug  6 10:17:30 2019
@@ -140,7 +140,7 @@ function statistics_health(data) {
             }
         });
         let mldata = data.delivery[project][ml];
-        let a = ml.split('-', 2);
+        let a = ml.split('-', 1);
         ml = "%s@%s.apache.org".format(a[1], a[0]);
         if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so...
             continue;

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864490&r1=1864489&r2=1864490&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Tue Aug  6 10:17:30 2019
@@ -1391,7 +1391,7 @@ function health_tips(data) {
     // Mailing list changes
     for (var ml in data.delivery[project]) {
         let mldata = data.delivery[project][ml];
-        let a = ml.split('-', 2);
+        let a = ml.split('-', 1);
         ml = "%s@%s.apache.org".format(a[1], a[0]);
         if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so...
           continue;
@@ -2238,7 +2238,7 @@ function statistics_health(data) {
             }
         });
         let mldata = data.delivery[project][ml];
-        let a = ml.split('-', 2);
+        let a = ml.split('-', 1);
         ml = "%s@%s.apache.org".format(a[1], a[0]);
         if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so...
             continue;