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

Issue 1917433002: Generalize patch_project to patch root conversion. (Closed)

Created:
4 years, 8 months ago by tandrii(chromium)
Modified:
4 years, 8 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Generalize patch_project to patch root conversion. IMPORTANT: See bug http://crbug.com/605563#c3 for deployment and emergency roll-back plan. This patch is first of a series. It provides a cleaner and generic way to apply patches to non-root of first solution. R=phajdan.jr@chromium.org,machenbach@chromium.org BUG=605563 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=300141

Patch Set 1 #

Total comments: 13

Patch Set 2 : Working + review. #

Patch Set 3 : gerrit test #

Total comments: 7

Patch Set 4 : review #

Patch Set 5 : fix bad call #

Patch Set 6 : rebase #

Patch Set 7 : -line long #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -24 lines) Patch
M recipe_modules/bot_update/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
M recipe_modules/bot_update/api.py View 1 2 chunks +17 lines, -0 lines 0 comments Download
M recipe_modules/bot_update/example.py View 1 2 3 4 5 6 5 chunks +26 lines, -2 lines 0 comments Download
M recipe_modules/bot_update/example.expected/gerrit_no_reset.json View 1 1 chunk +1 line, -1 line 0 comments Download
A + recipe_modules/bot_update/example.expected/tryjob_crbug605563.json View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
A + recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json View 1 2 1 chunk +12 lines, -5 lines 0 comments Download
M recipe_modules/gclient/api.py View 1 2 3 4 2 chunks +40 lines, -0 lines 0 comments Download
M recipe_modules/gclient/config.py View 1 2 3 7 chunks +27 lines, -12 lines 0 comments Download
M recipe_modules/rietveld/api.py View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
tandrii(chromium)
PTAL && WDYT This should not only solve Gerrit issue in a non-intrusive way, but ...
4 years, 8 months ago (2016-04-22 15:59:10 UTC) #1
Michael Achenbach
https://codereview.chromium.org/1917433002/diff/1/recipe_modules/gclient/api.py File recipe_modules/gclient/api.py (right): https://codereview.chromium.org/1917433002/diff/1/recipe_modules/gclient/api.py#newcode357 recipe_modules/gclient/api.py:357: root, _ = cfg.solutions[0].patch_projects.get(patch_project, ('', '')) solutions[0] goes away ...
4 years, 8 months ago (2016-04-25 09:32:43 UTC) #2
tandrii(chromium)
PTAL also see description and specifically the plan for deployment https://bugs.chromium.org/p/chromium/issues/detail?id=605563#c3 https://codereview.chromium.org/1917433002/diff/1/recipe_modules/gclient/api.py File recipe_modules/gclient/api.py (right): ...
4 years, 8 months ago (2016-04-25 11:39:51 UTC) #5
Michael Achenbach
https://codereview.chromium.org/1917433002/diff/40001/recipe_modules/bot_update/example.expected/tryjob_v8.json File recipe_modules/bot_update/example.expected/tryjob_v8.json (right): https://codereview.chromium.org/1917433002/diff/40001/recipe_modules/bot_update/example.expected/tryjob_v8.json#newcode27 recipe_modules/bot_update/example.expected/tryjob_v8.json:27: "--revision", Hmm, wonder if this should maybe not change? ...
4 years, 8 months ago (2016-04-25 12:09:58 UTC) #6
tandrii(chromium)
https://codereview.chromium.org/1917433002/diff/40001/recipe_modules/bot_update/example.expected/tryjob_v8.json File recipe_modules/bot_update/example.expected/tryjob_v8.json (right): https://codereview.chromium.org/1917433002/diff/40001/recipe_modules/bot_update/example.expected/tryjob_v8.json#newcode27 recipe_modules/bot_update/example.expected/tryjob_v8.json:27: "--revision", On 2016/04/25 12:09:58, Michael Achenbach wrote: > Hmm, ...
4 years, 8 months ago (2016-04-25 13:37:52 UTC) #7
tandrii(chromium)
With latest fix, this CL causes NO changes to expectations in build. I'm not sure ...
4 years, 8 months ago (2016-04-25 13:55:27 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917433002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917433002/100001
4 years, 8 months ago (2016-04-25 14:09:35 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubmit/builds/252)
4 years, 8 months ago (2016-04-25 14:14:26 UTC) #13
Michael Achenbach
lgtm
4 years, 8 months ago (2016-04-25 14:15:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917433002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917433002/120001
4 years, 8 months ago (2016-04-25 14:15:57 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 14:18:35 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=300141

Powered by Google App Engine
This is Rietveld 408576698