mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
8a92d6f72c
This change adds a prompt to enable build system telemetry as part of bootstrap. The prompt will only be shown if the build.telemetry config value is not present, so users will not be prompted again if they have already opted-in. However, if a user answers 'no' we don't save that value to the config file because the default is to not send telemetry, so unless they manually add `telemetry = false` to their config file they will be prompted again the next time they run bootstrap. The config value is always written to `~/.mozbuild/machrc` where we store other Firefox build-related state. A standalone function is used to write the config file so that we can do so even when running from bootstrap.py outside of the context of a mach command. As part of this change a `prompt_yesno` method is added to `BaseBootstrapper`. Differential Revision: https://phabricator.services.mozilla.com/D9781 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
docs | ||
l10n/fluent_migrations | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozrelease | ||
mozterm | ||
mozversioncontrol | ||
safety | ||
mach_commands.py | ||
moz.build | ||
README |
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Vendored python modules (use third_party/python instead) * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025