8764 Commits

Author SHA1 Message Date
Heitor Neiva
24b944a39c Bug 1816992 - Add sentinel attribution to repackage jobs r=taskgraph-reviewers,releng-reviewers,bhearsum
Depends on D189259

Differential Revision: https://phabricator.services.mozilla.com/D189404
2023-10-06 01:30:29 +00:00
Mike Hommey
c04c99325f Bug 1839739 - Default to lld in more cases on Linux. r=firefox-build-system-reviewers,geckoview-reviewers,releng-reviewers,andi,gbrown,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D188676
2023-10-05 20:11:07 +00:00
Tom Ritter
77e925dc67 Bug 1856347: Allow copy_contents to take an optional parameter ignore_dangling_symlinks r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D189855
2023-10-05 19:45:24 +00:00
Niklas Baumgardner
377404f0a6 Bug 1844783 - Use new moz-message-bar in shopping components. r=shopping-reviewers,fluent-reviewers,reusable-components-reviewers,hjones,flod,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D189163
2023-10-05 14:07:28 +00:00
Joel Maher
138d83af91 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-05 11:58:59 +00:00
James Teh
232e8c986c Bug 1852190 part 3: Add Windows MSAA/IA2 interfaces, constants and utility functions to the Python environment. r=eeejay,jmaher
This also adds a simple role test which shows all of this working.

Differential Revision: https://phabricator.services.mozilla.com/D187746
2023-10-04 23:58:45 +00:00
Norisz Fay
8d9aaf93b0 Backed out 2 changesets (bug 1853245) for causing python failure CLOSED TREE
Backed out changeset d09e9295477f (bug 1853245)
Backed out changeset 54a1341a95d6 (bug 1853245)
2023-10-04 23:31:21 +03:00
Joel Maher
da6575a322 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-04 15:59:49 +00:00
Julien Cristau
93630da8b8 Bug 1851988 - fix some python string escape sequences r=webdriver-reviewers,perftest-reviewers,whimboo,afinder,releng-reviewers,firefox-build-system-reviewers,ahal,sergesanspaille
Use r-strings or escape backslashes to avoid a deprecation warning.

Differential Revision: https://phabricator.services.mozilla.com/D187655
2023-10-04 09:49:09 +00:00
Julien Cristau
77a4efeeae Bug 1856598 - repackage-deb: fix test on staging releases r=releng-reviewers,bhearsum
Mock l10n-changesets.json instead of assuming it always includes zh-TW,
which it typically does not for staging releases.

Differential Revision: https://phabricator.services.mozilla.com/D189932
2023-10-04 09:46:59 +00:00
Julien Cristau
9d809d97af Bug 1856598 - repackage-deb: don't use os.path.join for URLs r=releng-reviewers,bhearsum
The deb repackaging tests can run on windows, so best use the right
separators in urls vs filesystem paths.

Differential Revision: https://phabricator.services.mozilla.com/D189931
2023-10-04 09:46:59 +00:00
Cosmin Sabou
c8c7e83a77 Backed out 2 changesets (bug 1854047, bug 1839739) for causing build bustages. CLOSED TREE
Backed out changeset 3fb508020251 (bug 1854047)
Backed out changeset 056fe66a8b3f (bug 1839739)
2023-10-04 03:34:26 +03:00
Mike Hommey
4ccef9473d Bug 1854047 - Enable relrhack in local builds when possible. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D188677
2023-10-04 00:06:57 +00:00
Mike Hommey
26cd3f8040 Bug 1839739 - Default to lld in more cases on Linux. r=firefox-build-system-reviewers,geckoview-reviewers,releng-reviewers,andi,gbrown,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D188676
2023-10-04 00:06:57 +00:00
ganna
4e74ff2c72 Bug 1844850 - Use moz-message-bar in the unified extensions panel. r=tgiles,hjones,fluent-reviewers,extension-reviewers,willdurand,bolsson,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D186718
2023-10-03 15:35:42 +00:00
Sylvestre Ledru
4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Norisz Fay
c6ff2b5a2d Merge mozilla-central to autoland. CLOSED TREE 2023-10-02 19:51:56 +03:00
Norisz Fay
bcd9d75639 Backed out changeset 7290f63f0ea4 (bug 1855564) as requested for causing Bug 1856296 a=backout 2023-10-02 19:46:14 +03:00
Connor Sheehan
c1c2126fce Bug 1835962: add support for mach try to submit to Lando r=zeid,mach-reviewers,ahochheiden
Add support for submitting stacks of commits to Lando for queueing
on Try, instead of pushing to hg.mozilla.org directly. This patch
implements the Device Code Authorization flow for Auth0, simple changeset
discovery and patch gathering, and submissing to Lando via HTTP POST.

