Commit graph

8248 commits

Author SHA1 Message Date
Greg Mierzwinski
28dfb3982f Bug 1811546 - Clean up docs, and add FAQ section to the mach try perf docs. r=perftest-reviewers,kshampur
This patch adds an FAQ (Frequently Asked Questions) section to the mach try perf docs. It also does a small cleanup to move fxrecord into the `testing/performance` folder, re-organize the linting configuration file, fix file naming, and captializes the `mozperftest` and `fxrecord` title names in the side-bar. Lastly, it adds a warning to the `mozperftest` docs to direct people who make it there to the `mach try perf` page.

Differential Revision: https://phabricator.services.mozilla.com/D167555
2023-01-23 18:31:31 +00:00
Geoff Brown
1281f38a76 Bug 1436612 - Remove the mozharness copy of tooltool.py r=glandium
Remove the mozharness copy of tooltool.py from mozilla-central.

Continue to keep a tooltool.py instance in the same path in mozharness.zip, copied from mozbuild.

Where it's simple, switch to use the mozbuild instance, but keep some mozharness tooltool.py references (when based on mozharness.zip).

Also make a minor change to mozproxy which had a bug in its mozharness-detection logic.

Differential Revision: https://phabricator.services.mozilla.com/D167223
2023-01-20 15:26:32 +00:00
Jan-Erik Rediger
012cbbbda2 Bug 1808586 - Upgrade to Glean v52.0.1 r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167247
2023-01-20 12:58:07 +00:00
Emilio Cobos Álvarez
9cd2050749 Bug 1810499 - Prefer the mozillabuild path for mozconfig loading. r=firefox-build-system-reviewers,glandium
Since we're explicitly calling the mozillabuild shell, it is the most
reasonable thing to do, much like we do for old configure and other bits
of the build.

Otherwise, when called from an external msys2 environment, commands like
`cygpath` might fail to execute because we find them in the caller's
msys2 install instead of on mozillabuild's install.

This duplicates a bit of code with:

  https://searchfox.org/mozilla-central/rev/a8187e40b492dff78e3d3225e652cc06f447484b/build/moz.configure/init.configure#1179

Not sure how to best factor this out / if it's worth it even.
Suggestions welcome.

Differential Revision: https://phabricator.services.mozilla.com/D166907
2023-01-20 11:19:40 +00:00
Butkovits Atila
d9180d2428 Backed out 2 changesets (bug 1811218, bug 1808586) for causing build bustages complaining about Cargo and Glean. CLOSED TREE
Backed out changeset 94f6ca4f4103 (bug 1808586)
Backed out changeset 046b4eafd1b3 (bug 1811218)
2023-01-20 12:57:03 +02:00
Jan-Erik Rediger
2fab98bc22 Bug 1808586 - Upgrade to Glean v52.0.1 r=chutten,supply-chain-reviewers
Depends on D167245

Differential Revision: https://phabricator.services.mozilla.com/D167247
2023-01-20 09:28:30 +00:00
Butkovits Atila
6970213e8e Backed out 2 changesets (bug 1811218, bug 1808586) for causing build bustages. CLOSED TREE
Backed out changeset 076e5dd4ec05 (bug 1808586)
Backed out changeset 46676e77e0b8 (bug 1811218)
2023-01-20 12:15:42 +02:00
Jan-Erik Rediger
f394193fc2 Bug 1808586 - Upgrade to Glean v52.0.1 r=chutten,supply-chain-reviewers
Depends on D167245

Differential Revision: https://phabricator.services.mozilla.com/D167247
2023-01-20 09:28:30 +00:00
Ho Cheung
48e73c8aac Bug 1633662 - Remove unused mozversioncontrol functions r=saschanaz,firefox-build-system-reviewers,glandium
Remove unused mozversioncontrol functions in code

Differential Revision: https://phabricator.services.mozilla.com/D167352
2023-01-20 08:40:00 +00:00
Emilio Cobos Álvarez
7d407cd676 Bug 1809742 - Remove non_native_theme from mozinfo/web-platform metadata. r=dshin
Depends on D166601

Differential Revision: https://phabricator.services.mozilla.com/D166620
2023-01-19 14:33:13 +00:00
Emilio Cobos Álvarez
0909f88a3e Bug 1810969 - Minor cleanup to the clangd build back-end. r=andi,firefox-build-system-reviewers
Reuse the non-unified mapping code with CompileDB, and use endswith to
check for ccache/sccache. This fixes an exception if you run the backend
without a compile environment.

