зеркало из https://github.com/mozilla/gecko-dev.git
db67b0d1f3
Previously, we raised errors attempting to register a mach sub-command if the parent command was not defined on the Registrar. This broke B2G because its mach command Registrar imposes restrictions on which commands it exposes. Commands there were not getting registered on the Registrar, leading mach to give a false positive that the parent command was never defined. We change the verification logic to take present but unregistered commands into consideration and to skip registering sub-commands if the parent isn't present in the Registrar. --HG-- extra : rebase_source : 150eea0ca85d9f2c9cd9e98f5bf905695da53bf4 |
||
---|---|---|
.. | ||
bitstring | ||
blessings | ||
configobj | ||
eme | ||
jsmin | ||
lldbutils | ||
mach | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
pyasn1 | ||
pystache | ||
pyyaml | ||
redo | ||
requests | ||
virtualenv | ||
which | ||
README | ||
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: * 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/