Граф коммитов

5184 Коммитов

Автор SHA1 Сообщение Дата
Moritz Birghan 31f729e8c4 Bug 1004308 - rename BadCertServer to BadCertAndPinningServer r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39748

--HG--
rename : security/manager/ssl/tests/unit/tlsserver/cmd/BadCertServer.cpp => security/manager/ssl/tests/unit/tlsserver/cmd/BadCertAndPinningServer.cpp
extra : moz-landing-system : lando
2019-07-31 17:06:07 +00:00
Bryce Seager van Dyk 3acd2d8056 Bug 1570352 - Make sure ensure_java correctly passes extra search dirs to which. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40065

--HG--
extra : moz-landing-system : lando
2019-07-31 17:12:21 +00:00
Joel Maher ea680be1a5 Bug 1569916 - run reftest/crashtest on android-hw when gfx/* files change. r=ahal
run reftest/crashtest on android-hw when gfx/* files change.

Differential Revision: https://phabricator.services.mozilla.com/D39900

--HG--
extra : moz-landing-system : lando
2019-07-31 13:43:59 +00:00
Andrew Halberstadt d3ccaac56c Bug 1473498 - Fix Python 3 environment variables with subprocess r=glandium
On Windows in Python 2, the subprocess module requires the use of bytes with
the 'env' argument. For that reason, we would sometimes use byte strings with
'os.environ' like so:

    os.environ[b"FOO"] = b"bar"

However, this is a failure with Python 3 as 'os.environ' must only be used with
the text type. This patch creates a new 'setenv' helper that ensures we create
new environment with 'bytes' on Python 2, and 'text' on Python 3.

Differential Revision: https://phabricator.services.mozilla.com/D38237

--HG--
extra : moz-landing-system : lando
2019-07-30 21:35:53 +00:00
Johan Lorenzo 13648fa0df Bug 1563711 - Remove target.maven.zip r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38175

--HG--
extra : moz-landing-system : lando
2019-07-30 15:35:12 +00:00
Bastien Abadie 74eca00f1f Bug 1569882 - Fix mozlint unit tests for relative path outputs, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39877

--HG--
extra : moz-landing-system : lando
2019-07-30 23:30:15 +00:00
Mike Hommey 0b648ba79b Bug 1569075 - Rename FileAvoidWrite mode argument. r=chmanchester
It causes confusion because it's the mode used to _read_ the overwritten
file. Make that more obvious by renaming to `readmode`.

Differential Revision: https://phabricator.services.mozilla.com/D39445

--HG--
extra : moz-landing-system : lando
2019-07-30 21:03:12 +00:00
Andi-Bogdan Postelnicu d7d56b3178 Bug 1569880 - Report build errors during review-phase for C/C++ code. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D39843

--HG--
extra : moz-landing-system : lando
2019-07-30 07:42:18 +00:00
Bastien Abadie cd3055975d Bug 1568771 - Output paths relative to repository in ./mach static-analysis check-coverity, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39306

--HG--
extra : moz-landing-system : lando
2019-07-30 06:44:52 +00:00
Bastien Abadie 11ff2f61f3 Bug 1568484 - Output issues relative paths in mozlint, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39162

--HG--
extra : moz-landing-system : lando
2019-07-26 15:39:17 +00:00
James Willcox 3076806612 Bug 1561323 - Fix spurious reconfigure problem with debug builds r=nalexander,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39701

--HG--
extra : moz-landing-system : lando
2019-07-29 16:49:17 +00:00
Edwin Gao a1cc4534a7 Bug 1519369 - support 'debugger' parser argument for mach test command r=ahal,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39229

--HG--
extra : moz-landing-system : lando
2019-07-26 15:18:18 +00:00
Mike Hommey 177a9940a7 Bug 1568713 - Do some sanity checks on FileAvoidWrite inputs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39271

--HG--
extra : moz-landing-system : lando
2019-07-25 22:49:21 +00:00
Makoto Kato e4d28810e5 Bug 774115 - Support mach bootstrap on Windows for Android. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33584

--HG--
extra : moz-landing-system : lando
2019-07-25 09:29:10 +00:00
Bastien Abadie 6621e16e02 Bug 1568535 - Output relative paths in mach static-analysis check, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39197

--HG--
extra : moz-landing-system : lando
2019-07-25 08:50:50 +00:00
Bastien Abadie 08c32bbebe Bug 1568558 - Output paths relative to repository in ./mach clang-format, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39211

--HG--
extra : moz-landing-system : lando
2019-07-25 08:50:33 +00:00
Mike Shal 1c560ed0f2 Bug 1567619 - Avoid double stat in preprocessed file installs; r=glandium
Followup to bug 1566044.

Differential Revision: https://phabricator.services.mozilla.com/D38763

--HG--
extra : moz-landing-system : lando
2019-07-23 03:03:36 +00:00
Mike Hommey 6a8d20b0cc Bug 1564216 - Require clang 5 for OSX builds. r=froydnj
There is less incentive to keep things building with older versions of
clang for OSX builds, and we're going to require an objective-C feature
that was added in clang 5.

Differential Revision: https://phabricator.services.mozilla.com/D38581

--HG--
extra : moz-landing-system : lando
2019-07-22 21:31:39 +00:00
Simon Sapin 0540fe3688 Bug 1565193 - Require Rust 1.36 r=glandium
MozReview-Commit-ID: GjcKBjZvTPr

Differential Revision: https://phabricator.services.mozilla.com/D37709

--HG--
extra : moz-landing-system : lando
2019-07-19 04:50:22 +00:00
Agi Sferro d0cb127dad Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D15159

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Edwin Gao bf3cb1ec8b Bug 1559975 - fix python2 linter errors for python/devtools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37640

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:08 +00:00
Mike Shal 4e0a8ed2b5 Bug 1566044 - Missing inputs in install manifests should trigger updates; r=nalexander
The preprocessed install manifest code uses a Makefile dependency file
to list inputs. If one of the inputs was missing (due to a file removal
or rename), an incremental build would fail until clobbered. We should
treat a missing input as simply being out-of-date and continue
processing.

Differential Revision: https://phabricator.services.mozilla.com/D38576

--HG--
extra : moz-landing-system : lando
2019-07-18 22:40:57 +00:00
Andrew Halberstadt 9c1c973edf Bug 1473498 - [mach] Fix Py3 compatibility issues in telemetry.py r=firefox-build-system-reviewers,chmanchester
Depends on D36104

Differential Revision: https://phabricator.services.mozilla.com/D38193

--HG--
extra : moz-landing-system : lando
2019-07-16 20:53:18 +00:00
Andrew Halberstadt 4e06e1101d Bug 1473498 - [mach] Fix Python 3 decorator compatibility r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36104

--HG--
extra : moz-landing-system : lando
2019-07-16 20:42:34 +00:00
Chris Manchester c418bfd3d5 Bug 1566219 - Provide dist-toolchains for use with sccache in bootstrap on macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38151

--HG--
extra : moz-landing-system : lando
2019-07-16 18:50:59 +00:00
Andrew Halberstadt 63b68be0e1 Bug 1473498 - Fix Py3 compatibility issue in python/mozbuild/mozbuild/testing.py r=nalexander
Depends on D37763

Differential Revision: https://phabricator.services.mozilla.com/D37764

--HG--
extra : moz-landing-system : lando
2019-07-16 15:14:49 +00:00
Mike Hommey 5bfb4c9c92 Bug 1564314 - Make linters happy with the gdbpp code. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D37676

--HG--
extra : moz-landing-system : lando
2019-07-11 18:19:44 +00:00
Mike Hommey f7f0525dc1 Bug 1564314 - Move gdbpp back to python/. r=nalexander
Somehow bug 1346025 moved it to third_party/python but... it's not third
party code.

Differential Revision: https://phabricator.services.mozilla.com/D37364

--HG--
rename : third_party/python/gdbpp/gdbpp/__init__.py => python/gdbpp/gdbpp/__init__.py
rename : third_party/python/gdbpp/gdbpp/enumset.py => python/gdbpp/gdbpp/enumset.py
rename : third_party/python/gdbpp/gdbpp/linkedlist.py => python/gdbpp/gdbpp/linkedlist.py
rename : third_party/python/gdbpp/gdbpp/owningthread.py => python/gdbpp/gdbpp/owningthread.py
rename : third_party/python/gdbpp/gdbpp/smartptr.py => python/gdbpp/gdbpp/smartptr.py
rename : third_party/python/gdbpp/gdbpp/string.py => python/gdbpp/gdbpp/string.py
rename : third_party/python/gdbpp/gdbpp/tarray.py => python/gdbpp/gdbpp/tarray.py
rename : third_party/python/gdbpp/gdbpp/thashtable.py => python/gdbpp/gdbpp/thashtable.py
extra : moz-landing-system : lando
2019-07-11 02:39:31 +00:00
Tom Prince 2208f1c2cf Bug 1458385: Generate MARs with the appropriate channel-id explicitly; r=nthomas
Rather than relying on the mar-channel-id set in the `mar` binary, set the channel
explicitly from taskcluster. This allows us to re-use the `mar` binary between
builds/channels.

Differential Revision: https://phabricator.services.mozilla.com/D37481

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Andrew Halberstadt 1190fb0269 Bug 1563797 - Use 'backports.shutil_which' instead of 'which' in the build system r=firefox-build-system-reviewers,chmanchester
Credit: Callek for figuring out an issue in 'make check' making the binary
absolute in mozbuild.base.

Differential Revision: https://phabricator.services.mozilla.com/D37319

--HG--
extra : moz-landing-system : lando
2019-07-11 14:04:39 +00:00
Andrew Halberstadt 3486ba642c Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D37097

--HG--
extra : moz-landing-system : lando
2019-07-11 14:03:39 +00:00
Victor Porof 9350016346 Bug 1564824 - Format source fails with Prettier on patches with moved files where the original directory also does not exist, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D37537

--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:18 +00:00
Andreea Pavel a35fc693c4 Backed out changeset fa94c9a03e3f (bug 1564314) for linting failures on a CLOSED TREE
--HG--
rename : python/gdbpp/gdbpp/__init__.py => third_party/python/gdbpp/gdbpp/__init__.py
rename : python/gdbpp/gdbpp/enumset.py => third_party/python/gdbpp/gdbpp/enumset.py
rename : python/gdbpp/gdbpp/linkedlist.py => third_party/python/gdbpp/gdbpp/linkedlist.py
rename : python/gdbpp/gdbpp/owningthread.py => third_party/python/gdbpp/gdbpp/owningthread.py
rename : python/gdbpp/gdbpp/smartptr.py => third_party/python/gdbpp/gdbpp/smartptr.py
rename : python/gdbpp/gdbpp/string.py => third_party/python/gdbpp/gdbpp/string.py
rename : python/gdbpp/gdbpp/tarray.py => third_party/python/gdbpp/gdbpp/tarray.py
rename : python/gdbpp/gdbpp/thashtable.py => third_party/python/gdbpp/gdbpp/thashtable.py
2019-07-10 10:12:34 +03:00
Mike Hommey 2f3833c4b3 Bug 1564314 - Move gdbpp back to python/. r=nalexander
Somehow bug 1346025 moved it to third_party/python but... it's not third
party code.

Differential Revision: https://phabricator.services.mozilla.com/D37364

--HG--
rename : third_party/python/gdbpp/gdbpp/__init__.py => python/gdbpp/gdbpp/__init__.py
rename : third_party/python/gdbpp/gdbpp/enumset.py => python/gdbpp/gdbpp/enumset.py
rename : third_party/python/gdbpp/gdbpp/linkedlist.py => python/gdbpp/gdbpp/linkedlist.py
rename : third_party/python/gdbpp/gdbpp/owningthread.py => python/gdbpp/gdbpp/owningthread.py
rename : third_party/python/gdbpp/gdbpp/smartptr.py => python/gdbpp/gdbpp/smartptr.py
rename : third_party/python/gdbpp/gdbpp/string.py => python/gdbpp/gdbpp/string.py
rename : third_party/python/gdbpp/gdbpp/tarray.py => python/gdbpp/gdbpp/tarray.py
rename : third_party/python/gdbpp/gdbpp/thashtable.py => python/gdbpp/gdbpp/thashtable.py
extra : moz-landing-system : lando
2019-07-09 16:09:14 +00:00
Mike Hommey 20ee1b2284 Bug 1563158 - Properly handle imply_option dependency loops when `when` is involved. r=chmanchester
This is an extension of the relaxation added in bug 1529799.

Differential Revision: https://phabricator.services.mozilla.com/D36716

--HG--
extra : moz-landing-system : lando
2019-07-09 22:04:01 +00:00
Makoto Kato ecd47d34f4 Bug 1562389 - Better detect non-clang-cl native windows clang. r=glandium
When building Gecko/Android/aarch64 on Windows, `--target` parameter may not be incorrect value. Although `check_compiler`'s `info` is target compiler, clang on Windows is always detected as `clang-cl`, not `clang`.

```
c:/Users/mkato/.mozbuild/clang/bin/clang.exe -E  -dM - < /dev/null
...
#define _MSC_VER 1916
```

So even if using clang on Windows, not clang-cl, we should detect as 'clang' correctly

Differential Revision: https://phabricator.services.mozilla.com/D36422

--HG--
extra : moz-landing-system : lando
2019-07-08 10:35:40 +00:00
Justin Wood 4b233fe605 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

Differential Revision: https://phabricator.services.mozilla.com/D36099

--HG--
extra : moz-landing-system : lando
2019-07-05 14:24:58 +00:00
Justin Wood 939e67a089 Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:43 +00:00
Victor Porof fc0105c226 Bug 1556393 - Pre 0 (m-c): Create a simple Prettier command for running format-source, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D36720

--HG--
extra : source : c168aefc21dfec8a1935272201592f3781df07b0
extra : intermediate-source : 008847a148cfd171e6e23425be5d6876c6174ef0
2019-07-04 14:50:20 +02:00
Andi-Bogdan Postelnicu d2e65163f9 Bug 1563326 - for code-analysis target do not globally import PackageFrontend. r=sylvestre
By globally importing PackageFrontend from the globe-analysis module we break the logger for
the PackageFrontend package.

Differential Revision: https://phabricator.services.mozilla.com/D36887

--HG--
extra : moz-landing-system : lando
2019-07-04 11:42:16 +00:00
Ed Lee 475d41e647 Bug 1563243 - Add optimistic images, string robustness and bug fixes to New Tab Page r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36764

--HG--
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Mike Hommey 7256ffeb9b Bug 1560044 - Always use a SDK path on macOS. r=nalexander
The SDK headers may not be installed in /usr/include. The usual response
has been to have people run e.g. `open
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg`
which is not really sustainable.

This makes builds that happen on a macOS host try to detect their SDK
and use that as a default for --with-macos-sdk, which has the side
effect of enabling the SDK version check in that configuration.

Differential Revision: https://phabricator.services.mozilla.com/D36558

--HG--
extra : moz-landing-system : lando
2019-07-03 22:11:05 +00:00
Francesco Lodolo (:flod) e14e57c33f Bug 1563216 - Remove Fluent migration recipes for Firefox 68 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D36754

--HG--
extra : moz-landing-system : lando
2019-07-03 13:36:06 +00:00
Andrew Halberstadt 1a58163ed7 Bug 1473498 - [mach] Enable test_logger with Python 3 r=firefox-build-system-reviewers,chmanchester
Depends on D36101

Differential Revision: https://phabricator.services.mozilla.com/D36102

--HG--
extra : moz-landing-system : lando
2019-07-02 20:59:46 +00:00
Andrew Halberstadt 3f6339271d Bug 1473498 - [mach] Enable test_config with Python 3 r=firefox-build-system-reviewers,chmanchester
Depends on D36100

Differential Revision: https://phabricator.services.mozilla.com/D36101

--HG--
extra : moz-landing-system : lando
2019-07-02 20:59:03 +00:00
Andrew Halberstadt 975f664521 Bug 1473498 - [mach] Enable test_entry_points with Python 3 r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36100

--HG--
extra : moz-landing-system : lando
2019-07-02 20:58:14 +00:00
Andrew Halberstadt 3824b084b6 Bug 1473498 - [mach] Enable test_dispatcher with python 3 r=firefox-build-system-reviewers,chmanchester
This test is working with minimal effort. Let's get it running to prevent
future regressions.

Differential Revision: https://phabricator.services.mozilla.com/D36098

--HG--
extra : moz-landing-system : lando
2019-07-02 21:27:35 +00:00
Andrew Halberstadt 6f363de429 Bug 1473498 - [mach] Pull tests out of make check r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D36097

--HG--
extra : moz-landing-system : lando
2019-07-02 20:40:39 +00:00
Mike Hommey 18f786a985 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

Differential Revision: https://phabricator.services.mozilla.com/D36562

--HG--
extra : moz-landing-system : lando
2019-07-02 23:25:03 +00:00
Andreea Pavel c92947ecc6 Backed out 5 changesets (bug 1528314, bug 1560044) for build bustages on a CLOSED TREE
Backed out changeset 4a544cd4b035 (bug 1528314)
Backed out changeset 91919cdf9159 (bug 1528314)
Backed out changeset 1271940e91e8 (bug 1560044)
Backed out changeset a5bbaa8c1001 (bug 1560044)
Backed out changeset 7ae0d606f1c6 (bug 1560044)
2019-07-03 02:20:15 +03:00
Mike Hommey 0c7ee5ce30 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

Differential Revision: https://phabricator.services.mozilla.com/D36562

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:38 +00:00
Ryan VanderMeulen 252c38a825 Bug 1563038 - Add more trees to the candidate tree list for artifact builds. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D36676

--HG--
extra : moz-landing-system : lando
2019-07-02 21:58:21 +00:00
Jeane Carlos fbe42f7796 Bug 1555788 - Migrate about preferences home content to use fluent r=fluent-reviewers,Mardak,pdahiya,flod
Differential Revision: https://phabricator.services.mozilla.com/D35278

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:55 +00:00
Andi-Bogdan Postelnicu 247d96a5f4 Bug 1559740 - add separate modules for build, static-analysis and artifacts. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D36479

--HG--
extra : moz-landing-system : lando
2019-07-01 14:02:20 +00:00
Sylvestre Ledru da21266863 Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-07-01 13:57:18 +00:00
Samuel Thibault 102e3a2ebb Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-27 14:09:05 +00:00
Kartikaya Gupta 711c133f6d Bug 1558598 - Force WebRender on or off in the gtest harness. r=ahal
This covers the local and remote gtests, as well as the mach command.

Differential Revision: https://phabricator.services.mozilla.com/D35852

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:16 +00:00
Mike Hommey b53fa7eb49 Bug 1561632 - Back out bug 1554987. r=ahal
Bug 1554987 made `mach try` use a transient remote, but that causes
problems with existing setups that happen to use the same remote name,
because of a combination of not-quite-as-documented-as-it-should
behavior of git.

- `git -c foo.bar=qux` doesn't override the value of `foo.bar` from the
  git configuration when `foo.bar` is an item that can take several
  values.
- `remote.$remote.url` and `remote.$remote.pushurl` take several values,
  allowing to give several URLs.

The combination of both means that if the git configuration already has
`remote.try.url` set, that value takes precedence (because git push
tries them one after the other, and takes the one from the command line
last)

One way we could increase the chances of things working out fine would
be to use `remote.try.pushurl`, which if already set, is more likely to
be right than an existing `remote.try.url`.

OTOH, it turns out, after more investigation, that bug 1554987 requires
a footgunny setup to happen in the first place. Namely, it requires
having run `git lfs install` from a git-cinnabar clone.

so we just go back to the previous status quo.

Differential Revision: https://phabricator.services.mozilla.com/D36149

--HG--
extra : moz-landing-system : lando
2019-06-28 15:58:36 +00:00
championshuttler 60ba27adf8 Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (3). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35314

--HG--
extra : moz-landing-system : lando
2019-06-26 20:00:31 +00:00
championshuttler 3303d92a29 Bug 1536103 - Fix Sphinx Warning - Unexpected indentation (1). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35304

--HG--
extra : moz-landing-system : lando
2019-06-28 18:33:19 +00:00
Cosmin Sabou 20f7fd4c63 Backed out 3 changesets (bug 1559740) for linting errors and android bustages. CLOSED TREE
Backed out changeset 39db36060b8a (bug 1559740)
Backed out changeset df14ac0c2421 (bug 1559740)
Backed out changeset 089e04f53971 (bug 1559740)
2019-06-28 19:40:13 +03:00
Cosmin Sabou 6dce1fb935 Bug 1559740 - Ride along - add a missing import. r=Sylvestre 2019-06-28 18:15:31 +03:00
Sylvestre Ledru edf07b0f4d Bug 1559740 - Ride along - flake8+black+codespell on python/mozbuild/mozbuild/code-analysis/mach_commands.py r=andi
Depends on D35187

Differential Revision: https://phabricator.services.mozilla.com/D35188

--HG--
extra : moz-landing-system : lando
2019-06-28 07:40:18 +00:00
Sylvestre Ledru 85ae7943fc Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-06-28 07:39:48 +00:00
Ed Lee 10090c374d Bug 1561811 - Add fluent performance, 7-row pocket and bug fixes to Activity Stream r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36150

--HG--
extra : moz-landing-system : lando
2019-06-27 20:31:22 +00:00
Rok Garbas d8e57f535e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : source : 7e05642566d001eb7b6900e80788212310243c3c
extra : histedit_source : 361d6b5974f9a4708f12f2c747645df6c7d706ee
2019-06-27 12:54:07 +00:00
Dorel Luca 66a6c7cb6f Backed out changeset 7e05642566d0 (bug 1561582) for Toolchain failures. CLOSED TREE 2019-06-27 19:36:32 +03:00
Rok Garbas e09d6e060e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : moz-landing-system : lando
2019-06-27 12:54:07 +00:00
Mike Hommey 794ccc7940 Bug 1500436 - Redirect node.js's stderr to a pipe. r=froydnj
This works around https://github.com/nodejs/node/issues/14752, which
causes problems with make.

Differential Revision: https://phabricator.services.mozilla.com/D35986

--HG--
extra : moz-landing-system : lando
2019-06-26 21:44:00 +00:00
Mike Hommey 8ad5ae09a7 Bug 1561494 - Remove gconf from bootstrap. r=froydnj
Gconf support was removed in bug 1433685.

Differential Revision: https://phabricator.services.mozilla.com/D35982

--HG--
extra : moz-landing-system : lando
2019-06-26 12:54:30 +00:00
prathiksha 82a4475a6a Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33065

--HG--
extra : moz-landing-system : lando
2019-06-26 20:24:05 +00:00
L. David Baron f721ff614d Bug 1515105 - Adjust test for turning off git commit.gpgSign when making temporary commits for try pushes. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35876

--HG--
extra : moz-landing-system : lando
2019-06-26 15:04:01 +00:00
Nick Alexander 871427c9e4 Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735.

Adding the `docs` package requirement is not ideal, but it's not worth
the effort to install it only in automation (or in the relevant task),
and it's not *that* large: 1.0G on my macOS installation.

Differential Revision: https://phabricator.services.mozilla.com/D35834

--HG--
extra : moz-landing-system : lando
2019-06-25 19:58:26 +00:00
Mike Hommey 2bd4c4799f Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander
4.3.3 is the strict minimum required for v-c-t's config wizard, but it
is preferable people use more modern versions. We could go with 5.0, but
it feels like people still using 4.8 and 4.9 don't really need to be
bugged to update to a more recent version, they are kind of modern
enough. OTOH MozillaBuild comes with 4.5.x, and this will force an
upgrade for those.

Differential Revision: https://phabricator.services.mozilla.com/D35756

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:17 +00:00
Mike Hommey c836cba1d4 Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D35755

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:50 +00:00
Mike Hommey 9101a37a23 Bug 1560826 - Backout changeset c9732a51552b (bug 1364511). r=nalexander
This makes the bootstrap behavior wrt. Mercurial consistent on all
platforms, making Windows bootstrap only upgrade Mercurial if the
version is older than MODERN_MERCURIAL_VERSION.

As a side effect, this avoids upgrading to version 5.0.1, which doesn't
come with wheels at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D35754

--HG--
extra : moz-landing-system : lando
2019-06-25 16:49:30 +00:00
Mike Hommey d01dbf277a Bug 1561201 - Expose the list of build resource data from `mach resource-usage` page. r=nalexander
The `mach resource-usage` page supports a list of build resource data,
but only ever displays the first one. Nothing actually creates a list
with multiple items automatically, but one might want to do that
manually to explore data from multiple builds more conveniently.

So if such a list exists, we expose a dropdown list of all the data
available, and switch the graph when a different item is chosen from the
list.

Differential Revision: https://phabricator.services.mozilla.com/D35757

--HG--
extra : moz-landing-system : lando
2019-06-25 16:48:19 +00:00
Mike Hommey 2424ebfd74 Bug 1561102 - Add license exception for the mach crate. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D35743

--HG--
extra : moz-landing-system : lando
2019-06-25 20:25:44 +00:00
L. David Baron 36f9d91fe8 Bug 1515105 - Turn off git commit.gpgSign when making temporary commits for try pushes. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35726

--HG--
extra : moz-landing-system : lando
2019-06-25 17:21:47 +00:00
Mike Hommey cff8fe1fbc Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

Differential Revision: https://phabricator.services.mozilla.com/D35351

--HG--
extra : moz-landing-system : lando
2019-06-24 21:36:31 +00:00
Dorel Luca 49c9b3a351 Backed out changeset 21826fb830de (bug 1554987) for py2 and py3 failures. CLOSED TREE 2019-06-25 00:28:50 +03:00
Kartikaya Gupta e6c7a2e2b3 Bug 1519598 - Add a commit function in the repository helper. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35205

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:04 +00:00
Mike Hommey e5d8e3b235 Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

Differential Revision: https://phabricator.services.mozilla.com/D35351

--HG--
extra : moz-landing-system : lando
2019-06-24 14:40:21 +00:00
Mike Hommey 9c53f7e19d Bug 1560527 - Enable make backend verbose mode automatically rather than relying on mach setting it. r=froydnj
This makes running without mach more consistent. e.g. running
`make -C $objdir/toolkit/library/rust target` makes the cargo log
verbose, and adding `-s` makes it less verbose.

Differential Revision: https://phabricator.services.mozilla.com/D35521

--HG--
extra : moz-landing-system : lando
2019-06-21 13:15:30 +00:00
Mike Hommey c74d2769cd Bug 1560442 - Allow to build rust code in a separate tier. r=froydnj
When the `MOZ_RUST_TIER` environment variable is set, we enable a separate
tier that builds rust code only. This is useful to measure build times for
rust code separately from other compilations.

Differential Revision: https://phabricator.services.mozilla.com/D35501

--HG--
extra : moz-landing-system : lando
2019-06-21 13:20:17 +00:00
prathiksha b901cf9927 Bug 1552333 - Move onCertErrorDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D31901

--HG--
extra : moz-landing-system : lando
2019-06-18 03:54:21 +00:00
Eric Rahm 67b4023a9b Bug 1555067 - Backed out changeset 0801165e3175. r=jcj
NSS_ALLOW_SSLKEYLOGFILE no longer has issues upstream, we can allow it again.

Differential Revision: https://phabricator.services.mozilla.com/D34915

--HG--
extra : moz-landing-system : lando
2019-06-13 20:59:55 +00:00
Chris Manchester c74a1fa131 Bug 1558996 - Require rust 1.35 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D34794

--HG--
extra : moz-landing-system : lando
2019-06-13 06:02:05 +00:00
Bob Clary 74c663dfaa Bug 1558931 - Improve performance of moz.build Schedules __or__, r=dustin.
Differential Revision: https://phabricator.services.mozilla.com/D34770

--HG--
extra : moz-landing-system : lando
2019-06-13 16:07:26 +00:00
Andi-Bogdan Postelnicu 9b380eca92 Bug 1559121 - Specify custom port for Coverity platform. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D34871

--HG--
extra : moz-landing-system : lando
2019-06-13 12:58:30 +00:00
Justin Wood 8d5dbea57f Bug 1533818 - Don't try to expand from a 'cose.manifest' file when repacking the l10n copy of omni.ja. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D34697

--HG--
extra : moz-landing-system : lando
2019-06-12 23:03:22 +00:00
Mike Hommey 87bda34b48 Bug 1558737 - Remove BUILD_FASTER define. r=nalexander
The last use of the define was removed in bug 1437942.

Differential Revision: https://phabricator.services.mozilla.com/D34669

--HG--
extra : moz-landing-system : lando
2019-06-12 16:20:16 +00:00
Mike Hommey 44e96352da Bug 1557547 - Actively reject clang < 4.0 during configure. r=mshal
Bug 1394825 bumped the minimum version of clang we use on automation,
for the base toolchain jobs, and there's a libclang test for bindgen,
but we should reject the compiler in the first place.

The check to do that works in both C and C++, contrary to the original
3.6 test that was checking a C++ feature ; the test was later changed
for 3.9, using a check that would have worked in both C and C++, but
the C exception was left around. We remove it now.

Differential Revision: https://phabricator.services.mozilla.com/D34083

--HG--
extra : moz-landing-system : lando
2019-06-12 22:22:24 +00:00
Nick Alexander a53b7f71ed Bug 1556162: Ignore non-deterministic localized resources in fat AARs. r=mshal
This works around the following situation: the Ngv/fat AAR task is
deterministic, but it depends on N tasks for multiple architectures,
adn the exact l10n changeset pulled by each N task depends on the tip
of the l10n HG repository at the time the N task executes.

For now, just ignore the obvious localized resources: *.ftl, *.dtd,
*.properties.

Differential Revision: https://phabricator.services.mozilla.com/D33413

--HG--
extra : moz-landing-system : lando
2019-06-11 22:44:29 +00:00
Mike Hommey edca46fdec Bug 1557336 - Unset LC_CTYPE when executing pipenv. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34484

--HG--
extra : moz-landing-system : lando
2019-06-11 20:24:04 +00:00
David Teller 75ea881e7f Bug 1520001 - dependency cloudabi is BSD-2 and must appear in about:license;r=mhoye
Not sure why this wasn't done before, but it prevented me from running `./mach rust vendor`.

Differential Revision: https://phabricator.services.mozilla.com/D34127

--HG--
extra : moz-landing-system : lando
2019-06-10 13:22:58 +00:00
Eric Rahm 984d318461 Bug 1551368 - Part 3: Don't remove the rust incremental cache when clobbering. r=chmanchester
Skips over the incremental cache when performing a clobber. The incremental compilation cache is located at:
  `$(objdir)/$(rust_target)/$(rust_build_kind)/incremental`

When cross compiling there can be two caches, one for the host and one for the target so we handle both.

Differential Revision: https://phabricator.services.mozilla.com/D31310

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:33 +00:00
Eric Rahm d84fd94a97 Bug 1551368 - Part 2: Make the Clobberer aware of substs. r=chmanchester
Pass in the substs dictionary to `Clobberer` so that we can use it to query `cargo` paths.

Differential Revision: https://phabricator.services.mozilla.com/D31309

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:11 +00:00
Eric Rahm 2c410d83ab Bug 1551368 - Part 1: Factor out subdirectory logic. r=chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

Differential Revision: https://phabricator.services.mozilla.com/D31308

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:07 +00:00
Mike Hommey ff4ab7e28f Bug 1557855 - Use a sensible default for --with-android-ndk. r=nalexander
Use the same logic as for --with-android-sdk to use the NDK downloaded
by mach bootstrap by default.

Differential Revision: https://phabricator.services.mozilla.com/D34251

--HG--
extra : moz-landing-system : lando
2019-06-07 22:23:37 +00:00
Henri Sivonen 37bd3aa18a Bug 1557278 - Avoid implicit conversion to Unicode when rewriting log lines. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33942

--HG--
extra : moz-landing-system : lando
2019-06-06 16:46:40 +00:00
Mike Hommey 0cccf3e16e Bug 1472091 - Bootstrap clang from automation on Mac. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34077

--HG--
extra : moz-landing-system : lando
2019-06-07 00:46:15 +00:00
Mike Hommey ff640b266d Bug 1557213 - Remove CC/CXX from suggested mozconfig for Android builds. r=nalexander
After bug 1519954, the build system will pick the compiler in
~/.mozbuild on its own, so there's no need to suggest people to manually
put that in their mozconfig.

Differential Revision: https://phabricator.services.mozilla.com/D33903

--HG--
extra : moz-landing-system : lando
2019-06-07 00:40:53 +00:00
Chris Manchester b17e1484eb Bug 1552120 - Add a flag to the packager to ignore broken symlinks and pass it for developer builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D33893

--HG--
extra : moz-landing-system : lando
2019-06-06 23:22:42 +00:00
shindli a06e4d2ea4 Merge autoland to mozilla-central. a=merge 2019-06-06 12:28:43 +03:00
Mike Hommey 4725fa3b70 Bug 1551639 - Don't build generated source files during the export tier. r=nalexander
As established previously, generated source files that are not included
don't need to be built during the export tier.

Differential Revision: https://phabricator.services.mozilla.com/D33771

--HG--
extra : moz-landing-system : lando
2019-06-06 04:35:00 +00:00
Jorg K d2d05444d9 Backed out changeset bb3d70c37398 (bug 1543725) for busting Thunderbird builds. a=backout 2019-06-05 22:24:02 +02:00
Cosmin Sabou 72a1de9c59 Backed out changeset 028c8f1b6b5b (bug 1551368) for linting failure on mozbuild/controller/clobber.py. 2019-06-06 00:40:06 +03:00
Eric Rahm 8fc077841c Bug 1551368 - Part 1: Factor out subdirectory logic. r=firefox-build-system-reviewers,chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

Differential Revision: https://phabricator.services.mozilla.com/D31308

--HG--
extra : moz-landing-system : lando
2019-05-21 20:46:43 +00:00
Samuel Thibault d708762a60 Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-05 07:59:19 +00:00
Mike Hommey 281c7a2177 Bug 1556662 - Fix a typo in change from bug 1469091. r=dmajor
In a branch for `isinstance(obj, (HostSources, HostGeneratedSources))`,
`isinstance(obj, GeneratedSources)` is clearly not going to match
anything. `isinstance(obj, HostGeneratedSources)` is what was intended.

Differential Revision: https://phabricator.services.mozilla.com/D33603

--HG--
extra : moz-landing-system : lando
2019-06-04 11:39:44 +00:00
Chris Manchester 399d530b9b Bug 1556185 - Ensure autoconf.mk is tracked as a dependency when preprocessing webidls. r=nalexander
webidlsrcs.mk is treated specially by the build system, and this entire
process should be supported better by moz.build, but in the meantime this
fixes the clobber bug caused by not re-building these targets when defines
are updated.

Differential Revision: https://phabricator.services.mozilla.com/D33415

--HG--
extra : moz-landing-system : lando
2019-06-03 20:33:36 +00:00
Jeremy Lempereur 1bcbdc4284 Bug 1556257 - Add Funtoo support to mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33425

--HG--
extra : moz-landing-system : lando
2019-06-03 01:15:09 +00:00
Andrew Halberstadt e3250fbdb5 Bug 1555824 - Don't call MozbuildObject.substs from a MachCommandCondition r=nalexander
Invoking MozbuildObject.substs causes an exception to be raised if there is no
BuildEnvironment. This means that we hit an error on |mach help| if there is no
build, which is not ideal for people trying to learn how to build :).

Differential Revision: https://phabricator.services.mozilla.com/D33217

--HG--
extra : moz-landing-system : lando
2019-05-30 21:47:56 +00:00
Nick Alexander 5893476bdb Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium
This follows the model set down for EME artifacts:

- a new tier is added that uses a new Python build action to fetch and
  artifacts
- the action unpacks the fetched artifacts and moves specific inputs
  into places expected by the build and packager
- in automation, MOZ_ARTIFACT_TASK* is used to ensure the artifacts
  come from the correct tasks

In this case, the artifact fetching is done entirely in a new Python
build action that internally uses `mach artifact install --job ...`.
The action also verifies that the fetched artifacts are compatible and
that we're not assembling a fat AAR that is nonsensical.  The specific
inputs are not used in the Fennec APK that is produced; they're only
used in the GeckoView AAR that is produced.

The artifact fetching itself required tweaking to fetch only
`target.maven.zip` artifacts and to not unpack them.

The specific inputs used are the native libraries (libs/$ARCH/*.so)
and the architecture-specific preference files ($ARCH/greprefs.js and
defaults/pref/$ARCH/geckoview-prefs.js).  None of these inputs are
impacted by l10n.

Differential Revision: https://phabricator.services.mozilla.com/D31572

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:09 +00:00
Nick Alexander b3894e6a12 Bug 1508976 - Pre: Add --maven-zip and --no-process to `mach artifacts install`. r=glandium
This allows to use the existing artifacts VCS-based crawling to
download the "raw" target.maven.zip from Android jobs and not process
it further.  It's just put in a specific directory, ready for use.
This isn't a big deal in automation, where all URLs are known, but
it's very useful when building locally and the VCS and the pushlog
must be consulted to determine task URLs.

Differential Revision: https://phabricator.services.mozilla.com/D31571

--HG--
extra : moz-landing-system : lando
2019-05-30 15:21:55 +00:00
prathiksha 01e4a0825b Bug 1549561 - Migrate strings from pipnss.properties to aboutCertError.ftl. r=flod CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D32513

--HG--
extra : amend_source : 38c0b2409ef80860cd389b141db4458e7b50a0c3
2019-05-30 09:43:23 +03:00
Tom Prince 592bb93848 Bug 1549889: Add support for displaying WNP conditionally on build-id; r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D33039

--HG--
extra : moz-landing-system : lando
2019-05-29 23:47:07 +00:00
Chris Manchester 216f707c10 Bug 1555397 - Download sccache on macOS as a part of bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33105

--HG--
extra : moz-landing-system : lando
2019-05-29 23:55:37 +00:00
Justin Wood 82ebc9b565 Bug 1547730 - don't fail on an unsupported .seek() needed to support adding from compressed `zipfile.ZipFile` entries. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D29216

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:55 +00:00
Justin Wood 6ae6eb968f Bug 1547730 - Set python test annotations to correspond to currently-passing py3 tests r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28122

--HG--
rename : python/mozbuild/mozbuild/test/python.ini => python/mozbuild/mozbuild/test/python2.ini
rename : python/mozbuild/mozpack/test/python.ini => python/mozbuild/mozpack/test/python2.ini
extra : moz-landing-system : lando
2019-05-28 14:28:53 +00:00
Justin Wood 7aaa02236d Bug 1547730 - Finish up some final py3-izing in getting mozjar.py to work in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28120

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:45 +00:00
Justin Wood 268136002e Bug 1547730 - Make more of configure/__init__ work in py3 r=glandium
(adds __build_class__ to the builtin sandbox and allow CombinedDependsFunction to be hashed)

Differential Revision: https://phabricator.services.mozilla.com/D28114

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:41 +00:00
Justin Wood 336529acd2 Bug 1547730 - Use six.moves.builtins in the sandbox for configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28113

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:36 +00:00
Justin Wood 43ee63b31c Bug 1547730 - Use new inspection methods introduced in py3 but work in py2.7 for functions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28112

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:34 +00:00
Justin Wood b9d47b38ce Bug 1547730 - Define __hash__ for SandboxDependsFunction and CombinedDependsFunction so we can reference it as a dictionary key in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28111

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:30 +00:00
Justin Wood c729f820ed Bug 1547730 - Stop using some cases of types.NoneType. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30966

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:25 +00:00
Justin Wood 0f1d6166c3 Bug 1547730 - Recognize StreamWriter exceptions for fileno() in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28110

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:23 +00:00
Justin Wood 241fd2ab7d Bug 1547730 - Use six.moves.reduce for reduce() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28109

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:18 +00:00
Justin Wood c5571e7a5c Bug 1547730 - Use six.moves for urllib.urlparse r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28108

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:01 +00:00
Justin Wood 5045a4b86c Bug 1547730 - Fix b''.join(rand.choice(bytestring)..) to use bytes() constructor instead r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28107

--HG--
extra : moz-landing-system : lando
2019-05-28 14:26:10 +00:00
Justin Wood 043346856b Bug 1547730 - Use six.moves.xrange() instead of xrange() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28106

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:49 +00:00
Justin Wood ed83d2e2f0 Bug 1547730 - Compensate for __builtin__ use in files accessed by py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28105

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:30 +00:00
Justin Wood 865e39b01a Bug 1547730 - Don't try to py3-ize indented_repr yet. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28103

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:23 +00:00
Justin Wood c1cc1ca1dc Bug 1547730 - don't use py2 builtin 'unicode' in mozpack and deps r=glandium
Also adjust 'basestring' usage in some places.

Differential Revision: https://phabricator.services.mozilla.com/D28102

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:15 +00:00
Justin Wood 7702de90f5 Bug 1547730 - do s/StringIO.StringIO/six.StringIO/ to support py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28101

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:00 +00:00
Justin Wood a320da451c Bug 1547730 - do py3 for cStringIO r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28100

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:47 +00:00
Justin Wood f31561f3d4 Bug 1547730 - Do s/StandardError/Exception/ to support py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28099

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:40 +00:00
Justin Wood 9986aa9ab7 Bug 1547730 - Switch to six.string_types instead of types.StringTypes for py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28098

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:27 +00:00
Justin Wood 9237a957a8 Bug 1547730 - Allow testing of mozpack on py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28097

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:14 +00:00
Justin Wood f415f240f1 Bug 1547730 - use six.iterkeys() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28119

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:07 +00:00
Justin Wood ac0c66355b Bug 1547730 - Do six.itervalues instead of dict.itervalues r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28104

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:54 +00:00
Justin Wood df3ad8c98b Bug 1547730 - Do dict.iteritems() via six to support py3. r=glandium
shellutil.py needed special handling since it is invoked earlier than the
vendor directory adding we do, so it does not have six available.

Differential Revision: https://phabricator.services.mozilla.com/D28096

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:47 +00:00
Justin Wood 80df2896d2 Bug 1542963 - Insert unicode_literals into python/mozbuild/mozpack and called mozbuild/* files. r=firefox-build-system-reviewers,chmanchester
Lint python/mozbuild/{mozbuild,mozpack}.

This makes sure we use byte strings (type(b'')) in many places.
This also has a few places where we know we want unicode, by enforcing it.

This code also has a few places where we call into windows API's which expect either all args to be unicode,
or all args to be bytestrings (not-unicode) so make sure those calls align.

This is the most risky of the stack, since there are some mach commands and codepaths that are neither excercised in automation
nor excercised in tests.

Differential Revision: https://phabricator.services.mozilla.com/D26645

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:25 +00:00
Justin Wood 8127e912fb Bug 1542963 - use print_function for mozbuild and mozpack. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

Differential Revision: https://phabricator.services.mozilla.com/D26644

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:00 +00:00
Justin Wood a0d8057603 Bug 1542963 - Add absolute_imports to mozbuild and mozpack. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}. r=#build

Add 'from __future__ import absolute_import' to all missing files in python/mozbuild/{mozbuild,mozpack}/**/*.py

