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

Issue 513923006: Skip MigrateConfigToGit if gclient config is non trivial. (Closed)

Created:
6 years, 3 months ago by andresp-chromium
Modified:
6 years, 3 months ago
Reviewers:
cmp, iannucci, szager1
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Project:
tools
Visibility:
Public.

Description

Skip MigrateConfigToGit if gclient config is non trivial. At the moment it crashs if the .gclient config contains Import or Function statements.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Skip non assign statments and strange assign operations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M gclient.py View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
andresp-chromium
andresp@chromium.org changed reviewers: + cmp@chromium.org, szager@chromium.org
6 years, 3 months ago (2014-08-28 12:09:09 UTC) #1
andresp-chromium
6 years, 3 months ago (2014-08-28 12:09:19 UTC) #2
iannucci
iannucci@chromium.org changed reviewers: + iannucci@chromium.org
6 years, 3 months ago (2014-08-28 16:36:38 UTC) #3
iannucci
lgtm, though import statements in your .gclient is a Bad Idea. Could you describe why ...
6 years, 3 months ago (2014-08-28 16:36:38 UTC) #4
szager1
not lgtm https://codereview.chromium.org/513923006/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/513923006/diff/1/gclient.py#newcode1271 gclient.py:1271: if any(not hasattr(elem, 'targets') for elem in ...
6 years, 3 months ago (2014-08-28 17:22:15 UTC) #5
andresp-chromium
On 2014/08/28 17:22:15, szager1 wrote: > not lgtm > > https://codereview.chromium.org/513923006/diff/1/gclient.py > File gclient.py (right): ...
6 years, 3 months ago (2014-08-29 14:15:20 UTC) #6
iannucci
On 2014/08/29 14:15:20, andresp wrote: > On 2014/08/28 17:22:15, szager1 wrote: > > not lgtm ...
6 years, 3 months ago (2014-08-29 17:25:58 UTC) #7
szager1
lgtm This should cover the great majority of cases.
6 years, 3 months ago (2014-08-29 17:47:44 UTC) #8
andresp-chromium
On 2014/08/29 17:47:44, szager1 wrote: > lgtm > > This should cover the great majority ...
6 years, 3 months ago (2014-09-01 11:06:53 UTC) #9
iannucci
6 years, 3 months ago (2014-09-02 18:55:23 UTC) #10
Message was sent while issue was closed.
On 2014/09/01 11:06:53, andresp wrote:
> On 2014/08/29 17:47:44, szager1 wrote:
> > lgtm
> > 
> > This should cover the great majority of cases.
> 
> Thanks iannucci, I have fixed our internal use case to use --revision.
> Seems to work as intended and I don't really need to submit this.

hooray! one less case for imports in .gclient! :D

Powered by Google App Engine
This is Rietveld 408576698