Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(153)

Issue 1187483002: Setup git-svn and handle detached HEAD state in auto-rebaseline script. (Closed)

Created:
4 years, 10 months ago by joelo
Modified:
4 years, 9 months ago
CC:
blink-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Setup git-svn and handle detached HEAD state in auto-rebaseline script. These enable auto-rebaseline to work from a fresh blink checkout on buildbot. BUG=474273 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197280

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 2

Patch Set 3 : git auto-svn only when neccessary, add tests #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -9 lines) Patch
M Tools/Scripts/webkitpy/common/system/executive_mock.py View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 2 1 chunk +12 lines, -1 line 3 comments Download
M Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 1 2 8 chunks +80 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
joelo
4 years, 10 months ago (2015-06-12 17:28:17 UTC) #2
Dirk Pranke
lgtm https://codereview.chromium.org/1187483002/diff/20001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/1187483002/diff/20001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode807 Tools/Scripts/webkitpy/tool/commands/rebaseline.py:807: tool.executive.run_command(['git', 'auto-svn']) I wonder if there's much of ...
4 years, 10 months ago (2015-06-12 19:51:30 UTC) #3
joelo
Sorry for the delay, ptal? https://codereview.chromium.org/1187483002/diff/20001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/1187483002/diff/20001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode807 Tools/Scripts/webkitpy/tool/commands/rebaseline.py:807: tool.executive.run_command(['git', 'auto-svn']) On 2015/06/12 ...
4 years, 10 months ago (2015-06-17 18:37:37 UTC) #4
Dirk Pranke
lgtm
4 years, 10 months ago (2015-06-17 18:42:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1187483002/40001
4 years, 10 months ago (2015-06-17 18:46:17 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59303)
4 years, 10 months ago (2015-06-17 18:55:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1187483002/40001
4 years, 10 months ago (2015-06-17 19:08:26 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197280
4 years, 10 months ago (2015-06-17 20:38:15 UTC) #12
Xianzhu
https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File Tools/Scripts/webkitpy/tool/commands/rebaseline.py (left): https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#oldcode832 Tools/Scripts/webkitpy/tool/commands/rebaseline.py:832: old_branch_name = tool.scm().current_branch() What will tool.scm().current_branch() return when HEAD ...
4 years, 9 months ago (2015-07-14 20:40:05 UTC) #14
joelo
https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File Tools/Scripts/webkitpy/tool/commands/rebaseline.py (left): https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#oldcode832 Tools/Scripts/webkitpy/tool/commands/rebaseline.py:832: old_branch_name = tool.scm().current_branch() Is it possible to create a ...
4 years, 9 months ago (2015-07-14 23:51:01 UTC) #15
Xianzhu
https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File Tools/Scripts/webkitpy/tool/commands/rebaseline.py (left): https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#oldcode832 Tools/Scripts/webkitpy/tool/commands/rebaseline.py:832: old_branch_name = tool.scm().current_branch() On 2015/07/14 23:51:01, joelo wrote: > ...
4 years, 9 months ago (2015-07-15 15:57:13 UTC) #16
Xianzhu
On 2015/07/15 15:57:13, Xianzhu wrote: > https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py > File Tools/Scripts/webkitpy/tool/commands/rebaseline.py (left): > > https://codereview.chromium.org/1187483002/diff/40001/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#oldcode832 > ...
4 years, 9 months ago (2015-07-15 15:59:38 UTC) #17
joelo
> > The right side code misses a strip, so will include the ending '\n' ...
4 years, 9 months ago (2015-07-15 20:57:09 UTC) #18
Xianzhu
On 2015/07/15 20:57:09, joelo wrote: > > > The right side code misses a strip, ...
4 years, 9 months ago (2015-07-15 21:12:43 UTC) #19
joelo
> I don't think it crashes in current_branch(), but crashes somewhere else. I > think ...
4 years, 9 months ago (2015-07-16 07:04:41 UTC) #20
Xianzhu
On 2015/07/16 07:04:41, joelo wrote: > > I don't think it crashes in current_branch(), but ...
4 years, 9 months ago (2015-07-16 16:04:42 UTC) #21
joelo
4 years, 9 months ago (2015-07-16 20:18:37 UTC) #22
Message was sent while issue was closed.
> However, I still think we should fix git.py instead of duplicating the logic
> here (for https://codereview.chromium.org/1235353002/).

Will do, thanks for investigating ;)

Powered by Google App Engine
This is Rietveld 408576698