gecko-dev/python
Ted Mielczarek 8a92d6f72c bug 1483941 - prompt to enable build system telemetry in bootstrap. r=nalexander
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
2018-11-06 14:19:24 +00:00
..
devtools/migrate-l10n
docs Bug 1490253 - Update documentation on vendoring Python packages based on switch to pip-tools; r=ahal 2018-10-15 13:36:30 +00:00
l10n/fluent_migrations Bug 1491672 - Migrate About Dialog to use Fluent for localization r=flod,zbraniecki,jaws 2018-11-05 16:13:12 +00:00
mach Bug 1497638 - Gather telemetry for mach commands other than build. r=ted,firefox-build-system-reviewers,nalexander 2018-10-31 20:03:56 +00:00
mozboot bug 1483941 - prompt to enable build system telemetry in bootstrap. r=nalexander 2018-11-06 14:19:24 +00:00
mozbuild Backed out 48 changesets (bug 1376873, bug 1502992) for causing windows 7 wpt crashes on several files. 2018-11-03 03:12:43 +02:00
mozlint Bug 1500447 - [mozlint] Make sure lineno and column are always int (if present), r=rwood 2018-10-19 15:54:32 +00:00
mozrelease Bug 1492128: [mozrelease] Fix typo in taskcluster proxy configuration; r=me 2018-11-01 14:21:12 -06:00
mozterm
mozversioncontrol
safety
mach_commands.py
moz.build bug 1483941 - prompt to enable build system telemetry in bootstrap. r=nalexander 2018-11-06 14:19:24 +00:00
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