BuildbotQueueView.prototype._appendPendingRevisionCount should skip repositories...
authorjmarcell@apple.com <jmarcell@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Sep 2015 17:49:44 +0000 (17:49 +0000)
committerjmarcell@apple.com <jmarcell@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Sep 2015 17:49:44 +0000 (17:49 +0000)
have an associated trac instance.
https://bugs.webkit.org/show_bug.cgi?id=149673

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
(BuildbotQueueView.prototype._appendPendingRevisionCount): Skip repositories that don't
have an associated trac instance.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js
Tools/ChangeLog

index 848eb1b..9267f49 100644 (file)
@@ -89,6 +89,8 @@ BuildbotQueueView.prototype = {
             var latestProductiveRevisionNumber = latestProductiveIteration.revision[repositoryName];
             if (!latestProductiveRevisionNumber)
                 continue;
             var latestProductiveRevisionNumber = latestProductiveIteration.revision[repositoryName];
             if (!latestProductiveRevisionNumber)
                 continue;
+            if (!trac)
+                continue;
             if (!trac.latestRecordedRevisionNumber || trac.oldestRecordedRevisionNumber > latestProductiveRevisionNumber) {
                 trac.loadMoreHistoricalData();
                 return;
             if (!trac.latestRecordedRevisionNumber || trac.oldestRecordedRevisionNumber > latestProductiveRevisionNumber) {
                 trac.loadMoreHistoricalData();
                 return;
index eb50f12..5a278e6 100644 (file)
@@ -1,3 +1,15 @@
+2015-09-30  Jason Marcell  <jmarcell@apple.com>
+
+        BuildbotQueueView.prototype._appendPendingRevisionCount should skip repositories that don't
+        have an associated trac instance.
+        https://bugs.webkit.org/show_bug.cgi?id=149673
+
+        Reviewed by Alexey Proskuryakov.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
+        (BuildbotQueueView.prototype._appendPendingRevisionCount): Skip repositories that don't
+        have an associated trac instance.
+
 2015-09-30  Daniel Bates  <dabates@apple.com>
 
         Prioritize testing latest build request on iOS test bots
 2015-09-30  Daniel Bates  <dabates@apple.com>
 
         Prioritize testing latest build request on iOS test bots