Differential Revision: https://phabricator.services.mozilla.com/D26643

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:45 +00:00
Justin Wood f86dd03c23 Bug 1542963 - Fix undefined var 'defines' when use_defines_in_asflags is set. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

Differential Revision: https://phabricator.services.mozilla.com/D26642

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:30 +00:00
Justin Wood 05822ea753 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester
Leaving one fix for an explicit review.

Lint python/mozbuild/{mozbuild,mozpack}. r=#build

Differential Revision: https://phabricator.services.mozilla.com/D26641

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:20 +00:00
Justin Wood 4a12eb86b4 Bug 1542963 - run './mach lint ... --fix' on mozbuild/mozbuild, undoes some black changes. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

ran './mach lint -l py2 -l flake8 -l shellcheck -l codespell -l yaml python/mozbuild/{mozbuild,mozpack}/  --fix' in order
to undo some black changes and get closer to  making this folder able to be validated on every lint run

Differential Revision: https://phabricator.services.mozilla.com/D26640

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:00 +00:00
Rok Garbas a320ac850f Bug 1548204 - fixing test for raptor-tp6-8 r=rail
Differential Revision: https://phabricator.services.mozilla.com/D30479

--HG--
extra : moz-landing-system : lando
2019-05-28 07:44:41 +00:00