Commit Graph

5718 Commits

Author SHA1 Message Date
Sylvestre Ledru
7cfa120eb9 Bug 1623320 - Add support to run mozlint on dotfile r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67316

--HG--
extra : moz-landing-system : lando
2020-03-20 21:51:03 +00:00
Rob Lemley
c7061b9ab3 Bug 1622974 - Add mozlint parameter to set additional config file path. r=ahal
Adds --config-paths parameter to mach mozlint where test configuration
files (.yml) can be located. The default path "tools/lint" is set automatically
and additional paths have preference over the default.
This allows Thunderbird to run mozlint-based tests in Taskcluster with a
different configuration.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 17:12:27 +00:00
Andrew Halberstadt
5c0793899d Bug 1623655 - [mach] Set 'ArgumentParser.prog' properly for external parsers, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D67500

--HG--
extra : moz-landing-system : lando
2020-03-20 13:56:42 +00:00
Andrew Halberstadt
3315f2c93c Bug 1623433 - [mozlint] Create a LintProcess utility class to consolidate some of our lint implementations, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67410

--HG--
extra : moz-landing-system : lando
2020-03-19 14:47:34 +00:00
Andrew Halberstadt
c568660c37 Bug 1570654 - [mozlint] Filter out non-existent paths in filterpaths, r=linter-reviewers,sylvestre
While we validate user specified paths early and only consider the 'AM' (added
+ modified) diff filter from versioncontrol, it's still possible to get
non-existent files when using --outgoing. This situation can happen when you
have a commit series that first modifies a file in an earlier commit, and then
moves/deletes it in a later commit.

To get around this, just silently filter out any file paths that don't exist.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:06:41 +00:00
Andrew Halberstadt
ed55b7f24b Bug 1623656 - [mozlint] Make output of ./mach lint --list readable, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67501

--HG--
extra : moz-landing-system : lando
2020-03-19 18:06:41 +00:00
Ricky Stewart
da102cb24e Bug 1622529 - Don't install removed Python 2 packages on Ubuntu 20.04 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67405

--HG--
extra : moz-landing-system : lando
2020-03-19 17:10:53 +00:00
Geoff Brown
23f67ba1d1 Bug 1622789 - Remove mozversioncontrol dependency on distutils; r=ahal
Use mozfile.which instead of distutils.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 17:12:14 +00:00
Andrew Halberstadt
5712219535 Bug 1623339 - [mozlint] Add a test for pathutils.expand_exclusions, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67334

--HG--
extra : moz-landing-system : lando
2020-03-18 17:02:27 +00:00
Sylvestre Ledru
6d6260820c Bug 1622328 - export_telemetry_schema.py: Add the license r=Callek
Depends on D66806

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

--HG--
extra : moz-landing-system : lando
2020-03-16 14:53:10 +00:00
Sylvestre Ledru
e9317b451e Bug 1622328 - artifact_commands.py: Add the license r=rstewart
Depends on D66805

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:32:09 +00:00
Artem
3c3a57a026 Bug 1608165 - port profileSelection DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66912

--HG--
extra : moz-landing-system : lando
2020-03-18 09:01:51 +00:00
Francesco Lodolo (:flod)
5b21d08fd3 Bug 1621300 - Remove Fluent migration recipes for Firefox 73 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D66232

--HG--
extra : moz-landing-system : lando
2020-03-18 07:21:34 +00:00
Mike Hommey
646579d57d Bug 1618781 - Use the taskcluster artifact for pdbstr on both Windows native and cross builds. r=froydnj
And make it an explicit dependency of the build system.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 04:21:18 +00:00
Ciure Andrei
19d8351b5f Backed out 2 changesets (bug 1618781) for toolchain bustages CLOSED TREE
Backed out changeset 83026834b242 (bug 1618781)
Backed out changeset ac168e956e3a (bug 1618781)
2020-03-18 05:32:00 +02:00
Mike Hommey
570134e4a8 Bug 1618781 - Use the taskcluster artifact for pdbstr on both Windows native and cross builds. r=froydnj
And make it an explicit dependency of the build system.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 14:01:46 +00:00
Nika Layzell
096611a30f Bug 1622868 - Fix ns*String pretty-printers, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D67009

