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

Issue 11146032: Add recursion=n syntax to DEPS files. (Closed)

Created:
8 years, 2 months ago by Isaac (away)
Modified:
8 years, 2 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

Add recursion=n syntax to DEPS files. This will let DEPS files specify a higher local bound for recursion. Note there is an edge case where a dependency can be initially pulled in with a lower recursion level and then gets ignored subsequently when a lower level DEPS overrides it's inclusion level and then includes the same dependency. I do not solve this case, as I am intending to use this syntax for top level deps files. BUG=155780 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162464

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed formatting nits, added unit test #

Total comments: 5

Patch Set 3 : added multiple solution case to test #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -1 line) Patch
M gclient.py View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M tests/gclient_test.py View 1 2 3 1 chunk +51 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Isaac (away)
8 years, 2 months ago (2012-10-16 04:31:13 UTC) #1
M-A Ruel
I'll require a proper unit test. http://codereview.chromium.org/11146032/diff/1/gclient.py File gclient.py (right): http://codereview.chromium.org/11146032/diff/1/gclient.py#newcode174 gclient.py:174: self.recursion_override = None ...
8 years, 2 months ago (2012-10-16 14:15:00 UTC) #2
Isaac (away)
Added unit test, ptal. https://chromiumcodereview.appspot.com/11146032/diff/1/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11146032/diff/1/gclient.py#newcode174 gclient.py:174: self.recursion_override = None On 2012/10/16 ...
8 years, 2 months ago (2012-10-17 08:19:04 UTC) #3
M-A Ruel
Mostly looks good, just a small nit and a question. lgtm https://chromiumcodereview.appspot.com/11146032/diff/9002/gclient.py File gclient.py (right): ...
8 years, 2 months ago (2012-10-17 11:08:24 UTC) #4
Isaac (away)
https://chromiumcodereview.appspot.com/11146032/diff/9002/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11146032/diff/9002/gclient.py#newcode174 gclient.py:174: # This is currently only supported for top-level deps ...
8 years, 2 months ago (2012-10-17 16:24:02 UTC) #5
M-A Ruel
https://chromiumcodereview.appspot.com/11146032/diff/9002/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11146032/diff/9002/gclient.py#newcode174 gclient.py:174: # This is currently only supported for top-level deps ...
8 years, 2 months ago (2012-10-17 16:57:34 UTC) #6
Isaac (away)
Excellent! I amended my unit test to cover that case and removed my todo.
8 years, 2 months ago (2012-10-17 17:22:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ilevy@chromium.org/11146032/11003
8 years, 2 months ago (2012-10-17 18:08:05 UTC) #8
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 18:11:04 UTC) #9
Change committed as 162464

Powered by Google App Engine
This is Rietveld 408576698