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

Issue 13976012: On linux, fetch should install the build deps before running gyp (Closed)

Created:
7 years, 8 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 8 months ago
Reviewers:
Dirk Pranke, agable
CC:
chromium-reviews, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, cmp, iannucci
Visibility:
Public.

Description

On linux, fetch should install the build deps before running gyp BUG=232291 R=dpranke@chromium.org

Patch Set 1 #

Patch Set 2 : updates #

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

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
7 years, 8 months ago (2013-04-17 07:32:31 UTC) #1
Dirk Pranke
The first version of fetch actually did almost exactly this, but the infra guys have ...
7 years, 8 months ago (2013-04-17 16:27:05 UTC) #2
agable
Ok, so apparently this is a thing that people want (see also https://codereview.chromium.org/14087013/). However, this ...
7 years, 8 months ago (2013-04-17 17:22:38 UTC) #3
jochen (gone - plz use gerrit)
my main concern is that if gclient sync fails at the end, you possibly already ...
7 years, 8 months ago (2013-04-17 18:07:02 UTC) #4
agable
Agreed, fetch needs better error handling. I'd even like it to have retry logic for ...
7 years, 8 months ago (2013-04-17 18:19:56 UTC) #5
Dirk Pranke
Chase and I had a longish conversation about this last week, and I recall us ...
7 years, 8 months ago (2013-04-17 19:14:51 UTC) #6
janx
7 years, 8 months ago (2013-04-17 21:59:17 UTC) #7
I also think that fetch should run `gclient` with `--nohooks` by default (see
#14087013), but there could be a higher-level tool for lazy developers that
fetches, installs build dependencies, and then runs the hooks in one go.

Dirk I think that my `cr clone` is similar to your `gclient init`, i.e. it sets
everything up from scratch on a new machine so that developers can be good to go
in one command. It even fetches depot_tools if necessary, adds them to the PATH
permanently, configures ninja etc, but it is linux-only because it's bash and
assumes a ~/.bashrc file: https://github.com/jankeromnes/cr/blob/master/cr (look
for the do_clone function) Are there plans to do similar tooling in gclient?

Powered by Google App Engine
This is Rietveld 408576698