--HG--
extra : moz-landing-system : lando
2020-03-17 04:51:21 +00:00
Brendan Dahl
a1088aa304 Bug 1566930 - Default to auto install on the various android mach commands. r=gbrown,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D64230

--HG--
extra : moz-landing-system : lando
2020-03-13 20:48:52 +00:00
Sylvestre Ledru
70e97e578f Bug 1622405 - Remove ConEmu r=dmajor
Depends on D66829

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:15:53 +00:00
Sylvestre Ledru
59307d7c00 Bug 1622405 - Remove MSYS2 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66829

--HG--
extra : moz-landing-system : lando
2020-03-13 21:14:34 +00:00
Lee Salzman
739b23d170 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-13 18:24:40 +00:00
Ricky Stewart
13aa77e4a5 Bug 1619460 - ensure subsequent runs of ./mach build-backend under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:26 +00:00
Chris Hartjes
1a8f28437c Bug 1560185 - Convert telemetry-tests-client suite from unittest to pytest; r=raphael,ahal,chutten
Differential Revision: https://phabricator.services.mozilla.com/D50116

--HG--
extra : moz-landing-system : lando
2020-03-12 18:14:57 +00:00
Narcis Beleuzu
4437350f38 Backed out changeset 1f0cfca78242 (bug 1619460) perf regression in automation, req by rstewart. CLOSED TREE
--HG--
extra : rebase_source : ef3f1ce03bc9fdedb81d33ede68f9925f447ba32
2020-03-12 19:37:27 +02:00
anjali1903
fa2de4bbc5 Bug 1589610 - Make about:networking fluent IDs have a specific namespace r=valentin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66114

--HG--
extra : moz-landing-system : lando
2020-03-12 07:17:38 +00:00
Ricky Stewart
c90e3b5f8c Bug 1621753 - Fix Python 3 incompatibility in check_binary.py r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D66478

--HG--
extra : moz-landing-system : lando
2020-03-11 20:39:01 +00:00
David Major
8c86c42e0f Bug 1619461 - Enable the new pass manager in clang builds. r=rstewart,glandium
LLVM's new pass manager has been in the works for several years and has better optimization (sometimes much better) than the legacy pass manager. I think it's in good enough shape for us to try at this point.

While we only really need the new pass manager for shippable builds, as a general principle I'd like to use it as much as possible, to help catch bugs for upstream. Therefore this patch enables the new pass manager by default for all clang builds, with the only exceptions being compilers older than version 9, and xcode clang where we can't trust the version number. There isn't a specific problem with older versions; I just don't want to sign up for the support cost of debugging people's local builds that may be fixed already.

I don't expect it to be necessary, but just in case, an opt-out is available via `ac_add_options --disable-new-pass-manager`.

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

--HG--
extra : rebase_source : 91df800146700e4958b8e645ebbd3cf7b11a2f1e
extra : source : 2f5aba2e2c099a1df26e3444ccec2be0b4ff4613
2020-03-11 02:08:37 +00:00
Andreea Pavel
bfc7043d13 Backed out changeset 2f5aba2e2c09 (bug 1619461) for build bustages at testBug1117235.js on a CLOSED TREE 2020-03-11 16:42:42 +02:00
David Major
21170f3a10 Bug 1619461 - Enable the new pass manager in clang builds. r=rstewart,glandium
LLVM's new pass manager has been in the works for several years and has better optimization (sometimes much better) than the legacy pass manager. I think it's in good enough shape for us to try at this point.

While we only really need the new pass manager for shippable builds, as a general principle I'd like to use it as much as possible, to help catch bugs for upstream. Therefore this patch enables the new pass manager by default for all clang builds, with the only exceptions being compilers older than version 9, and xcode clang where we can't trust the version number. There isn't a specific problem with older versions; I just don't want to sign up for the support cost of debugging people's local builds that may be fixed already.

