Open Bug 1533619 Opened 7 years ago Updated 3 years ago

add option to run bootstrap to update build dependencies but not make configuration changes

Categories

(Firefox Build System :: Bootstrap Configuration, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: heycam, Unassigned)

Details

Somtimes I have out of date build dependencies, e.g. I'll get:

0:05.79 checking cbindgen version...
0:05.80 DEBUG: Executing: /home/cam/.mozbuild/cbindgen/cbindgen --version
0:05.80 ERROR: cbindgen version 0.7.1 is too old. At least version 0.8.2 is required.
0:05.80 Please update using 'cargo install cbindgen --force' or running
0:05.80 './mach bootstrap', after removing the existing executable located at
0:05.80 /home/cam/.mozbuild/cbindgen/cbindgen.
0:05.84 *** Fix above errors and then restart with
0:05.84 "./mach build"

I would like to run mach bootstrap in a mode that will update dependencies like cbindgen, but not re-ask me any other questions interactively. I can use "--application-choice browser --no-interactive" but I think that will make configuration changes I'm not sure I want to make.

I've discovered that --no-interactive is what I want, but it would be nice if I didn't have to pass --application-choice and it could remember what my configuration is for that.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.