Changeset 188304 in webkit
- Timestamp:
- Aug 11, 2015 3:47:30 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js
r187871 r188304 39 39 }.bind(this)); 40 40 41 webkitTrac.addEventListener(Trac.Event.CommitsUpdated, this._newCommitsRecorded, this);42 if (typeof internalTrac != "undefined")43 internalTrac.addEventListener(Trac.Event.CommitsUpdated, this._newCommitsRecorded, this);41 Dashboard.Repository.OpenSource.trac.addEventListener(Trac.Event.CommitsUpdated, this._newCommitsRecorded, this); 42 if (typeof Dashboard.Repository.Internal.trac != "undefined") 43 Dashboard.Repository.Internal.trac.addEventListener(Trac.Event.CommitsUpdated, this._newCommitsRecorded, this); 44 44 }; 45 45 … … 77 77 return; 78 78 79 var webkitTrac = Dashboard.Repository.OpenSource.trac; 80 var internalTrac = Dashboard.Repository.Internal.trac; 79 81 var latestRecordedOpenSourceRevisionNumber = webkitTrac.latestRecordedRevisionNumber; 80 82 if (!latestRecordedOpenSourceRevisionNumber || webkitTrac.oldestRecordedRevisionNumber > latestProductiveIteration.revision[Dashboard.Repository.OpenSource.name]) { … … 154 156 content.className = "commit-history-popover"; 155 157 158 var webkitTrac = Dashboard.Repository.OpenSource.trac; 159 var internalTrac = Dashboard.Repository.Internal.trac; 156 160 var linesForOpenSource = this._popoverLinesForCommitRange(webkitTrac, queue.branch.openSource, latestProductiveIteration.revision[Dashboard.Repository.OpenSource.name] + 1, webkitTrac.latestRecordedRevisionNumber); 157 161 for (var i = 0; i != linesForOpenSource.length; ++i) … … 263 267 console.assert(iteration.revision[Dashboard.Repository.OpenSource.name]); 264 268 265 var openSourceContent = this._revisionContentWithPopoverForIteration(iteration, previousDisplayedIteration, Dashboard.Repository.OpenSource.name, webkitTrac); 269 var openSourceContent = this._revisionContentWithPopoverForIteration(iteration, previousDisplayedIteration, 270 Dashboard.Repository.OpenSource.name, Dashboard.Repository.OpenSource.trac); 266 271 267 272 if (!iteration.revision[Dashboard.Repository.Internal.name]) 268 273 return openSourceContent; 269 274 270 var internalContent = this._revisionContentWithPopoverForIteration(iteration, previousDisplayedIteration, Dashboard.Repository.Internal.name, internalTrac); 275 var internalContent = this._revisionContentWithPopoverForIteration(iteration, previousDisplayedIteration, 276 Dashboard.Repository.Internal.name, Dashboard.Repository.Internal.trac); 271 277 272 278 var fragment = document.createDocumentFragment(); -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js
r174366 r188304 26 26 var settings = new Settings; 27 27 var buildbots = [ new WebKitBuildbot ]; 28 var webkitTrac = new Trac("https://trac.webkit.org/");28 Dashboard.Repository.OpenSource.trac = new Trac("https://trac.webkit.org/"); 29 29 if (typeof Bugzilla !== "undefined") 30 30 var bugzilla = new Bugzilla; -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js
r188172 r188304 297 297 } 298 298 299 webkitTrac.startPeriodicUpdates();300 if (typeof internalTrac !== "undefined")301 internalTrac.startPeriodicUpdates();299 Dashboard.Repository.OpenSource.trac.startPeriodicUpdates(); 300 if (typeof Dashboard.Repository.Internal.trac !== "undefined") 301 Dashboard.Repository.Internal.trac.startPeriodicUpdates(); 302 302 303 303 document.addEventListener("DOMContentLoaded", documentReady); -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js
r187871 r188304 31 31 this._queueBeingLoaded = null; 32 32 33 webkitTrac.addEventListener(Trac.Event.Loaded, this._loadedFromTrac, this);33 Dashboard.Repository.OpenSource.trac.addEventListener(Trac.Event.Loaded, this._loadedFromTrac, this); 34 34 }; 35 35 … … 78 78 }, this); 79 79 80 webkitTrac.load(this._rangeStartTime, this._rangeEndTime);80 Dashboard.Repository.OpenSource.trac.load(this._rangeStartTime, this._rangeEndTime); 81 81 82 82 bubbleQueueServer.loadProcessingTimes(this._rangeStartTime, this._rangeEndTime, this._loadedBubblesTiming.bind(this)); … … 265 265 var worstOwnTimeRevision; 266 266 267 webkitTrac.recordedCommits.forEach(function(revision) {267 Dashboard.Repository.OpenSource.trac.recordedCommits.forEach(function(revision) { 268 268 if (revision.date < this._rangeStartTime || revision.date >= this._rangeEndTime) 269 269 return; -
trunk/Tools/ChangeLog
r188302 r188304 1 2015-08-11 Jason Marcell <jmarcell@apple.com> 2 3 Substituted Dashboard.Repository.OpenSource.trac for webkitTrac and Dashboard.Repository.Internal.trac 4 for internalTrac. 5 https://bugs.webkit.org/show_bug.cgi?id=147805 6 7 Reviewed by Daniel Bates. 8 9 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js: 10 (BuildbotQueueView): Substituted Dashboard.Repository.OpenSource.trac for webkitTrac and 11 Dashboard.Repository.Internal.trac for internalTrac. 12 (BuildbotQueueView.prototype._appendPendingRevisionCount): Added local variables webkitTrac 13 and internalTrac for Dashboard.Repository.OpenSource.trac and Dashboard.Repository.Internal.trac, 14 respectively. 15 (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto. 16 (BuildbotQueueView.prototype.revisionContentForIteration): Substituted 17 Dashboard.Repository.OpenSource.trac for webkitTrac and Dashboard.Repository.Internal.trac for 18 internalTrac. 19 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js: Ditto. 20 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Ditto. 21 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js: 22 (Analyzer): Ditto. 23 (Analyzer.prototype.analyze): Ditto. 24 1 25 2015-08-11 Filip Pizlo <fpizlo@apple.com> 2 26
Note: See TracChangeset
for help on using the changeset viewer.