mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +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 |
||
---|---|---|
.. | ||
bin | ||
mozboot | ||
support | ||
README.rst | ||
setup.py |
mozboot - Bootstrap your system to build Mozilla projects ========================================================= This package contains code used for bootstrapping a system to build mozilla-central. This code is not part of the build system per se. Instead, it is related to everything up to invoking the actual build system. If you have a copy of the source tree, you run: python bin/bootstrap.py If you don't have a copy of the source tree, you can run: curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py | python - The bootstrap script will download everything it needs from hg.mozilla.org automatically!