gecko-dev/python
Mitchell Hentges f20cdb0c12 Bug 1712804: Check if `comm` directory is empty in TB identification r=ahal
Some developers hold onto a `comm` directory as a mount point
that they conditionally populate depending on whether they're working on
Firefox or Thunderbird.
The "`comm` directory exists == is a thunderbird checkout"
assumption isn't compatible with this workflow.

The fix embraced by this patch is to check if the `comm` directory has
any contents.

Differential Revision: https://phabricator.services.mozilla.com/D119193
2021-07-06 18:33:58 +00:00
..
devtools/migrate-l10n Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
docs Bug 1713610: Require PyPI-vendored packages be added to requirements.in r=ahal 2021-06-10 19:19:06 +00:00
gdbpp/gdbpp Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
l10n Bug 1659691 - Update cross-channel algorithm to not replay history. r=firefox-build-system-reviewers,releng-reviewers,bhearsum,mhentges 2021-06-17 18:52:58 +00:00
lldbutils Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
mach Bug 1719144 - Fix various imports for Python 3.10. r=firefox-build-system-reviewers,mhentges 2021-07-06 15:26:29 +00:00
mozboot Bug 1717905: M1 Macs don't support Android targets r=glandium 2021-07-05 17:44:20 +00:00
mozbuild Bug 1712804: Check if `comm` directory is empty in TB identification r=ahal 2021-07-06 18:33:58 +00:00
mozlint Bug 1714159 - Handle `c:/...` and `C:/...` when making relative paths in `mozlint`. r=ahal 2021-06-02 21:27:40 +00:00
mozperftest Bug 1717786: Update mozperfest runner's list of in-tree Python packages r=kimberlythegeek 2021-06-24 18:02:53 +00:00
mozrelease Bug 1714688 - Removed 'if PY2' logic from python/mozrelease r=mhentges 2021-06-14 20:41:31 +00:00
mozterm Bug 1680345 - python3 - Require six 1.13.0 in non third_party and non web-platform packages r=jgraham,jmaher 2020-12-03 22:54:35 +00:00
mozversioncontrol No Bug - [mozversioncontrol] xfail 'test_branch.py' with git < 2.22.0, r=bhearsum 2021-04-14 20:49:26 +00:00
README
mach_commands.py Bug 1713857: Don't set PYTHONEXECUTABLE environment variable r=glandium 2021-06-17 13:28:29 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +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