Differential Revision: https://phabricator.services.mozilla.com/D167140
2023-01-18 15:45:36 +00:00
Noemi Erli
6bccef7e11 Backed out changeset c7c04a2cfaf9 (bug 1810734) for causing Bug 1810985 CLOSED TREE 2023-01-18 15:47:04 +02:00
Nico Grunbaum
cf15cf16a9 Bug 1810274 - correct typo in update action move-dir;r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D166862
2023-01-17 23:27:33 +00:00
William Durand
03c58d765c Bug 1810734 - Use browser_specific_settings instead of applications in generated langpacks. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D167019
2023-01-17 13:58:02 +00:00
Mike Hommey
4e0c7ddead Bug 1810014 - Move macOS SDK toolchain task to linux workers. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D166724
2023-01-16 21:23:44 +00:00
Chris H-C
8f0cfe819b Bug 1805427 - Update Glean to 52.0.0 r=glandium,janerik,webdriver-reviewers,supply-chain-reviewers
Depends on D164603

Differential Revision: https://phabricator.services.mozilla.com/D164604
2023-01-16 18:51:18 +00:00
Geoff Brown
20db8cba01 Bug 1808968 - Update tooltool.py with changes from github r=bhearsum
Apply missing github commits to mozilla-central tooltool.py:

    868faf0a2c
    5f35be2b4f
    117e8c074e

This is the first part of a multi-part effort to bring all the tooltools in sync.

Differential Revision: https://phabricator.services.mozilla.com/D166210
2023-01-16 15:06:38 +00:00
andrej
f241d92237 Bug 1808032 - Change architecture to arm64 and add focus to mozperftest android startup for CVFF and CVNS. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D165748
2023-01-16 14:21:24 +00:00
Mike Hommey
8e5df06970 Bug 1782344 - Avoid getting ccache stats when ccache is not enabled. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166635
2023-01-13 00:47:57 +00:00
Mike Hommey
972d84c63d Bug 1782344 - With ccache 3.7+, process the output of --print-stats rather than -s. r=firefox-build-system-reviewers,ahochheiden
--print-stats outputs machine-parsable data, with all fields present
even when they are 0.

Differential Revision: https://phabricator.services.mozilla.com/D166634
2023-01-13 00:47:57 +00:00
Mike Hommey
48c0f7642b Bug 1782344 - Avoid the duplication of stats_zeroed in CCacheStats serialization. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166633
2023-01-13 00:47:57 +00:00
Mike Hommey
9d57967abf Bug 1782344 - Fix the handling of "called for link" data in ccache 4.4+. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166632
2023-01-13 00:47:56 +00:00
Mike Hommey
2cef595382 Bug 1782344 - Remove cache directory and configs from CCacheStats. r=firefox-build-system-reviewers,ahochheiden
The info is unused and not part of the ccache --print-stats output that
we're going to use shortly.

Differential Revision: https://phabricator.services.mozilla.com/D166631
2023-01-13 00:47:56 +00:00
Mike Hommey
708b0943a7 Bug 1782344 - Test the data CCacheStats gathers. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166630
2023-01-13 00:47:55 +00:00
alwu
0fd970dca3 Bug 1809983 - part1 : split media browser tests from mochitest-browser-chrome into mochitest-browser-media. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166705
2023-01-13 00:04:13 +00:00
Mike Hommey
b2b34e7e24 Bug 1809588 - Use python3 for tooltool. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166510
2023-01-11 23:10:50 +00:00
Arthur Carcano
0a7977a9f9 Bug 1804280 - Refactor cargo subcommands in rust.mk. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D163956
2023-01-11 04:12:41 +00:00
Gabriele Svelto
2075a2a0a9 Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158669
2023-01-10 22:14:30 +00:00
Sylvestre Ledru
62b73ca40c Bug 1750450 - Doc: use the new system for python deps r=firefox-source-docs-reviewers,ahal
Co-author: Andrew Halberstadt <ahal@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D153483
2023-01-05 14:32:11 +00:00
Makoto Kato
4ebfb48f7e Bug 1807522 - Upgrade build-tools to 33.0.1. r=geckoview-reviewers,calu
When upgrading SDK to 33, I cannot build GeckoView on Windows workstation
during processing AIDL due to https://issuetracker.google.com/issues/236167971
that is fixed by 33.0.1.

Differential Revision: https://phabricator.services.mozilla.com/D165514
2023-01-05 02:56:32 +00:00
Andrew Halberstadt
0800a44b72 Bug 1808609 - Ignore non .txt files in test_site_compatibility.py, r=ahochheiden
This ensures we aren't accidentally mistaking e.g, .rej files as valid sites.

Depends on D165998

Differential Revision: https://phabricator.services.mozilla.com/D165999
2023-01-05 01:39:00 +00:00
Andrew Halberstadt
3c786153bd Bug 1808609 - Improve error message in 'test_site_compatibility.py', r=ahochheiden
This should make it a little easier to understand what's happening.

Differential Revision: https://phabricator.services.mozilla.com/D165998
2023-01-05 01:38:59 +00:00
Lukáš Lipinský
b506899cc4 Bug 1802954 - Add bootstrap support for Oracle Linux. r=ahochheiden,firefox-build-system-reviewers
I’ve factored out Fedora-derived distros in a fashion similar to
how Debian-based distros are handled. [Orabug: 34636427]

