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

Issue 743083002: Make gclient ready for the Blink (DEPS to main project) transition (Closed)

Created:
6 years, 1 month ago by Primiano Tucci (use gerrit)
Modified:
6 years ago
CC:
jochen (gone - plz use gerrit), chromium-reviews, cmp-cc_chromium.org, Dirk Pranke, iannucci+depot_tools_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Project:
tools
Visibility:
Public.

Description

Make gclient ready for the Blink (DEPS to main project) transition This CL makes gclient understand correctly whether a git project is being moved from DEPS to an upper project and vice-versa. The driving use case for this is the upcoming Blink merge, where third_party/Webkit will be removed from DEPS (and .gitignore) and will become part of the main project. At present state, gclient leaves the .git folder around when a project is removed from DEPS, and that causes many problems. Furthermore this CL solves the performance problem of bisecting across the merge point. The subproject's (Blink) .git/ folder is moved to a backup location (in the main checkout root) and is restored when moving backwards, avoiding a re-fetch when bisecting across the merge point. BUG=431469 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=293329

Patch Set 1 #

Patch Set 2 : more work (Test pass) #

Patch Set 3 : Almost there, needs some polishing and discussion. #

Patch Set 4 : Cleanup #

Total comments: 1

Patch Set 5 : Use os.sep (for Win) and address nits rebase #

Patch Set 6 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -10 lines) Patch
M gclient.py View 1 2 3 4 5 2 chunks +40 lines, -9 lines 0 comments Download
M gclient_scm.py View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M scm.py View 1 1 chunk +10 lines, -0 lines 0 comments Download
M testing_support/fake_repos.py View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M tests/gclient_scm_test.py View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M tests/gclient_smoketest.py View 1 2 3 2 chunks +131 lines, -1 line 0 comments Download
M tests/scm_unittest.py View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Primiano Tucci (use gerrit)
Gentlemen, I need your eyes and your souls for this CL. The title should explain ...
6 years, 1 month ago (2014-11-22 02:23:48 UTC) #6
jochen (gone - plz use gerrit)
lgtm from my point of view Ian, M-A, any objections?
6 years ago (2014-11-25 16:53:08 UTC) #8
M-A Ruel
lgtm
6 years ago (2014-11-25 17:08:17 UTC) #9
M-A Ruel
https://codereview.chromium.org/743083002/diff/140001/gclient.py File gclient.py (right): https://codereview.chromium.org/743083002/diff/140001/gclient.py#newcode1597 gclient.py:1597: 'level checkout. The git folder containing all the local ...
6 years ago (2014-11-25 17:08:32 UTC) #10
Primiano Tucci (use gerrit)
On 2014/11/25 17:08:32, M-A Ruel wrote: > https://codereview.chromium.org/743083002/diff/140001/gclient.py > File gclient.py (right): > > https://codereview.chromium.org/743083002/diff/140001/gclient.py#newcode1597 ...
6 years ago (2014-11-25 17:22:32 UTC) #11
Primiano Tucci (use gerrit)
I did some testing in the last weeks using that locally on both Windows and ...
6 years ago (2014-12-09 16:26:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/743083002/160001
6 years ago (2014-12-09 16:27:32 UTC) #14
commit-bot: I haz the power
Presubmit check for 743083002-160001 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-09 16:29:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/743083002/180001
6 years ago (2014-12-10 15:51:32 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:180001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=293329
6 years ago (2014-12-10 15:53:44 UTC) #19
M-A Ruel
On 2014/12/10 15:53:44, I haz the power (commit-bot) wrote: > Committed patchset #6 (id:180001) as ...
6 years ago (2014-12-11 16:31:25 UTC) #20
Primiano Tucci (use gerrit)
> Test BlinkDEPSTransitionSmokeTest is flaky; > https://codereview.chromium.org/753543006/. Uhm, sigh. Looking...
6 years ago (2014-12-11 16:35:10 UTC) #21
Primiano Tucci (use gerrit)
6 years ago (2014-12-11 17:22:36 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:180001) has been created in
https://codereview.chromium.org/796053002/ by primiano@chromium.org.

The reason for reverting is: The test intoruced is flake (see
crrev.com/753543006/).
Need to look into that with more patience as it reproduces only on precise.
.

Powered by Google App Engine
This is Rietveld 408576698