I don't expect it to be necessary, but just in case, an opt-out is available via `ac_add_options --disable-new-pass-manager`.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 02:08:37 +00:00
shindli
8a8793039d Backed out 12 changesets (bug 1612941) for webrender linting bustage CLOSED TREE
Backed out changeset bbb8ec38f354 (bug 1612941)
Backed out changeset cd798d2a0433 (bug 1612941)
Backed out changeset c02c4c5bf7f7 (bug 1612941)
Backed out changeset 2e0c9b9bd507 (bug 1612941)
Backed out changeset ec0fffd12dec (bug 1612941)
Backed out changeset 2d6f65fe6ec0 (bug 1612941)
Backed out changeset dd1a92041bb4 (bug 1612941)
Backed out changeset 3cae17a5ec80 (bug 1612941)
Backed out changeset edfca5676513 (bug 1612941)
Backed out changeset f94d5c7cee41 (bug 1612941)
Backed out changeset 67bba000daba (bug 1612941)
Backed out changeset 60151122db4d (bug 1612941)
2020-03-11 14:28:55 +02:00
Lee Salzman
d2ae8dbd06 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-11 12:16:26 +00:00
shindli
0830b5e7f8 Backed out 12 changesets (bug 1612941) for causing bustages CLOSED TREE
Backed out changeset 29f9f745ff65 (bug 1612941)
Backed out changeset d92e03315f8d (bug 1612941)
Backed out changeset 9b1360daa75a (bug 1612941)
Backed out changeset ad7f43d72b08 (bug 1612941)
Backed out changeset 30b28118362a (bug 1612941)
Backed out changeset 76f80dce8875 (bug 1612941)
Backed out changeset 375896f494ae (bug 1612941)
Backed out changeset bd8ba66dc2ac (bug 1612941)
Backed out changeset 54ec5a6e8e45 (bug 1612941)
Backed out changeset 419105739e53 (bug 1612941)
Backed out changeset c198dedeaa1b (bug 1612941)
Backed out changeset 87ddcdfc5fcf (bug 1612941)
2020-03-11 14:01:26 +02:00
Lee Salzman
9bf1ae5b21 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-11 11:13:40 +00:00
Mike Shal
2626cb441d Bug 1620744 - Convert jar_maker action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65857

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:47 +00:00
Mike Shal
c2e3a05aa3 Bug 1620744 - Convert dumpsymbols.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65856

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:44 +00:00
Mike Shal
b5ef4a8d81 Bug 1620744 - Convert check_binary.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65855

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:42 +00:00
Mike Shal
091526302b Bug 1620744 - Convert generate_mapfile.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65854

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:34 +00:00
Mike Shal
419f244300 Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:32 +00:00
Mike Shal
2723002de4 Bug 1620744 - Convert fat_aar.py to py3; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D65849

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:22 +00:00
Mike Shal
81d78a3ca0 Bug 1620744 - Convert generate_symbols_file.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65848

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:17 +00:00
Mike Shal
2b42b650a2 Bug 1620744 - Convert process_define_files.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65847

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:15 +00:00
Mike Shal
4017368b2f Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:13 +00:00
Ben Hearsum
c0a501bb63 No bug: Update vendored copy of tooltool client r=rail
Differential Revision: https://phabricator.services.mozilla.com/D66287

--HG--
extra : moz-landing-system : lando
2020-03-10 19:04:11 +00:00
Daniel Varga
09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00
Adam Gashlin
068828be61 Bug 1621070 - Skip BaseRustProgram init when COMPILE_ENVIRONMENT is missing. r=froydnj
Based on the bug 1336153 patch which protected Rust libraries.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 17:51:47 +00:00
Mike Shal
45ba77d509 Bug 1620744 - Convert jar_maker action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65857

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:48 +00:00
Mike Shal
a6b38f31ae Bug 1620744 - Convert dumpsymbols.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65856

--HG--
extra : moz-landing-system : lando
2020-03-10 17:38:05 +00:00
Mike Shal
7e2ee7cfd9 Bug 1620744 - Convert check_binary.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65855

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:43 +00:00
Mike Shal
ed1692cfb3 Bug 1620744 - Convert generate_mapfile.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65854

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:41 +00:00
Mike Shal
d58365f0ce Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:39 +00:00