Differential Revision: https://phabricator.services.mozilla.com/D164218
2023-01-04 21:13:39 +00:00
Sylvestre Ledru
8c1ca7d7bc Bug 1808288 - ride along: lint: fix some windows CR r=linter-reviewers,marco
Depends on D165849

Differential Revision: https://phabricator.services.mozilla.com/D165850
2023-01-03 14:54:40 +00:00
Sylvestre Ledru
7b6a1139ad Bug 1807901 - Fix typos in some documentation directories r=linter-reviewers,andi DONTBUILD
Fix some typos in new directories

Differential Revision: https://phabricator.services.mozilla.com/D165660
2023-01-02 16:07:49 +00:00
Francesco Lodolo (:flod)
efec11c9bd Bug 1807794 - Add Friulian (fur) and Sardinian (sc) to language names in mozIntl and language pack metadata, r=eemeli
Differential Revision: https://phabricator.services.mozilla.com/D165601
2023-01-02 13:01:57 +00:00
Sylvestre Ledru
e2b52a1324 Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165662
2022-12-30 15:23:21 +00:00
Mike Hommey
4155b95657 Bug 1807872 - Make tarball generation more deterministic across versions of python. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D165647
2022-12-30 08:21:31 +00:00
ahochheiden
d9a1144d28 Bug 1806736 - Wrap .egg-info deletion in a try to handle the scenario where a VCS isn't installed r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D165576
2022-12-29 11:39:40 +00:00
Mike Hommey
c98d352787 Bug 1807761 - Bump minimum Rust version to 1.65. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165580
2022-12-28 22:01:45 +00:00
Marco Castelluccio
d766c93a2a Bug 1801836 - Remove no longer necessary 'from __future__' imports under python/. r=linter-reviewers,glandium,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165398
2022-12-23 01:26:15 +00:00
Randell Jesup
00c1414f9c Bug 1806698: make --webtransport-h3 work in wpt tests r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D165181
2022-12-22 18:51:57 +00:00
Mike Hommey
58edb2e123 Bug 1790816 - Undo non-isort changes to vendor_rust.py r=rkraesig
For some reason, the landing of the isort changes undid the changes to
vendor_rust.py from bug 1804178.

Differential Revision: https://phabricator.services.mozilla.com/D165358
2022-12-22 01:42:39 +00:00
Mike Hommey
703a424db9 Bug 1806763 - Remove remaining dependency on nom 6. r=emilio,supply-chain-reviewers
The last use is glsl, waiting for a new release with
https://github.com/phaazon/glsl/pull/154 merged.

Differential Revision: https://phabricator.services.mozilla.com/D165250
2022-12-21 21:18:29 +00:00
Sebastian Hengst
4e86499272 Bug 1806642 - update in-tree references to 'Lint and Formatting' bugzilla component. r=Standard8
Move from 'Firefox Build System to 'Developer Infrastructure' was in
bug 1784867 on the server side.

Differential Revision: https://phabricator.services.mozilla.com/D165158
2022-12-21 14:38:47 +00:00
Norisz Fay
f0a6ea7c7e Bug 1790816 - Fix lint failures r=fix 2022-12-21 14:14:59 +02:00
Marco Castelluccio
54ee6457a1 Bug 1790816 - Reformat python/ with isort. r=#linter-reviewers CLOSED TREE
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162656
2022-12-21 09:56:15 +00:00
Otto Länd
447dbb75fa Bug 1804178, 1804178, 1804178, 1804178, 1804178, 1804178: apply code formatting via Lando
# ignore-this-changeset
2022-12-20 23:07:41 +00:00
Ray Kraesig
a3fb6515cf Bug 1804178 - [6/6] Switch from pytoml to toml in (almost) all other contexts r=firefox-build-system-reviewers,releng-reviewers,glandium,ahal
Convert all other imports of `pytoml` within mozilla-central to imports
of `toml`.

As both libraries patterned their API on that of the Python standard-
library module `json`, this is mostly a straight replace, with two
caveats:

  * pytoml's exception messages when loading a file provide the file
    name; toml's do not. Some additional machinery has been added or
    repurposed in a few places to ensure that the relevant filename is
    printed.

  * In `python_lockfile.py`, the order of arguments to `dump` needed to
    be reversed. (`toml` follows `json` in this; `pytoml` differs.)

This patchset does not remove pytoml from `requirements.in`, as `pytoml`
is still used by `compare-locales`.

Differential Revision: https://phabricator.services.mozilla.com/D164155
2022-12-20 23:01:26 +00:00
Ray Kraesig
b83ea311b7 Bug 1804178 - [5/6] Remove regex-based license-scraping hackery r=glandium
`pytoml` could not handle single-quoted keys in table names, as these
were added in TOML v0.5.0; but `toml` has no problem with them.

Remove regex-based scraping of Cargo.toml files to find a crate's
associated license, replacing it with `toml.load`.

(This has been manually tested to ensure that dependencies with
noncompliant licenses or unrecognized license files continue to be
rejected.)

Differential Revision: https://phabricator.services.mozilla.com/D164154
2022-12-20 23:01:26 +00:00