Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Issue 2152663003: Refactor the buildbot module in webkitpy. (Closed)

Created:
4 years, 5 months ago by qyearsley
Modified:
4 years, 5 months ago
CC:
blink-reviews, cbentzel+watch_chromium.org, chromium-reviews, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the buildbot module in webkitpy. This CL refactors BuildBot so that: - There is now a results_url method in the BuildBot class (moved from AbstractRebaseliningCommand) - Redundant functions are removed - The Builder and Build classes are removed - Buildbot-related functions in webkitpy.common.config.urls are moved into BuildBot - Unit test and mock version are updated The purpose of this is to simplify the code; this is a follow-up to http://crrev.com/2112133002 which removed some unused functionality. Committed: https://crrev.com/66b942da80d7af5806f50630e55a9800102f43e1 Cr-Commit-Position: refs/heads/master@{#406599}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add comments #

Patch Set 3 : Fix test #

Messages

Total messages: 32 (14 generated)
qyearsley
4 years, 5 months ago (2016-07-14 21:55:28 UTC) #4
qyearsley
4 years, 5 months ago (2016-07-15 15:45:37 UTC) #6
dcampb
https://codereview.chromium.org/2152663003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (right): https://codereview.chromium.org/2152663003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#newcode47 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:47: """ Whats the benefit of not having a __init__ ...
4 years, 5 months ago (2016-07-15 17:33:26 UTC) #9
qyearsley
After this change, I noticed that there are two types of methods in this class: ...
4 years, 5 months ago (2016-07-15 17:50:00 UTC) #10
wkorman
On 2016/07/15 at 17:50:00, qyearsley wrote: > After this change, I noticed that there are ...
4 years, 5 months ago (2016-07-18 19:58:53 UTC) #13
qyearsley
On 2016/07/18 at 19:58:53, wkorman wrote: > On 2016/07/15 at 17:50:00, qyearsley wrote: > > ...
4 years, 5 months ago (2016-07-18 20:34:27 UTC) #14
wkorman
https://codereview.chromium.org/2152663003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (right): https://codereview.chromium.org/2152663003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#newcode62 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:62: return '%s/%s' % (RESULTS_URL_BASE, re.sub('[ .()]', '_', builder_name)) What ...
4 years, 5 months ago (2016-07-19 22:46:27 UTC) #15
qyearsley
https://codereview.chromium.org/2152663003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (right): https://codereview.chromium.org/2152663003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#newcode62 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:62: return '%s/%s' % (RESULTS_URL_BASE, re.sub('[ .()]', '_', builder_name)) On ...
4 years, 5 months ago (2016-07-19 23:17:26 UTC) #16
wkorman
lgtm
4 years, 5 months ago (2016-07-19 23:20:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2152663003/20001
4 years, 5 months ago (2016-07-19 23:42:59 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/262865)
4 years, 5 months ago (2016-07-20 00:54:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2152663003/40001
4 years, 5 months ago (2016-07-20 16:11:50 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-20 17:28:45 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 17:29:10 UTC) #26
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/66b942da80d7af5806f50630e55a9800102f43e1 Cr-Commit-Position: refs/heads/master@{#406599}
4 years, 5 months ago (2016-07-20 17:32:38 UTC) #28
Vadim Sh.
Probably broke rebaseline-o-matic: https://build.chromium.org/p/chromium.infra.cron/builders/rebaseline-o-matic/builds/396281
4 years, 5 months ago (2016-07-20 17:51:31 UTC) #30
qyearsley
On 2016/07/20 at 17:51:31, vadimsh wrote: > Probably broke rebaseline-o-matic: https://build.chromium.org/p/chromium.infra.cron/builders/rebaseline-o-matic/builds/396281 Hmm, I think you're ...
4 years, 5 months ago (2016-07-20 17:58:35 UTC) #31
qyearsley
4 years, 5 months ago (2016-07-20 17:58:48 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2165983003/ by qyearsley@chromium.org.

The reason for reverting is: On 2016/07/20 at 17:51:31, vadimsh wrote:
> Probably broke rebaseline-o-matic:
https://build.chromium.org/p/chromium.infra.cron/builders/rebaseline-o-matic/....

Powered by Google App Engine
This is Rietveld 408576698