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

Issue 2839008: Make the DEPS parsing saner. (Closed)

Created:
10 years, 6 months ago by M-A Ruel
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Move DEPS parsing into a single function. This is a move towards having each DEPS entry being a Dependency instance. TEST=new revinfo unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50630

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments addressed #

Patch Set 3 : Take two, reusing this review so you can diff the changes #

Patch Set 4 : Take 3. fixes issue with double-parsed DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -102 lines) Patch
M gclient.py View 1 2 3 13 chunks +68 lines, -95 lines 0 comments Download
M tests/fake_repos.py View 4 chunks +6 lines, -6 lines 0 comments Download
M tests/gclient_smoketest.py View 4 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
M-A Ruel
It's another step towards http://codereview.chromium.org/2627007. Albeit this review starts to become much more readable with ...
10 years, 6 months ago (2010-06-16 20:10:48 UTC) #1
M-A Ruel
Ping? I really want the whole thing from http://codereview.chromium.org/2627007 to get in ASAP.
10 years, 6 months ago (2010-06-18 13:52:54 UTC) #2
Mandeep Singh Baines
http://codereview.chromium.org/2839008/diff/1/2 File gclient.py (right): http://codereview.chromium.org/2839008/diff/1/2#newcode185 gclient.py:185: def ParseDepsFile(self, direct_reference): What is the From keyword? http://codereview.chromium.org/2839008/diff/1/2#newcode193 ...
10 years, 6 months ago (2010-06-18 14:44:48 UTC) #3
M-A Ruel
ptal http://codereview.chromium.org/2839008/diff/1/2 File gclient.py (right): http://codereview.chromium.org/2839008/diff/1/2#newcode185 gclient.py:185: def ParseDepsFile(self, direct_reference): On 2010/06/18 14:44:49, Mandeep Singh ...
10 years, 6 months ago (2010-06-18 14:58:02 UTC) #4
Mandeep Singh Baines
LGTM
10 years, 6 months ago (2010-06-18 15:58:05 UTC) #5
M-A Ruel
I know this is bad hygiene but I'm reusing this review so you can easily ...
10 years, 6 months ago (2010-06-21 18:45:57 UTC) #6
Nasser Grainawi
lgtm
10 years, 6 months ago (2010-06-21 18:49:43 UTC) #7
M-A Ruel
Bad hygiene take two. :/ Please see the diff between patchset 3 and 4 Until ...
10 years, 6 months ago (2010-06-21 21:00:22 UTC) #8
M-A Ruel
On 2010/06/21 21:00:22, Marc-Antoine Ruel wrote: > Bad hygiene take two. :/ Please see the ...
10 years, 6 months ago (2010-06-23 14:02:01 UTC) #9
Nasser Grainawi
On 2010/06/23 14:02:01, Marc-Antoine Ruel wrote: > On 2010/06/21 21:00:22, Marc-Antoine Ruel wrote: > > ...
10 years, 6 months ago (2010-06-23 19:12:47 UTC) #10
M-A Ruel
10 years, 6 months ago (2010-06-23 19:14:02 UTC) #11
On 2010/06/23 19:12:47, Nasser Grainawi wrote:
> So you changed it to always re-parse the DEPS file if ParseAllDeps is called?
I
> can't say I fully understand the impacts of this change, but it lgtm.

Yes this is necessary with the From() keyword. It is a stop gap measure though
and will be removed in a later change.

Powered by Google App Engine
This is Rietveld 408576698