Johan Lorenzo
6661c0654a
Bug 1818225 - part 1: Add missing "fenix" in artfact path r=sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D170732
2023-02-23 15:31:25 +00:00
Johan Lorenzo
0635bb0152
Bug 1818168 - part 9: Rename source_dir variable in repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170623
2023-02-23 13:16:38 +00:00
Johan Lorenzo
da5f811092
Bug 1818168 - part 8: Extract _extract_application_ini_data() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170622
2023-02-23 13:16:37 +00:00
Johan Lorenzo
6d6ff5a9c4
Bug 1818168 - part 7: Extract _get_build_variables() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170621
2023-02-23 13:16:37 +00:00
Johan Lorenzo
840db46526
Bug 1818168 - part 6: Extract _render_deb_templates() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170620
2023-02-23 13:16:37 +00:00
Johan Lorenzo
c1ee42b160
Bug 1818168 - part 5: Extract _copy_plain_deb_config() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170619
2023-02-23 13:16:36 +00:00
Johan Lorenzo
58bf213d2b
Bug 1818168 - part 4: Extract _inject_deb_distribution_folder() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170618
2023-02-23 13:16:36 +00:00
Johan Lorenzo
466ef03ccb
Bug 1818168 - part 3: Extract _generate_deb_archive() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170617
2023-02-23 13:16:36 +00:00
Johan Lorenzo
9c37a08a13
Bug 1818168 - part 2: Extract _get_command() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170616
2023-02-23 13:16:35 +00:00
Johan Lorenzo
0cf0209e7c
Bug 1818168 - part 1: Extract _is_chroot_available() from repackage_deb() r=gabriel
...
Differential Revision: https://phabricator.services.mozilla.com/D170615
2023-02-23 13:16:35 +00:00
ogiorgis
2b21315442
Bug 1749473 - add autodoc dependencies r=firefox-source-docs-reviewers,sylvestre DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D170591
2023-02-23 12:16:22 +00:00
Gabriel Bustamante
5400a96d1f
Bug 1811114 - Trigger deb repackage on release-promotion action & nightlies r=jlorenzo,releng-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D167729
2023-02-22 18:34:30 +00:00
Johan Lorenzo
3dd2dfbeea
Bug 1816483 - part 2: Update Focus nightly routes r=sparky
...
Depends on D170076
Differential Revision: https://phabricator.services.mozilla.com/D170077
2023-02-21 14:40:20 +00:00
Johan Lorenzo
99042652be
Bug 1816483 - part 1: Update Fenix nightly routes r=sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D170076
2023-02-21 14:40:19 +00:00
Mike Hommey
f511de3b25
Bug 1810223 - Make find_sdk_tool from msix repackaging use configure to find the Windows SDK. r=firefox-build-system-reviewers,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D170172
2023-02-20 21:58:47 +00:00
Rob Lemley
7b691a0066
Bug 1817507 - Process lines from confvars.sh more carefully during msix repackaging. r=nalexander
...
browser/confvars.sh contains a comment with "MOZ_BRANDING_DIRECTORY" in it, so
"if key in line:" was True, even though the rest of the code to determine a
value failed silently.
Address the problem with multiple checks: Strip whitespace from either end of
the line, and skip comment lines. And, if value is not set, don't return yet.
This is more than strictly necessary to fix the immediate problem, but should
avoid similar bugs later.
Differential Revision: https://phabricator.services.mozilla.com/D170262
2023-02-19 14:11:07 +00:00
Florian Quèze
5c15276c84
Bug 1812694 - Stop using the DOMParser to update the aria-valuetext attribute when updating the progress in video controls, r=Gijs,flod.
...
Depends on D167992
Differential Revision: https://phabricator.services.mozilla.com/D168118
2023-02-17 19:59:27 +00:00
Mike Hommey
f9aec4b3cf
Bug 1817372 - Allow -windows-msvc and -windows-gnu triplets as host and target. r=firefox-build-system-reviewers,andi
...
This is the first step before entirely deprecating the use of -mingw32
targets to mean msvc.
Differential Revision: https://phabricator.services.mozilla.com/D170169
2023-02-17 07:42:48 +00:00
Mike Hommey
3896dd831a
Bug 1817372 - Remove unsupported compilers from test_toolchain_configure. r=firefox-build-system-reviewers,andi
...
We stopped supporting cl.exe and gcc for mingw quite some time ago.
Differential Revision: https://phabricator.services.mozilla.com/D170168
2023-02-17 07:42:47 +00:00
Mike Hommey
98e83a6620
Bug 1815016 - Use the certifi cafile when using urlopen in bootstrap. r=firefox-build-system-reviewers,ahochheiden
...
Differential Revision: https://phabricator.services.mozilla.com/D170037
2023-02-16 23:50:30 +00:00
Mike Hommey
0ea0ba74cc
Bug 1816443 - Use auto-bootstrap code to bootstrap clang-tidy in both bootstrap and code-analysis. r=andi,firefox-build-system-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D168962
2023-02-16 22:06:01 +00:00
ahochheiden
742689d232
Bug 1811416 - Fail early if a Localized Build is attempted with Artifact Builds enabled r=firefox-build-system-reviewers,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D167349
2023-02-16 20:23:16 +00:00
William Durand
d9a0c985ac
Bug 1796531 - Update langpack manifest version string generation to follow the recommended versioning format. r=eemeli,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D169888
2023-02-16 10:59:39 +00:00
Tom Ritter
e16b4ca5bd
Bug 1814442: Improve ./mach vendor's output of long file lists r=jewilde
...
Differential Revision: https://phabricator.services.mozilla.com/D169708
2023-02-14 21:29:53 +00:00
Geoff Brown
f582beedaa
Bug 1806899 - Sanitize extractall input (mozbuild) r=jcristau
...
Updates all tar extractions in m-c python/mozbuild/mozbuild.
Differential Revision: https://phabricator.services.mozilla.com/D165340
2023-02-14 20:11:21 +00:00
Butkovits Atila
17a85e0bf8
Backed out changeset a61b9a62571e (bug 1814442) for causing failures at test_vendor_tools. CLOSED TREE
2023-02-14 19:32:48 +02:00
Tom Ritter
7d8d07561f
Bug 1814442: Improve ./mach vendor's output of long file lists r=jewilde
...
Differential Revision: https://phabricator.services.mozilla.com/D169708
2023-02-14 15:40:46 +00:00
Ryan VanderMeulen
45d21b4383
Bug 1815571 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
...
Depends on D169145
Differential Revision: https://phabricator.services.mozilla.com/D169146
2023-02-14 03:31:26 +00:00
Ryan VanderMeulen
3d34da3d4a
Bug 1815570 - Update to JDK 17.0.6+10. r=geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D169145
2023-02-09 03:34:45 +00:00
Geoff Brown
359b2fda58
Bug 1806899 - Sanitize extractall input (m-c tooltool) r=jcristau
...
Syncs m-c copy of tooltool.py with https://github.com/mozilla-releng/tooltool/pull/1066
Differential Revision: https://phabricator.services.mozilla.com/D169017
2023-02-07 15:44:41 +00:00
Emilio Cobos Álvarez
5fee636e0d
Bug 1814696 - Standardize on crop="start/end" rather than supporting that and left/right. r=Gijs,settings-reviewers,application-update-reviewers,bytesized
...
Also cleanup a bit the CSS while at it.
Differential Revision: https://phabricator.services.mozilla.com/D168792
2023-02-03 19:20:16 +00:00
serge-sans-paille
aecb6ee397
Bug 1621465
- Correctly handle stdin for preprocessor.py r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D168549
2023-02-02 10:21:22 +00:00
Mike Hommey
5742849bde
Bug 1773743 - Change the minimum required macos SDK to 13.0. r=firefox-build-system-reviewers,spohl,ahochheiden
...
Differential Revision: https://phabricator.services.mozilla.com/D167773
2023-02-01 10:14:12 +00:00
Jan-Erik Rediger
5cd8c5650a
Bug 1812615 - Update to Glean v52.2.0, glean_parser 7.0.0 and UniFFI 0.23. r=chutten,markh,glandium,supply-chain-reviewers
...
The in-tree UniFFI bindings were regenerated with:
./mach uniffi generate
Differential Revision: https://phabricator.services.mozilla.com/D168060
2023-01-31 11:12:05 +00:00
Gabriel Bustamante
22dfad7729
Bug 1811104 - Pull deb distribution directory from mozilla-partners repository r=releng-reviewers,gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D167874
2023-01-27 20:03:06 +00:00
Fabrice Le Fessant
98cfeed071
Bug 1810126 - Add a generic mechanism to run cargo-* commands. r=glandium,firefox-build-system-reviewers,ahochheiden
...
`mach cargo COMMAND` will run `cargo-COMMAND` using `cargo build`
arguments by default. However, it is possible to tune the arguments
using either command-line arguments, or a YAML file in `config/cargo/`.
A file `config/cargo/template.yaml` can be used to create a new
configuration for a new cargo sub-command.
Differential Revision: https://phabricator.services.mozilla.com/D166780
2023-01-27 01:18:52 +00:00
William Durand
9e1effa26a
Bug 1810734 - Use `browser_specific_settings` instead of `applications` in generated langpacks. r=flod
...
Differential Revision: https://phabricator.services.mozilla.com/D167019
2023-01-23 21:19:15 +00:00
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
Ray Kraesig
665483f331
Bug 1804178 - [4/6] Remove pytoml output postprocessing r=glandium
...
The postprocessing phase that cleaned up `pytoml`'s output has little
effect on `toml`'s output, which is already largely clean. Remove the
additional code.
Differential Revision: https://phabricator.services.mozilla.com/D164153
2022-12-20 23:01:25 +00:00
Ray Kraesig
2ba26991d4
Bug 1804178 - [3/6] Remove explicit sorting of TOML output r=glandium
...
Remove explicit sorting, as this is no longer needed to guarantee
determinism as of Python 3.6 (our minimum-supported version).
(This is a separate commit solely to make it clear that the reordering
of `.cargo/config.in` is indeed merely a reordering and contains no
hidden functional changes.)
Differential Revision: https://phabricator.services.mozilla.com/D164152
2022-12-20 23:01:25 +00:00
Ray Kraesig
a6f024ad59
Bug 1804178 - [2/6] Convert use of `pytoml` to `toml` in vendor_rust.py r=glandium
...
Replace `pytoml` with `toml` in `vendor_rust.py`.
This is a minimal substitution that preserves existing behavior (along
with a flake8 lint pass). Further simplification will follow in upcoming
commits.
In particular, we temporarily alter `recursive_sort` to ensure that the
output of `pytoml` and `toml` are identical, rather than merely
equivalent. (`pytoml` would reverse the ordering of keys in some
contexts.)
Differential Revision: https://phabricator.services.mozilla.com/D164151
2022-12-20 23:01:25 +00:00
Ray Kraesig
5a08e0d0b1
Bug 1804178 - [1/6] Add `toml` to mach requirements r=firefox-build-system-reviewers,glandium
...
The `pytoml` library is abandoned, and does not support TOML v0.5.0,
which Cargo uses. This prevents mach from properly parsing many
Cargo.toml files.
Include the `toml` library as a slightly more modern and currently-
maintained alternative for use in mach.
Supply-chain notes:
- toml v0.10.2 is MIT-licensed, which is an approved MPL-compatible
license.
- I have personally audited this version of `toml` and consider it
"safe-to-run", as much as any Python code can be: other than opening
and reading/writing a file when specifically requested via `load`/
`dump` respectively, it performs only string manipulation and
ordinary object creation.
Differential Revision: https://phabricator.services.mozilla.com/D164150
2022-12-20 23:01:24 +00:00
Cosmin Sabou
f4b3682389
Backed out changeset 65695f7ddf1d (bug 1750450) for causing python3 failures.
2022-12-20 17:03:20 +02:00
Sylvestre Ledru
3929f16a60
Bug 1750450 - Doc: use the new system for python deps r=firefox-source-docs-reviewers,ahal
...
+ update sphinx-js to 3.2.1
Differential Revision: https://phabricator.services.mozilla.com/D153483
2022-12-20 12:53:56 +00:00
Mike Hommey
d96f141e56
Bug 1806198 - Disambiguate gzip on gentoo. r=firefox-build-system-reviewers,ahochheiden
...
Differential Revision: https://phabricator.services.mozilla.com/D164956
2022-12-19 21:51:45 +00:00
Eemeli Aro
685f5b8677
Bug 1805319 - Fix typo in webrtc indicator message id. r=flod,fluent-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D165004
2022-12-19 10:45:24 +00:00
Eemeli Aro
4db1f81ea9
Bug 1804425 - Drop python/devtools/migrate-l10n/ as unused. r=flod,devtools-reviewers,jdescottes
...
This utility script for l10n migrations was added six years ago in bug 1294186,
but is no longer necessary or used. For clarity, it should be removed.
Differential Revision: https://phabricator.services.mozilla.com/D164049
2022-12-19 09:10:07 +00:00
Emily McMinn
6974b9c7b1
Bug 1790387 - A11y improvements for the Feature Callout step indicator r=aminomancer,bolsson
...
Differential Revision: https://phabricator.services.mozilla.com/D159629
2022-12-15 21:48:42 +00:00
Connor Sheehan
683e5819ed
Bug 1805804: avoid linting the tree for `support-files` changes if `--fix` is passed r=marco
...
Changing a linter's `support-files` causes that linter to
run against the entire tree. This is to avoid introducing
a regression in files that weren't touched, which would
be confusing for developers who trusted `--outgoing` to
catch their regressions.
Turn this behaviour off when `--fix` is passed as a linter
argument so these regressions aren't also fixed tree-wide.
Move the logic for tree-wide linting into a function
`should_lint_entire_tree` and add tests for the behaviour
in `test_roller.py`.
Differential Revision: https://phabricator.services.mozilla.com/D164761
2022-12-15 16:40:09 +00:00
andrej
ef5d615597
Bug 1779822 - Create tests and CI for mozperftest later for Fenix and nightly startup benchmarks. r=perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D164130
2022-12-15 15:51:56 +00:00
andrej
5a7a352559
Bug 1779822 - Create new mozperftest later for Fenix and nightly startup bechmarks. r=perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D154126
2022-12-15 15:51:56 +00:00
Sandor Molnar
c8085bc124
Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE
...
Backed out changeset 9231b82f6a8b (bug 1805427)
Backed out changeset 9308ede8e265 (bug 1805427)
Backed out changeset b1c44a7274c5 (bug 1805427)
Backed out changeset 39a8c4bff42f (bug 1805427)
2022-12-15 18:43:29 +02:00
Chris H-C
37e15535e6
Bug 1805427 - Update Glean to 52.0.0, uuid to 1.0 r=glandium,janerik,webdriver-reviewers,supply-chain-reviewers
...
Depends on D164603
Differential Revision: https://phabricator.services.mozilla.com/D164604
2022-12-15 14:04:54 +00:00
Stanca Serban
404b6563bb
Backed out changeset 311eb6a3a3ed (bug 1779822) for coverage related failures. CLOSED TREE
2022-12-15 16:25:29 +02:00
andrej
3bebb4742f
Bug 1779822 - Create new mozperftest later for Fenix and nightly startup bechmarks. r=perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D154126
2022-12-15 13:54:10 +00:00
Alex Ionescu
3288f620ff
Bug 1805143 - Remove output kwarg before calling side by side r=perftest-reviewers,sparky,afinder
...
Differential Revision: https://phabricator.services.mozilla.com/D164437
2022-12-15 12:18:04 +00:00
Iulian Moraru
4a67cb0362
Backed out changeset 088a627e5772 (bug 1805143) as per Alexandru Ionescu's request. CLOSED TREE
2022-12-14 20:38:58 +02:00
Alex Ionescu
0eef028f67
Bug 1805143 - Remove output kwarg before calling side by side r=perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D164437
2022-12-13 13:30:05 +00:00
Francesco Lodolo (:flod)
ac2d5ca725
Bug 1805297 - Update name and description for language packs to fit within manifest.json limits, r=eemeli
...
manifest.json has character limits for name (45) and description (132).
Language packs now use:
name: Language: {native_name} ({english_name})
description: {app} Language Pack for {native_name} ({locale_code}) – {english_name}
The English name is omitted if identical to the native name, and it's omitted from the name if the resulting name exceeds the character limit.
Longer name or description are always truncated.
Differential Revision: https://phabricator.services.mozilla.com/D164535
2022-12-13 10:12:06 +00:00
Sylvestre Ledru
baca9eb94e
Bug 1802689 - cargo.toml: more consistency in the author names
...
Differential Revision: https://phabricator.services.mozilla.com/D163769
2022-12-13 09:14:44 +00:00
Mike Hommey
5fd296e7b8
Bug 1804595 - Update osclientcerts to libloading 0.7. r=keeler,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D164177
2022-12-13 00:37:50 +00:00
Mike Hommey
03ce56dee2
Bug 1804570 - Update alsa crate to 0.7. r=gsvelto,supply-chain-reviewers
...
We also artificially update nix to 0.25 in preparation for bug 1793784.
Differential Revision: https://phabricator.services.mozilla.com/D164165
2022-12-13 00:24:03 +00:00
Mike Hommey
22241fa811
Bug 1804588 - Add a dependency on symbols files for libraries that have one. r=firefox-build-system-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D164168
2022-12-08 04:37:39 +00:00
Alex Ionescu
821423400b
Bug 1804487 - Update perftest_tools version r=perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D164122
2022-12-07 20:18:14 +00:00
Mark Banner
e52e50e446
Bug 1804479 - Add jsm and sjs extensions as associated with JavaScript for VSCode. r=firefox-build-system-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D164097
2022-12-07 18:45:09 +00:00
Otto Länd
511e314091
No bug: apply code formatting via Lando
...
# ignore-this-changeset
2022-12-07 18:10:55 +00:00
Tom Ritter
531fc4de6f
Bug 1804298: mach vendor support for an alternate, more terse way of individual-files r=andi
...
If we want to use individual-files for a lot of files, all
of which are going the same place, it is very verbose and
repetitive. Create an alternate, mutually-exclusive way of
specifying individual-files in a moz.yaml
Differential Revision: https://phabricator.services.mozilla.com/D163969
2022-12-07 18:08:13 +00:00
Tom Ritter
ef24f8ed54
Bug 1804298: mach vendor Fixes/Minor Improvements r=andi
...
- make sure the patch files are sorted before we apply them
- strip trailing slashes from the repo url before we add more
- Allow the individual-files action to be used by individual-files
Differential Revision: https://phabricator.services.mozilla.com/D163968
2022-12-07 18:08:12 +00:00
Tom Ritter
8efd64bdbf
Bug 1700396: Bump Updatebot version for phabricator fixes r=andi
...
Correctly handle group phab reviewers and submit two separate
phabricator revisions for two patches
Differential Revision: https://phabricator.services.mozilla.com/D163872
2022-12-07 17:20:54 +00:00
Arthur Carcano
aac035a5dd
Bug 1803557 - Refactor cargo subcommands in mach_commands.py. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D163588
2022-12-07 06:07:22 +00:00
Heitor Neiva
b71d7b535b
Bug 1801381 - Disable run_configure for mac repackaging r=glandium
...
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+
Differential Revision: https://phabricator.services.mozilla.com/D163129
2022-12-06 21:11:43 +00:00
Đăng Tú
dd3c001425
Bug 1803958 - Add bootstrap support for Tuxedo OS. r=firefox-build-system-reviewers,ahochheiden
...
Differential Revision: https://phabricator.services.mozilla.com/D163791
2022-12-05 23:19:42 +00:00
Gabriel Bustamante
929a011067
Bug 1799233 - Add tasks to repack Firefox nightly builds into Debian Packages r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D161743
2022-12-05 21:10:07 +00:00
Eemeli Aro
fc948aab17
Bug 1802128 - Refactor langpack names & descriptions. r=nalexander,fluent-reviewers,flod
...
The JSON data added here is derived from mozIntl.sys.mjs for the native names,
and Intl.DisplayNames for the English names. Once it becomes possible to
synchronously import JSON from JS code, this data should be merged with that
used by mozIntl.sys.mjs.
Differential Revision: https://phabricator.services.mozilla.com/D163049
2022-12-05 17:15:53 +00:00
Eemeli Aro
c790b3f054
Bug 1802128 - Migrate langpack defines.inc files to Fluent. r=nalexander,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D163048
2022-12-05 17:15:53 +00:00
Cristian Tuns
3ef28fd16c
Backed out changeset 93a99f808df6 (bug 1799233) for causing endless exceptions
2022-12-01 18:39:18 -05:00
Gabriel Bustamante
4da6f3c01b
Bug 1799233 - Add tasks to repack Firefox nightly builds into Debian Packages r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D161743
2022-12-01 21:26:53 +00:00
Norisz Fay
1235811770
Backed out changeset 632f9747a11e (bug 1801381) for causing build bustages on OSX. CLOSED TREE
2022-12-01 12:01:04 +02:00
Mike Hommey
5549685670
Bug 1803477 - Do not default to one core by default for `mach cargo clippy`. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D163540
2022-12-01 07:13:01 +00:00
Heitor Neiva
c502d9c55b
Bug 1801381 - Disable run_configure for mac repackaging r=glandium
...
Switches from `buildconfig.substs` to `bootstrap_toolchain` for the repackage job
Refactors mozpack/dmg to not depend on the environment; Moves path resolution of tools up to `mozbuild.action.{make_dmg|unpack_dmg}`
Update syntax to python 3.7+
Differential Revision: https://phabricator.services.mozilla.com/D163129
2022-12-01 01:29:27 +00:00
Emilio Cobos Álvarez
6668531256
Bug 1801035 - Stop localizing places initial window size. r=Gijs,fluent-reviewers
...
According to Transvision, this is barely localized (only two locales set
a non-default width, and they all do it to just slightly more than
usual).
So standardize the initial size on that (800x500), remove the
localization, and remove the minimum size constraint, which wasn't there
before the regressing bug.
Differential Revision: https://phabricator.services.mozilla.com/D163511
2022-11-30 19:31:47 +00:00
Mike Hommey
65c94f1b70
Bug 1798660 - Avoid recursing the objdir for generated sources in symbolstore.py. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D163300
2022-11-30 04:57:38 +00:00
Shane Hughes
8b72d4fad3
Bug 1803225 - [docs] Link to MSYS2 setup guide. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D163385
2022-11-30 04:10:42 +00:00
Iulian Moraru
2837c9d0f4
Backed out 3 changesets (bug 1798660) for causing windows build bustages. CLOSED TREE
...
Backed out changeset 1f48544c0a43
Backed out changeset 94ebb61f5e56 (bug 1798660)
Backed out changeset 5f7970d19320 (bug 1798660)
2022-11-30 00:29:43 +02:00
Otto Länd
1fecd47c1c
No bug: apply code formatting via Lando
...
# ignore-this-changeset
2022-11-29 21:50:17 +00:00
Mike Hommey
262904bd5f
Bug 1798660 - Avoid recursing the objdir for generated sources in symbolstore.py. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D163300
2022-11-29 21:22:08 +00:00
janvi01
d2aa0af52d
Bug 1780585 - Enhanced focused states on PiP controls r=kpatenio,niklas,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D154503
2022-11-29 15:15:20 +00:00
Emilio Cobos Álvarez
efd380b425
Bug 1803010 - Use .value consistently for downloads ui. r=Gijs,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D163312
2022-11-29 15:14:56 +00:00
Mike Hommey
45e3cb9869
Bug 1386368 - Undo bug 1324040. r=firefox-build-system-reviewers,ahochheiden
...
Now that we depend on modern versions of python 3, we shouldn't have SNI
problems anymore. OTOH, the S3 address somehow causes certificate
problems on some setups (similar to bug 1787993), while the original
address doesn't, so this is all for the better.
Differential Revision: https://phabricator.services.mozilla.com/D163170
2022-11-28 21:34:55 +00:00
Francesco Lodolo (:flod)
08a9cdce1d
Bug 1802837 - Remove Fluent migration recipes for Firefox 105-107, r=eemeli DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D163193
2022-11-28 17:12:02 +00:00
Cristian Tuns
280201b26e
Backed out changeset 028a7f4e4b32 (bug 1776255) for causing Linux artifact builds bustages on central CLOSED TREE
2022-11-26 17:13:36 -05:00
Marco Castelluccio
5b82bad791
Bug 1802423 - Add mozharness to the list of Mach dependencies. r=firefox-build-system-reviewers,ahochheiden DONTBUILD
...
This way it is importable directly without Python scripts having to alter the path.
Differential Revision: https://phabricator.services.mozilla.com/D163085
2022-11-25 22:58:36 +00:00
ahochheiden
3086d55972
Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
...
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.
Differential Revision: https://phabricator.services.mozilla.com/D150649
2022-11-25 17:22:03 +00:00
Arthur Carcano
ca79059cfb
Bug 1802168 - Prevent duplicated variables when generating backend.mk (rust). r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D162863
2022-11-25 08:36:37 +00:00
Mike Hommey
ed839b8e5c
Bug 1802095 - Serialize all calls to cargo. r=firefox-build-system-reviewers,ahochheiden
...
Before bug 1798291, all rust libraries were built in the same target
directory, and rust programs were built in a separate target directory
each. Cargo would be allowed to run in parallel for each target
directory. After bug 1798291, everything rust hits the same target
directory, so the normal behavior for Cargo is to block itself if run
multiple times. What this means in terms of the build is that now those
Cargos that are waiting are taking a make token, preventing other work
from happening.
It also turns out that on Solaris, Cargo doesn't block, and those Cargos
running in parallel are stepping on each other's toes.
By serializing, we ensure this doesn't happen. This should have been
done at the same time as bug 1798291 but I overlooked this.
Differential Revision: https://phabricator.services.mozilla.com/D163019
2022-11-25 03:48:17 +00:00
Mike Hommey
7b860edce2
Bug 1802271 - Move dnf and apt code to the respective classes that use them. r=firefox-build-system-reviewers,andi
...
Also remove the long unused add_apt_architecture.
Differential Revision: https://phabricator.services.mozilla.com/D162960
2022-11-25 02:18:50 +00:00
Mike Hommey
4e8439f7ac
Bug 1802271 - Remove python 2 compatibility from bootstrap code. r=firefox-build-system-reviewers,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D162959
2022-11-25 02:18:50 +00:00
Mike Hommey
6e198cff35
Bug 1802271 - Avoid the duplication of the run_as_root logic in the voidlinux bootstrapper. r=firefox-build-system-reviewers,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D162958
2022-11-25 02:18:49 +00:00
Mike Hommey
7085021795
Bug 1802271 - Remove redundant ensure_clang_static_analysis_package in the openSUSE bootstrapper. r=firefox-build-system-reviewers,ahochheiden
...
Differential Revision: https://phabricator.services.mozilla.com/D162957
2022-11-25 02:18:49 +00:00
Mike Hommey
4f5e5231e0
Bug 1802271 - Stop bootstrapping all sorts of packages on Linux distros. r=firefox-build-system-reviewers,ahochheiden
...
We don't need those anymore, as mentioned in previous change.
Differential Revision: https://phabricator.services.mozilla.com/D162956
2022-11-25 02:18:48 +00:00
Mike Hommey
54fec304f0
Bug 1802271 - Bootstrap the same base packages on all Linux distros. r=firefox-build-system-reviewers,ahochheiden
...
Nowadays, we don't need to bootstrap as many packages as we used to,
thanks to the bootstrapped tools and sysroots. The first step here is to
install the common base of necessary packages. As a matter of fact, none
of the other packages are necessary anymore, but we'll clean that up in
a followup patch.
This change and the followups have been tested on base docker images of
Arch Linux, Debian 10, 11, 12, Fedora 36, 37, Gentoo, OpenSUSE Leap,
Tumbleweed, Rocky Linux 8, Ubuntu 22.04, 22.10, Void Linux, and a Live
ISO of Solus Linux, with the assumption that actual users would have at
least what those images contain (and some of them are pretty barebones,
to the point that some of the base packages listed seem would seem
ridiculous... in fact we hadn't needed to include them so far).
Differential Revision: https://phabricator.services.mozilla.com/D162955
2022-11-25 02:18:48 +00:00