community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r1821920 - /comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
Date Mon, 22 Jan 2018 18:43:40 GMT
Author: henkp
Date: Mon Jan 22 18:43:40 2018
New Revision: 1821920

URL: http://svn.apache.org/viewvc?rev=1821920&view=rev
Log:
show checker errors, if any

Modified:
    comdev/reporter.apache.org/trunk/site/js/render-hppdev.js

Modified: comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/render-hppdev.js?rev=1821920&r1=1821919&r2=1821920&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/render-hppdev.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/render-hppdev.js Mon Jan 22 18:43:40 2018
@@ -679,6 +679,10 @@ function renderFrontPage(json) {
 			renderJIRA(pmc)
 		}
 
+        if (json.checker[pmc]['errors'] > 0) {
+            renderChecker(pmc)
+        }
+
 
 		// Reporting example
 		var template = buildPanel(pmc, "Report template");
@@ -817,6 +821,12 @@ function renderBZ(pmc) {
     obj.innerHTML += "Tickets were found for the following products:<br><kbd>"
+ Object.keys(jsdata.bugzilla[pmc][2]).sort().join(", ") + "</kbd>"
 }
 
+function renderChecker(pmc) {
+    var obj = buildPanel(pmc, "Dist Checker")
+    var errs = jsdata.checker[pmc]['errors'] ;
+    obj.innerHTML += errors + ' errors'
+}
+
 function renderChart(json, name, container, delivery) {
 
 	var chartDiv = document.createElement('div')



Mime
View raw message