Add a `try.txt` virtualenv site that contains packages from the common
virtualenv as well as the `auth0-python` package for verifying Auth0
JWTs. Use this new virtualenv for `mach try` and related subcommands.
Add a `--push-to-lando` flag that controls whether the push will be made
via the Lando API or using the VCS to hg.mozilla.org directly.

Create a `lando.py` module in the `tryselect` package that handles the
details around submitting to Lando. Authentication is handled by the
Device Code Authorization flow, and the returned access token is saved
to the mozbuild state directory. Auth0 details are added to the `.lando.ini`
file in the repo root, and a `LANDO_TRY_USE_DEV` environment variable can
be set to control submitting to the prod or dev Lando environments.
This module also includes patch stack gathering and discovery via `mozversioncontrol`.

mozversioncontrol's `Repository` subclass is extended with helper functions
to gather patch files from Mercurial and Git. We also add a `try_config_commit`
context manager that creates a temporary commit to hold try syntax commit
messages and/or a `try_task_config.json` file, which is removed from version
control on submission.

The `mach try` cram tests now use a separate virtualenv that must be built
before running, causing unexpected output in the tests. Run `mach try --help`
in the test setup to force the virtualenv to be built before running any
test.

`mach try chooser` would previously install packages for a small web application
from a `requirements.txt` file when run. Install these via the new `try.txt`
site environment instead. The required dependencies are also added to the
`python-test.txt` site since they will cause some tests to fail due to the
missing dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D187641
2023-10-02 14:31:43 +00:00
Mike Hommey
0984272395 Bug 1855564 - Switch Firefox builds to macOS 14.0 SDK. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189430
2023-09-30 20:14:33 +00:00
Narcis Beleuzu
1915d07f5c Backed out 2 changesets (bug 1854047, bug 1839739) for causing bug 1855568. CLOSED TREE
Backed out changeset 2b3b967b6571 (bug 1854047)
Backed out changeset f957fe22f28e (bug 1839739)
2023-09-29 11:13:56 +03:00
Mike Hommey
1924f58224 Bug 1854519 - Only use emulated-process-clocks when sandboxing hunspell. r=firefox-build-system-reviewers,sergesanspaille
Hunspell is the only sandboxed library that uses the clock.

Differential Revision: https://phabricator.services.mozilla.com/D189317
2023-09-28 20:56:29 +00:00
ahochheiden
869025981e Bug 1855716 - Move jsonschema, pyrsistent, and pkgutil_resolve_name dependencies back into mach.txt instead of specifying them in individual sites r=mach-reviewers,ahal
D180501 made the original change that this patch undoes. An earlier
change in that stack inadvertently silently disabled Telemetry, which
hid this issue.

