Bug 1717051: Rename "mach_bootstrap.py" to "mach_initialize.py" r=firefox-build-system-reviewers,glandium

We've overloaded "bootstrap" to mean three different things:
* The "standalone bootstrap script": `python/mozboot/bin/bootstrap.py`.
  This is to freshly clone a new repo, then run `./mach bootstrap`.
* `./mach bootstrap`: Install necessary dependencies and set up the
  system for development.
* "Mach bootstrap": do the in-process initialization work Mach needs
  before it can run commands.

By using the term "initialize" instead, perhaps we can remove
ambiguity when discussing Mach.

I'm not attached to the name (or this change at all), but I'm interested
in reviewer thoughts :)

Differential Revision: https://phabricator.services.mozilla.com/D120410
This commit is contained in:
Mitchell Hentges
2021-09-03 20:46:22 +00:00
parent 0dbb09344f
commit 7753b911e2
11 changed files with 20 additions and 20 deletions

View File

@@ -72,7 +72,7 @@ class MachCommands(MachCommandBase):
raise UserError("Cannot pass both --requirements and --no-virtualenv.")
if no_virtualenv:
from mach_bootstrap import mach_sys_path
from mach_initialize import mach_sys_path
python_path = sys.executable
append_env["PYTHONPATH"] = os.pathsep.join(