gecko-dev/python
Mike Hommey f2c9fad61b Bug 1337391 - Don't skip all directories that aren't traversed with a DIRS in a moz.build file. r=chmanchester
The way directory traversal is computed relies on the
RecursiveMakeTraversal class, which is used to reproduce the old
traversal order from the old entirely-in-make traversal with DIRS,
PARALLEL_DIRS, etc. because of the undeclared intra-directory
dependencies that are looming here and there.

It's fed through DirectoryTraversal objects emitted by the frontend.
Normally, DirectoryTraversal objects are emitted for a directory,
possibly giving the subdirectories defined in DIRS/TEST_DIRS its
moz.build. But in the case of gyp processing, nothing places the gyp
objdirs in some virtual DIRS of some parent moz.build since bug 1308982.

As a consequence, the corresponding entries in the
RecursiveMakeTraversal instance attached to the backend are not attached
to any parent directory. When subsequently traversing the tree from the
root, they are never found, and end up being skipped, irregarding of
their actual _no_skip status.

It would probably be possible to revert the changes from bug 1308992,
but we might as well not rely on remains from the old ways. So instead,
we make the RecursiveMakeTraversal consider directories without a
declared parent attached directly to the root directory. They don't need
to depend on any other directory anyways.

--HG--
extra : rebase_source : 17403922322a71d490fdea8db0ff16b04983ed7a
2017-02-09 15:22:34 +09:00
..
PyECC
altgraph Bug 1265272 - Import altgraph 0.12; r=ted,gerv 2016-04-21 13:49:29 -04:00
bitstring
blessings
compare-locales Backed out changeset 626c5d74b74c (bug 1315976) for breaking Mac L10n nightlies. r=backout a=backout 2016-11-28 14:19:47 +01:00
configobj
devtools/migrate-l10n Bug 1312333 - Include bug1309191 in devtools l10n migration script for NetMonitor. r=pike 2016-10-23 23:19:00 +02:00
eme Bug 1265272 - Update gen-eme-voucher.py to handle work on MacOSX binaries. r=ted 2016-04-21 11:10:27 -04:00
futures Bug 1309060 - Update futures to version 3.0.5, r=gps 2016-10-24 16:04:45 -04:00
gdbpp/gdbpp bug 1297723 - support mozilla::UniquePtr in the gdb pretty printers r=froydnj 2016-11-08 16:30:52 -05:00
jsmin
lldbutils
mach Bug 1318044 - Issue sgr0 after printing every line; r=froydnj 2016-12-12 10:23:02 -08:00
macholib Bug 1265272 - Import macholib 1.7; r=ted,gerv 2016-04-21 11:46:07 -04:00
mock-1.0.0
mozboot Bug 1332722 - mozboot: Use msys path for cargo_bin. r=gps 2017-01-20 11:55:05 -08:00
mozbuild Bug 1337391 - Don't skip all directories that aren't traversed with a DIRS in a moz.build file. r=chmanchester 2017-02-09 15:22:34 +09:00
mozlint Bug 1335309 - Change the default for find_executables to False. r=mshal 2017-01-31 14:06:15 +09:00
mozversioncontrol/mozversioncontrol Bug 1334556 - make GitRepository.get_modified_files slightly more idiomatic; r=gps 2017-01-27 13:51:58 -05:00
psutil
py Bug 1253359 - Vendor in Pytest 2.9.2 and Py 1.4.31 r=gps 2016-08-10 13:34:59 +02:00
pyasn1
pyasn1-modules
pylru Bug 1100925 - Vendored pylru 1.0.9 into mozilla-central. r=gps 2016-07-13 14:22:01 -07:00
pystache
pytest Bug 1253359 - Vendor in Pytest 2.9.2 and Py 1.4.31 r=gps 2016-08-10 13:34:59 +02:00
pytoml Bug 1231764 - part 4 - add pytoml to the virtualenv; r=chmanchester 2016-08-06 00:49:26 -04:00
pyyaml
redo Bug 1301785: update python/redo to 1.6; r=gps 2016-10-31 15:41:28 +00:00
requests
rsa
slugid
virtualenv Bug 1295439 - Upgrade setuptools to 25.2.0; r=glandium 2016-08-16 08:46:57 -07:00
voluptuous Bug 1281004: vendor voluptuous; r=gps 2016-06-29 20:39:02 +00:00
which
README
mach_commands.py Bug 1325197 - Add logging around mach python-test; r=gps 2016-12-21 11:12:55 -05:00
moz.build Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester 2016-11-16 09:59:22 -05: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:

* 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

## pyyaml | pystache

Used in taskcluster related mach commands to update download from github
and remove .git and tests.

Then run tests in taskcluster/tests/