The problem is that `glean` (which we optionally install in the `mach`
site also needs `jsonschema` (and `jsonschema` depends on `pyrsistent`
and `pkgutil_resolve_name`). Since our vendored version was no longer
specified in the `mach.txt` site, it pulled a different version
(`4.19.1`) from the vendored version (`4.17.3`) which causes issues in
the `wpt` site.

Since glean explicitly needs `jsonschema` it never should have been
taken out of the `mach` site, so this patch corrects that mistake.

Differential Revision: https://phabricator.services.mozilla.com/D189553
2023-09-28 20:42:50 +00:00
Andrew Halberstadt
8c2bcdc84b Bug 1850423 - Decomission esr102 from taskgraph, build toolchains and WPT, r=gbrown,jcristau,taskgraph-reviewers,releng-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D186993
2023-09-28 14:39:35 +00:00
ahochheiden
8ab1c0738b Bug 1855312 - Check against all possible 'Mach' sites when activating telemetry, rather than just the mach site r=sheehan
Changes in Bug 1695312 made it so the actual command site is activated
much sooner, as such, at this point in the program execution, any of the
'Mach' sites can be active, so we should check against all of them.

In the past, the 'mach' site was the only one that could be active at
this time, so it was the only one that was needed to be checked for.

Differential Revision: https://phabricator.services.mozilla.com/D189290
2023-09-27 17:04:33 +00:00
Gabriel Bustamante
6dc891a885 Bug 1855182 - Fix perma Rpk-deb TypeError (and add a unit test) r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D189256
2023-09-26 17:48:04 +00:00
Joel Maher
99abb50b8d Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Mike Hommey
c0d1bf2b02 Bug 1854047 - Enable relrhack in local builds when possible. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D188677
2023-09-25 22:58:28 +00:00
Mike Hommey
5dacba3398 Bug 1839739 - Default to lld in more cases on Linux. r=firefox-build-system-reviewers,geckoview-reviewers,releng-reviewers,andi,gbrown,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D188676
2023-09-25 22:58:28 +00:00
Mike Conley
3f5d2e4d33 Bug 1812135 - Use moz-toggle in the about:newtab personalization panel. r=thecount,amy,hjones,desktop-theme-reviewers,bolsson
This adds moz-toggle.mjs as a module to load in the main newtab document
(cached or otherwise), and then converts the existing toggles to use
moz-toggle.

This also required me to bring in tokens-brand.css to get the right
colours for the toggle to appear.

There was some markup in the original panel that had the label exist outside
of the toggle, and some CSS grid styling to make it appear alongside it.
Thankfully, moz-toggle takes care of a lot of that for us, so I was able
to get rid of the external label element and the associated styles.

Differential Revision: https://phabricator.services.mozilla.com/D187716
2023-09-25 20:32:10 +00:00
Cosmin Sabou
e2ebed1c53 Backed out changeset 6a7f708c3d04 (bug 1812135) for causing crashtest failures on 1662259.html. CLOSED TREE 2023-09-26 01:11:46 +03:00
Mike Conley
2bde878c98 Bug 1812135 - Use moz-toggle in the about:newtab personalization panel. r=thecount,amy,hjones,desktop-theme-reviewers,bolsson
This adds moz-toggle.mjs as a module to load in the main newtab document
(cached or otherwise), and then converts the existing toggles to use
moz-toggle.

This also required me to bring in tokens-brand.css to get the right
colours for the toggle to appear.

There was some markup in the original panel that had the label exist outside
of the toggle, and some CSS grid styling to make it appear alongside it.
Thankfully, moz-toggle takes care of a lot of that for us, so I was able
to get rid of the external label element and the associated styles.

Differential Revision: https://phabricator.services.mozilla.com/D187716
2023-09-25 20:32:10 +00:00
Iulian Moraru
e4efe8dc5b Backed out changeset c2341f2f6212 (bug 1812135) for causing multiple crashes. CLOSED TREE 2023-09-25 20:53:34 +03:00
Mike Conley
c31b4c1af9 Bug 1812135 - Use moz-toggle in the about:newtab personalization panel. r=thecount,amy,hjones,desktop-theme-reviewers,bolsson
This adds moz-toggle.mjs as a module to load in the main newtab document
(cached or otherwise), and then converts the existing toggles to use
moz-toggle.

This also required me to bring in design-tokens-brand.css to get the right
colours for the toggle to appear.

There was some markup in the original panel that had the label exist outside
of the toggle, and some CSS grid styling to make it appear alongside it.
Thankfully, moz-toggle takes care of a lot of that for us, so I was able
to get rid of the external label element and the associated styles.

Differential Revision: https://phabricator.services.mozilla.com/D187716
2023-09-25 16:11:33 +00:00
Sylvestre Ledru
5207a16812 Bug 1853803 - repackage-deb-l10n: depend on a specific browser version on the langpack .debs r=sylvestre,jlorenzo
ex: firefox-nightly-l10n-fr (119.0a1~20230920063212) => firefox-nightly (119.0a1~20230920063212)

Differential Revision: https://phabricator.services.mozilla.com/D188699
2023-09-25 15:42:40 +00:00
Connor Sheehan
fcfe38a1ef Bug 1854496: update vendored aiohttp/requests and add new dependencies r=firefox-build-system-reviewers,mach-reviewers,ahochheiden
Update `aiohttp` to version 3.8.5 and `requests` to version 2.31.0,
and vendor their respective dependencies. Add all the new dependencies
to the various required site virtualenv requirements files.

Differential Revision: https://phabricator.services.mozilla.com/D188904
2023-09-25 14:22:11 +00:00
Mike Hommey
53765a27b9 Bug 1851754 - Upgrade minimum supported Clang version to 8. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188898
2023-09-22 02:34:51 +00:00
Mike Hommey
163fd5a55a Bug 1854308 - Handle old llvm-readelf output for --dyn-syms properly. r=firefox-build-system-reviewers,andi
While we're here, adjust the error messages, because we're not using
llvm-objdump anymore.

Differential Revision: https://phabricator.services.mozilla.com/D188794
2023-09-21 20:51:35 +00:00
Mike Hommey
b03c0f4157 Bug 1853813 - Bootstrap awk on OpenSuSE. r=firefox-build-system-reviewers,ahochheiden
For some reason, it's missing in recent OpenSuSE tumbleweed docker
images, but also is not necessarily available as an "awk" package on
other distros, so limit ourselves to OpenSuSE.

Notably, on Debian, "awk" is a virtual package provided by a set of
packages.

Differential Revision: https://phabricator.services.mozilla.com/D188698
2023-09-20 22:00:15 +00:00
Eemeli Aro
6a03950096 Bug 1853638 - Fix protections dashboard menu tooltip. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D188449
2023-09-20 15:40:48 +00:00
Jan-Erik Rediger
8dd4f8a708 Bug 1852921 - Upgrade to Glean v54.0.0 r=chutten,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188084
2023-09-19 08:18:12 +00:00
Steve Fink
422ae077bf Bug 1853252 - Allow running mach bootstrap from more subdirs r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188302
2023-09-18 19:13:38 +00:00
Sandor Molnar
fd89296e58 Backed out changeset a8d1b2a81511 (bug 1853184) for causing python vcs failures CLOSED TREE 2023-09-19 01:46:40 +03:00
Sandor Molnar
1f5dbccdb3 Backed out changeset 1e582a0e5593 (bug 1852921) for causing build bustages 2023-09-19 01:43:08 +03:00
Connor Sheehan
2ec4c75d12 Bug 1853184: use --initial-branch main when creating Git repos in mozversioncontrol tests r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188278
2023-09-18 16:11:11 +00:00
Jan-Erik Rediger
a98db88b61 Bug 1852921 - Upgrade to Glean v54.0.0 r=chutten,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188084
2023-09-18 14:09:18 +00:00
Mike Hommey
0971a7a2da Bug 1839740 - Hook relrhack in the build system. r=firefox-build-system-reviewers,andi
Disabled by default for now.

Differential Revision: https://phabricator.services.mozilla.com/D187090
2023-09-16 19:52:26 +00:00
Mike Hommey
62b0896fb2 Bug 1839740 - Add linker kind to the elfhack configure test. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D187087
2023-09-16 19:52:25 +00:00
Matthew Gaudet
c915a3df3f Bug 1811356 - Disable clangd header insertion r=andi
Differential Revision: https://phabricator.services.mozilla.com/D186492
2023-09-15 14:46:15 +00:00
Tom Ritter
7d11257c7d Bug 1853407: Remove extraneous debug statement r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D188352
2023-09-15 14:43:40 +00:00