gecko-dev/python
Gregory Szorc b36a5bbd84 Bug 1394071 - Create a Finder for relevant moz.build files; r=mshal
Not every moz.build file in the repo is a normal moz.build file.
Some moz.build files are used for testing moz.build files. Others
may exist in directories that should be ignored.

all_mozbuild_path() already knew how to filter out moz.build files
that should be ignored. Let's extract the Finder for doing this
into an instance attribute so it can be used elsewhere.


MozReview-Commit-ID: 9PaZQAbjIZO

--HG--
extra : rebase_source : 5bfd27b5a9ab6b24b9e3aa3c8cc286d64c3ebd3c
2017-08-25 19:08:24 -07:00
..
devtools/migrate-l10n Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
mach Bug 1390968: python-3 compatibility for python/**/*.py; r=Alex_Gaynor,gps 2017-08-28 21:31:30 +00:00
mozboot Bug 1390968: python-3 compatibility for python/**/*.py; r=Alex_Gaynor,gps 2017-08-28 21:31:30 +00:00
mozbuild Bug 1394071 - Create a Finder for relevant moz.build files; r=mshal 2017-08-25 19:08:24 -07:00
mozlint Bug 1390699 - Follow-up: Use find_executable() to locate echo. r=ahal 2017-08-17 00:19:12 -06:00
mozversioncontrol/mozversioncontrol Bug 1393503 - Proper error handling for failure to find VCS tool; r=glandium,nalexander 2017-08-24 17:09:09 -07:00
mach_commands.py Bug 1393826 - [python-test] Make sure pytest errors get flagged by treeherder, r=davehunt 2017-08-25 12:03:23 -04:00
moz.build Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
README Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00

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