gecko-dev/python
Mike Hommey d9e412fe4d Bug 1356524 - Add a `mach artifact toolchain` option to get artifacts from taskcluster builds. r=gps
Now that we have automated build jobs that produce toolchains, we want
to avoid the burden of uploading them to tooltool and then update the
tooltool manifests. But we don't have build jobs for all the possible
toolchains, so we allow `mach artifact toolchain` to get a mix of
tooltool and taskcluster artifacts.

For taskcluster artifacts, we can give a list of job names (conveniently
automatically normalized to begin with 'toolchain-' and end with '/opt')
for which the artifacts will be downloaded, in place of any tooltool
package with the same name (if a tooltool manifest is given).

The taskcluster artifacts that we download are the ones matching the
contents of the tree the command is run with, per the resources declared
for the corresponding toolchain build job (in
taskcluster/ci/toolchain*.yml)

So for example, a linux64 build could call the following command:
  mach artifact toolchain --tooltool-manifest \
    browser/config/tooltool-manifests/linux64/releng.manifest \
    --from-build linux64-gcc

and get the right gcc corresponding to the build-gcc script in tree,
along with the other non-gcc files from the tooltool manifest.

Things are however planned to be even more convenient, but some commands
can already benefit from this form (even without a tooltool manifest).
See e.g. bug 1328454.

--HG--
extra : rebase_source : b12ed77bef529eb8d67476aceac0166bdfe2eeed
2017-04-14 11:34:53 +09:00
..
PyECC
blessings
compare-locales bug 1344782, update compare-locales to 1.2.3, r=flod 2017-04-12 15:26:40 +02:00
configobj
devtools/migrate-l10n Bug 1350229 - Removing Preview side panel. r=rickychien 2017-04-07 23:31:18 +08:00
dlmanager Bug 1341215 - Vendor dlmanager. r=chmanchester 2017-02-23 15:30:46 +09: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 Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg 2017-03-10 15:17:23 +13:00
mach Bug 1347290 - Set sgr0 to '' if blessings.tigetstr('sgr0') returns None, r=gps 2017-04-06 17:44:30 -07:00
mock-1.0.0
mozboot Bug 1353460 Asked the user to restart the shell before building from source. r=rillian 2017-04-06 08:27:57 +05:30
mozbuild Bug 1356524 - Add a `mach artifact toolchain` option to get artifacts from taskcluster builds. r=gps 2017-04-14 11:34:53 +09:00
mozlint Bug 1340162 - Add task for running mozlint unitttests on Linux (and pull old tests out of make check), r=smacleod 2017-02-02 11:08:41 -05:00
mozversioncontrol/mozversioncontrol Bug 1306078 - part 2 - add Repository.get_added_files; r=ted.mielczarek 2017-02-14 16:12:19 -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 1345109 - Ensure |mach python-test| errors out if no tests are found, r=mshal 2017-03-07 10:55:07 -05:00
moz.build Bug 1337145 - Remove python components used for EME generation; r=glandium 2017-04-10 13:40:03 -04: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/