Changeset 215215 in webkit


Ignore:
Timestamp:
Apr 10, 2017 8:33:56 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Have parseRevisionProperty use default repo name as the Buildbot key.
https://bugs.webkit.org/show_bug.cgi?id=170696

Patch by Kocsen Chung <Kocsen Chung> on 2017-04-10
Reviewed by Daniel Bates.

Previously, we needed to set a key and a fallbackKey when addressing
Buildbot data for Internal. That is no longer necessary as we can make a safe assumption
that the repo name maps exactly to that key for every repository other
than WebKit.

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

Set key = repositoryName and only use fallback keys when dealing with WebKit.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js

    r214512 r215215  
    202202        });
    203203        var branches = this.queue.branches;
     204
    204205        for (var i = 0; i < branches.length; ++i) {
    205206            var repository = branches[i].repository;
     
    207208            var key;
    208209            var fallbackKey;
     210
    209211            if (repository === Dashboard.Repository.OpenSource) {
    210212                key = "WebKit";
    211213                fallbackKey = "opensource";
    212             } else if (repository === Dashboard.Repository.Internal) {
    213                 key = "Internal";
    214                 fallbackKey = "internal";
    215214            } else {
    216215                key = repositoryName;
    217216                fallbackKey = null;
    218217            }
     218
    219219            var revision = parseRevisionProperty(revisionProperty, key, fallbackKey);
    220220            this.revision[repositoryName] = revision;
  • trunk/Tools/ChangeLog

    r215214 r215215  
     12017-04-10  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Have parseRevisionProperty use default repo name as the Buildbot key.
     4        https://bugs.webkit.org/show_bug.cgi?id=170696
     5
     6        Reviewed by Daniel Bates.
     7
     8        Previously, we needed to set a key and a fallbackKey when addressing
     9        Buildbot data for Internal. That is no longer necessary as we can make a safe assumption
     10        that the repo name maps exactly to that key for every repository other
     11        than WebKit.
     12
     13        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
     14        Set `key = repositoryName` and only use fallback keys when dealing with WebKit.
     15
    1162017-04-10  Aakash Jain  <aakash_jain@apple.com>
    217
Note: See TracChangeset for help on using the changeset viewer.