Author: humbedooh Date: Tue Aug 6 10:20:18 2019 New Revision: 1864494 URL: http://svn.apache.org/viewvc?rev=1864494&view=rev Log: fix ignores
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=1864494&r1=1864493&r2=1864494&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:20:18 2019 @@ -208,7 +208,7 @@ function health_tips(data) { let mldata = data.delivery[project][ml]; let a = ml.match(/([^-]+)-(.+)/); ml = "%s@%s.apache.org".format(a[2], a[1]); - if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so... + if (a[2].match(/commits|cvs|announce/)) { // we already count commits, so... continue; } let pct_change =Math.floor( 100 * ( (mldata.quarterly[0] - mldata.quarterly[1]) / (mldata.quarterly[1]*1.0) )); 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=1864494&r1=1864493&r2=1864494&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:20:18 2019 @@ -142,7 +142,7 @@ function statistics_health(data) { let mldata = data.delivery[project][ml]; let a = ml.match(/([^-]+)-(.+)/); ml = "%s@%s.apache.org".format(a[2], a[1]); - if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so... + if (a[2].match(/commits|cvs|announce/)) { // we already count commits, so... continue; } txt = ""; 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=1864494&r1=1864493&r2=1864494&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:20:18 2019 @@ -1393,7 +1393,7 @@ function health_tips(data) { let mldata = data.delivery[project][ml]; let a = ml.match(/([^-]+)-(.+)/); ml = "%s@%s.apache.org".format(a[2], a[1]); - if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so... + if (a[2].match(/commits|cvs|announce/)) { // we already count commits, so... continue; } let pct_change =Math.floor( 100 * ( (mldata.quarterly[0] - mldata.quarterly[1]) / (mldata.quarterly[1]*1.0) )); @@ -2240,7 +2240,7 @@ function statistics_health(data) { let mldata = data.delivery[project][ml]; let a = ml.match(/([^-]+)-(.+)/); ml = "%s@%s.apache.org".format(a[2], a[1]); - if (a[1].match(/commits|cvs|announce/)) { // we already count commits, so... + if (a[2].match(/commits|cvs|announce/)) { // we already count commits, so... continue; } txt = "";