fune/python
ahochheiden c798320975 Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium
Now that we selectively load command modules, and activate the command
virtualenv much earlier in the mach process, a lot of the module
dependencies specified in `mach.txt` are no longer necessary there. With
their removal from `mach.txt` they will no longer be automatically
inherited by every site, which reduces potential dependency conflicts
for specific sites.

The `common` site still effectively has the same set of dependencies.
This is the default site that all commands use unless otherwise
specified. Most commands use this site, and going through every command
and seeing if a dependency is or isn't needed, then deciding if or if
not to create a new site for that command made sense was too time
consuming to do here.

Essentially the idea here going forward is that if you're trying to
add/update a new dependency to a command that is currently defaulting to
the `common` site and there is a conflict with one of the dependencies
in `common` you can move your command to a new site specifically for
your command, and you will have the minimal possible set of dependencies
a mach command can have, improving the odds that you can add the
module(s) you need for your command.

Depends on D180500

Differential Revision: https://phabricator.services.mozilla.com/D180501
2023-07-25 00:24:53 +00:00
..
docs
gdbpp/gdbpp
l10n Backed out 3 changesets (bug 1842091, bug 1831341) for causing mochitests failures in browser_parsable_css.js. CLOSED TREE 2023-07-25 00:31:40 +03:00
lldbutils
mach Bug 1844417 - Allow virtualenv sites to load from comm-central. r=ahochheiden 2023-07-25 00:24:53 +00:00
mozboot Bug 1838948 - Update reference to Python 3.6 as the minimum Python version that Mach supports to Python 3.7 r=firefox-build-system-reviewers,glandium 2023-06-22 02:15:57 +00:00
mozbuild Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium 2023-07-25 00:24:53 +00:00
mozlint Bug 1757373 - Enable linting to run in parallel when '.' is specified as the path. r=linter-reviewers,ahal 2023-05-09 13:11:21 +00:00
mozperftest Bug 1843222 - Fenix and Focus download perma fail, link to downloading fenix and focus apk has changed. r=perftest-reviewers,sparky 2023-07-17 15:56:59 +00:00
mozrelease Bug 1774273 - Transition mac notarization to signingscript r=taskgraph-reviewers,bhearsum 2023-05-23 17:31:37 +00:00
mozterm
mozversioncontrol Bug 1835943 - Properly construct CallerProcessError in _push_to_try_with_log_capture r=ahal 2023-06-12 22:22:21 +00:00
sites Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium 2023-07-25 00:24:53 +00:00
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