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

Issue 2347643002: Refactor the way that SCM changes are tracked and aggregated in rebaseline.py. (Closed)

Created:
4 years, 3 months ago by qyearsley
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke, wkorman
CC:
blink-reviews, chromium-reviews, Dirk Pranke, jeffcarp, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the way that SCM changes are tracked and aggregated in rebaseline.py. This is a preliminary refactoring CL which is intended to consolidate related logic into one place, and prepare for the real change that I want to make: That is, apply git changes only once in _rebaseline after all changes are made, to fix http://crbug.com/639410. I want to make two follow-up changes after this: (1) Change _rebaseline to apply git changes only once after all commands are run. (2) Refactor and simplify ChangeSet, _serial_commands, and _run_in_parallel. BUG=639410 Committed: https://crrev.com/9dc06fa0fd9e3ffb68b4feeef5158ab54f2ee6b6 Cr-Commit-Position: refs/heads/master@{#419038}

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : Refactor the way that SCM changes are tracked and aggregated. #

Total comments: 4

Patch Set 5 : Removed Args/Returns from _serial_commands docstring. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -43 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/optimize_baselines.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 2 3 4 7 chunks +100 lines, -34 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 1 2 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
qyearsley
4 years, 3 months ago (2016-09-15 20:41:09 UTC) #7
Dirk Pranke
lgtm https://codereview.chromium.org/2347643002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/2347643002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode415 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:415: A ChangeSet object. I'm not generally a fan ...
4 years, 3 months ago (2016-09-15 21:03:02 UTC) #8
wkorman
lgtm https://codereview.chromium.org/2347643002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/2347643002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode105 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:105: self.lines_to_remove[test].append(builder) Maybe the builder list should be a ...
4 years, 3 months ago (2016-09-15 21:05:06 UTC) #9
qyearsley
https://codereview.chromium.org/2347643002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/2347643002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode105 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:105: self.lines_to_remove[test].append(builder) On 2016/09/15 at 21:05:06, wkorman wrote: > Maybe ...
4 years, 3 months ago (2016-09-15 22:20:30 UTC) #12
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/2347643002/80001
4 years, 3 months ago (2016-09-15 22:20:55 UTC) #13
qyearsley
On 2016/09/15 at 22:20:30, qyearsley wrote: > I see that this is a bit verbose; ...
4 years, 3 months ago (2016-09-15 22:22:53 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-15 23:37:13 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 23:39:31 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9dc06fa0fd9e3ffb68b4feeef5158ab54f2ee6b6
Cr-Commit-Position: refs/heads/master@{#419038}

Powered by Google App Engine
This is Rietveld 408576698