Changeset 188304 in webkit


Ignore:
Timestamp:
Aug 11, 2015 3:47:30 PM (9 years ago)
Author:
commit-queue@webkit.org
Message:

Substituted Dashboard.Repository.OpenSource.trac for webkitTrac and Dashboard.Repository.Internal.trac
for internalTrac.
https://bugs.webkit.org/show_bug.cgi?id=147805

Patch by Jason Marcell <jmarcell@apple.com> on 2015-08-11
Reviewed by Daniel Bates.

  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:

(BuildbotQueueView): Substituted Dashboard.Repository.OpenSource.trac for webkitTrac and
Dashboard.Repository.Internal.trac for internalTrac.
(BuildbotQueueView.prototype._appendPendingRevisionCount): Added local variables webkitTrac
and internalTrac for Dashboard.Repository.OpenSource.trac and Dashboard.Repository.Internal.trac,
respectively.
(BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto.
(BuildbotQueueView.prototype.revisionContentForIteration): Substituted
Dashboard.Repository.OpenSource.trac for webkitTrac and Dashboard.Repository.Internal.trac for
internalTrac.

  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js: Ditto.
  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Ditto.
  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:

(Analyzer): Ditto.
(Analyzer.prototype.analyze): Ditto.

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  
    3939    }.bind(this));
    4040
    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);
    4444};
    4545
     
    7777            return;
    7878
     79        var webkitTrac = Dashboard.Repository.OpenSource.trac;
     80        var internalTrac = Dashboard.Repository.Internal.trac;
    7981        var latestRecordedOpenSourceRevisionNumber = webkitTrac.latestRecordedRevisionNumber;
    8082        if (!latestRecordedOpenSourceRevisionNumber || webkitTrac.oldestRecordedRevisionNumber > latestProductiveIteration.revision[Dashboard.Repository.OpenSource.name]) {
     
    154156        content.className = "commit-history-popover";
    155157
     158        var webkitTrac = Dashboard.Repository.OpenSource.trac;
     159        var internalTrac = Dashboard.Repository.Internal.trac;
    156160        var linesForOpenSource = this._popoverLinesForCommitRange(webkitTrac, queue.branch.openSource, latestProductiveIteration.revision[Dashboard.Repository.OpenSource.name] + 1, webkitTrac.latestRecordedRevisionNumber);
    157161        for (var i = 0; i != linesForOpenSource.length; ++i)
     
    263267        console.assert(iteration.revision[Dashboard.Repository.OpenSource.name]);
    264268
    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);
    266271
    267272        if (!iteration.revision[Dashboard.Repository.Internal.name])
    268273            return openSourceContent;
    269274
    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);
    271277
    272278        var fragment = document.createDocumentFragment();
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js

    r174366 r188304  
    2626var settings = new Settings;
    2727var buildbots = [ new WebKitBuildbot ];
    28 var webkitTrac = new Trac("https://trac.webkit.org/");
     28Dashboard.Repository.OpenSource.trac = new Trac("https://trac.webkit.org/");
    2929if (typeof Bugzilla !== "undefined")
    3030    var bugzilla = new Bugzilla;
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js

    r188172 r188304  
    297297}
    298298
    299 webkitTrac.startPeriodicUpdates();
    300 if (typeof internalTrac !== "undefined")
    301     internalTrac.startPeriodicUpdates();
     299Dashboard.Repository.OpenSource.trac.startPeriodicUpdates();
     300if (typeof Dashboard.Repository.Internal.trac !== "undefined")
     301    Dashboard.Repository.Internal.trac.startPeriodicUpdates();
    302302
    303303document.addEventListener("DOMContentLoaded", documentReady);
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js

    r187871 r188304  
    3131    this._queueBeingLoaded = null;
    3232
    33     webkitTrac.addEventListener(Trac.Event.Loaded, this._loadedFromTrac, this);
     33    Dashboard.Repository.OpenSource.trac.addEventListener(Trac.Event.Loaded, this._loadedFromTrac, this);
    3434};
    3535
     
    7878        }, this);
    7979
    80         webkitTrac.load(this._rangeStartTime, this._rangeEndTime);
     80        Dashboard.Repository.OpenSource.trac.load(this._rangeStartTime, this._rangeEndTime);
    8181
    8282        bubbleQueueServer.loadProcessingTimes(this._rangeStartTime, this._rangeEndTime, this._loadedBubblesTiming.bind(this));
     
    265265        var worstOwnTimeRevision;
    266266
    267         webkitTrac.recordedCommits.forEach(function(revision) {
     267        Dashboard.Repository.OpenSource.trac.recordedCommits.forEach(function(revision) {
    268268            if (revision.date < this._rangeStartTime || revision.date >= this._rangeEndTime)
    269269                return;
  • trunk/Tools/ChangeLog

    r188302 r188304  
     12015-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
    1252015-08-11  Filip Pizlo  <fpizlo@apple.com>
    226
Note: See TracChangeset for help on using the changeset viewer.