Commit Graph
8913 Commits
Author SHA1 Message Date
Sandor Molnar ca122b3a4e Merge mozilla-central to autoland. CLOSED TREE 2023-11-30 14:42:30 +02:00
Sandor Molnar afcfb9aad7 Backed out changeset fec3dc168176 (bug 1866176) for causing bug 1867494 CLOSED TREE 2023-11-30 14:38:22 +02:00
Mike Hommey 095a6c2481 Bug 1867189 - Make watchman optional during bootstrap. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194959
2023-11-30 08:56:53 +00:00
Sandor Molnar e5fc15722c Backed out changeset 45b26dd270e8 (bug 1866268) for causing wpt crashes at /console/console-label-conversion CLOSED TREE 2023-11-30 09:14:21 +02:00
Eemeli Aro 5396f6ace6 Bug 1866268 - Migrate GeckoViewConsole strings to Fluent. r=geckoview-reviewers,fluent-reviewers,owlish,kpatenio
This migration creates a new FTL file under mobile/android/.
As GeckoView isn't actually localised (see bug 1605358), this file is not exposed to localisers.

A migration script is still included,
as previous localisations of the strings are available from their Fennec days.
Running the script will fail in an m-c checkout bootstrapped for desktop development;
it's possible to hack around this by manually setting
the `l10n_toml` value in `python/l10n/test_fluent_migrations/fmt.py`.

Differential Revision: https://phabricator.services.mozilla.com/D194541
2023-11-29 23:14:12 +00:00
Mike Hommey df48973b07 Bug 1867217 - Change when we throw away old versions of git-cinnabar. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D194964
2023-11-29 21:34:25 +00:00
Mike Conley 81b1c031f1 Bug 1867346 - Tweak strings for ASRouter spotlight message to encourage users without FxA accounts to create one. r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195013
2023-11-29 19:50:07 +00:00
Ray Kraesig 0c19f4087a Bug 1866176 - normalize paths in FileFinder r=ahal,firefox-build-system-reviewers,glandium
On Windows, paths provided to FileFinder may contain backslashes, which
will cause uses of `mozpath.match` later on to fail when they try to
compare mixed-path values. To avoid this, normalize those paths on
receipt.

(Also, silence a lint by pulling the global `args` variable into a
function, so that it is no longer occluded by the various function
parameters named `args`.)

Differential Revision: https://phabricator.services.mozilla.com/D194448
2023-11-29 17:45:31 +00:00
Connor Sheehan 4e254deb24 Bug 1867036: use --always to force headers for empty commits r=gerard-majax
Git versions before 2.41 don't display headers for empty commits
in `git format-patch`. Force headers to display with `--always`,
so Lando can properly apply the patch when pushing to try.

Differential Revision: https://phabricator.services.mozilla.com/D194911
2023-11-29 15:24:38 +00:00
Tom Marble 8514021d85 Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D193150
2023-11-29 00:12:23 +00:00
Joshua Marshall d65088640e Bug 1299271 - Service worker performance test r=asuth,sparky
These are a first-cut of service worker performance tests, just running as
vanilla mochitests for now.  Bug 1832059 tracks the integration work necessary.

Differential Revision: https://phabricator.services.mozilla.com/D177427
2023-11-28 16:33:38 +00:00
Cosmin Sabou ef2484fe0d Backed out changeset 4c5b3ec73a9a (bug 1682371) for python related failures. CLOSED TREE 2023-11-28 01:20:46 +02:00
Tom Marble 023771f69a Bug 1682371 - mach skipfails part 1: add dependencies r=jmaher,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D193150
2023-11-27 23:00:41 +00:00
Tooru Fujisawa 584473e514 Bug 1564553 - Part 2: Put all generated files except for cbindgen-metadata.json into the generated-files tarball. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D194173
2023-11-27 21:11:17 +00:00
ahochheiden 4815b23045 Bug 1865915 - Make the suggest_command code run before activating a virtualenv so that suggest command's venv is activated r=firefox-build-system-reviewers,sergesanspaille
I wasn't able to modify `sys.argv[1]` with the `suggested_command` and have
it propagate to `dispatcher.py`, so the code still has to run in both
places, otherwise there's crashes for trying to access invalid command
handlers.

Differential Revision: https://phabricator.services.mozilla.com/D194599
2023-11-27 07:50:18 +00:00
ahochheiden 495d72d453 Bug 1866382 - Properly get the aliased command name for dictionary lookup r=firefox-build-system-reviewers,sergesanspaille
The previous implementation had an error where only aliases that were 1:1 with the dictionary would work.

Differential Revision: https://phabricator.services.mozilla.com/D194591
2023-11-27 07:50:18 +00:00
Mathew Hodson 743a7abd68 Bug 1865492 - Enable Prettier with VS Code for more JSON files r=nalexander
VS Code detects most files as jsonc (JSON with Comments) by default.

Differential Revision: https://phabricator.services.mozilla.com/D193994
2023-11-24 16:54:59 +00:00
Paul Bone 85ad1f146f Bug 1866400 - Recognise Asahi Linux as a Fedora distro r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194587
2023-11-24 06:57:44 +00:00
Makoto Kato 44bf6e65ab Bug 1814734 - Upgrade NDK to r25c. r=geckoview-reviewers,owlish,glandium
Differential Revision: https://phabricator.services.mozilla.com/D194045
2023-11-24 02:01:34 +00:00
Mike Conley fc841b829d Bug 1866295 - Land new strings for ASRouter spotlight message to encourage users without FxA accounts to create one. r=aminomancer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D194547
2023-11-23 17:30:08 +00:00
serge-sans-paille a2fd5b4397 Bug 1865878 - Document native third party sources vendoring r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D194250
2023-11-23 05:37:39 +00:00
Cosmin Sabou 4d28b93ff6 Backed out 2 changesets (bug 1843209) for python3 related browser accessible failures. CLOSED TREE
Backed out changeset 052214d67a99 (bug 1843209)
Backed out changeset 36c5e6c2819f (bug 1843209)
2023-11-23 02:41:22 +02:00
Sandor Molnar ca82695b2b Backed out changeset 6a14206eb5a9 (bug 1299271) for causing python taskgraph-tests failures at taskcluster/gecko_taskgraph/test/test_util_chunking.py CLOSED TREE 2023-11-22 22:50:30 +02:00
ahochheiden 6d5d8d77dd Bug 1843209 - Regenerate the third_party/python lockfile with Python 3.8 as the minimum version r=firefox-build-system-reviewers,glandium,mach-reviewers,ahal
If this is not done, the next person to vendor will also make all of the changes in this commit, which is unnecessary noise.

Differential Revision: https://phabricator.services.mozilla.com/D183450
2023-11-22 20:07:42 +00:00
ahochheiden 90004e9277 Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-11-22 20:07:41 +00:00
Joshua Marshall bb47d44e7b Bug 1299271 - Service worker performance test r=asuth,sparky
These are a first-cut of service worker performance tests, just running as
vanilla mochitests for now.  Bug 1832059 tracks the integration work necessary.

Differential Revision: https://phabricator.services.mozilla.com/D177427
2023-11-22 13:16:11 +00:00
Chris H-C 1892a9e1eb Bug 1852098 - mach command gen-use-counter-metrics r=emilio,firefox-build-system-reviewers,ahochheiden
Takes use counter definitions and generates a use_counter_metrics.yaml with
`counter` metric definitions for each use counter and denominator.

Total use counters at time of writing: 2271 (excludes denominators)

Differential Revision: https://phabricator.services.mozilla.com/D193246
2023-11-21 17:09:52 +00:00
Greg Mierzwinski a88fcbc65b Bug 1856681 - Use proper venv for perftest-tools, and accept output argument. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D189962
2023-11-21 16:59:06 +00:00
James Graham ac02154157 Bug 1865606 - Update ipython for mach python --ipython, r=mach-reviewers,ahal
This is the latest version that still support 3.7.x. The 8.x series initially requires 3.8 and later
3.9. We could perhaps update to a 3.8-requiring version since this isn't used anywhere in automation,
but this version is a conservative choice for now.

Differential Revision: https://phabricator.services.mozilla.com/D194052
2023-11-21 14:46:36 +00:00
Mike Hommey dec4335000 Bug 1865299 - Try harder to find candidate pushheads. r=firefox-build-system-reviewers,sergesanspaille
_get_recent_public_revisions is not reliably giving us revisions that
are available on the trees that artifacts are taken from. With both
mercurial and git, it is possible to end up in a situation where the
first few entries are only available on some private branch (but still
"public" in mercurial's or git-cinnabar's eye).

In that case, try parent revisions.

Differential Revision: https://phabricator.services.mozilla.com/D194175
2023-11-21 09:16:40 +00:00
serge-sans-paille 37e171f844 Bug 1865672 - Format mach with black r=ahochheiden
To do so we allow straight filenames in the include section and consider
them as automatically-included files.

Differential Revision: https://phabricator.services.mozilla.com/D194093
2023-11-21 08:10:29 +00:00
ahochheiden d2f27fced2 Bug 1857279 - Load @SettingsProvider settings early so that we can parse set aliases and load the correct virtualenv r=ahal
Aliased commands have not loaded the virtualenv associated with a
command/subcommand since bug 1695312. It has been defaulting to the
`common` virtualenv, which worked most of the time since most commands
use `common` and it also contains a large share of our dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D192376
2023-11-20 18:05:57 +00:00
ahochheiden 13c0c8057d Bug 1857279 - Consolidate all mach @SettingsProvider hooks in one file and class and have them execute very early during mach_initialize() r=ahal
The only remaining @SettingsProvider hooks should be in test files.

Differential Revision: https://phabricator.services.mozilla.com/D192375
2023-11-20 18:05:57 +00:00
Joel Maher e0c29ea803 Bug 1864755 - Adjust mozinfo names/values to be more streamlined and accurate. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D193928
2023-11-20 14:21:00 +00:00
Alexandra Borovova a436c61afa Bug 1863685 - Update pathes of h2, hpack, hyperframe packages and use vendored version of h2 for raptor and talos r=perftest-reviewers,mach-reviewers,jgraham,sparky
In the scope of the wptserve update (https://bugzilla.mozilla.org/show_bug.cgi?id=1862598), also h2, hpack, hyperframe packages got updated and changed their folder structure, which requires paths to be updated.

Differential Revision: https://phabricator.services.mozilla.com/D193908
2023-11-19 15:30:34 +00:00
Gabriel Bustamante bc2ba2695e Bug 1864958 - Fix devedition .deb package branding r=releng-reviewers,taskgraph-reviewers,jlorenzo,gbrown
Depends on D193953

Differential Revision: https://phabricator.services.mozilla.com/D193954
2023-11-17 22:00:35 +00:00
Narcis Beleuzu aeac4d77e1 Backed out 7 changesets (bug 1852098) for bustages on UseCounterMetrics.h . CLOSED TREE
Backed out changeset 3b87419a9eea (bug 1852098)
Backed out changeset d9c7c84c82df (bug 1852098)
Backed out changeset e594c7eebb91 (bug 1852098)
Backed out changeset 15e0b0bd3bfb (bug 1852098)
Backed out changeset 220e9ee63ec3 (bug 1852098)
Backed out changeset 9edef145d1c5 (bug 1852098)
Backed out changeset 920a798dbb8a (bug 1852098)
2023-11-16 01:00:42 +02:00
Chris H-C 6a8a5c1490 Bug 1852098 - mach command gen-use-counter-metrics r=emilio,firefox-build-system-reviewers,ahochheiden
Takes use counter definitions and generates a use_counter_metrics.yaml with
`counter` metric definitions for each use counter and denominator.

Total use counters at time of writing: 2271 (excludes denominators)

Differential Revision: https://phabricator.services.mozilla.com/D193246
2023-11-15 21:32:40 +00:00
Stanca Serban 7f8a3ccc5e Backed out 7 changesets (bug 1852098) for causing build bustages in UseCounterMetrics.cpp. CLOSED TREE
Backed out changeset 2caabd4bfe86 (bug 1852098)
Backed out changeset 5c174b0ee1ab (bug 1852098)
Backed out changeset 05ba23510b93 (bug 1852098)
Backed out changeset 256984effaa2 (bug 1852098)
Backed out changeset 8bed08cf2a68 (bug 1852098)
Backed out changeset 16b0698a239d (bug 1852098)
Backed out changeset 6e8d54a51fb7 (bug 1852098)
2023-11-15 23:02:32 +02:00
Chris H-C dd6bfdd958 Bug 1852098 - mach command gen-use-counter-metrics r=emilio,firefox-build-system-reviewers,ahochheiden
Takes use counter definitions and generates a use_counter_metrics.yaml with
`counter` metric definitions for each use counter and denominator.

Total use counters at time of writing: 2271 (excludes denominators)

Differential Revision: https://phabricator.services.mozilla.com/D193246
2023-11-15 17:01:28 +00:00
Jan-Erik Rediger 9b7567a12f Bug 1860506 - Update to Glean v55 and glean_parser v10. r=TravisLong,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D192960
2023-11-13 14:29:54 +00:00
DJ 9ad2936c0d Bug 1862982 - fix fluent schema for cookie banner blocker cancel button. r=fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D193235
2023-11-10 15:16:41 +00:00
Mike Hommey ce12458f4a Bug 1863850 - Fix mach vendor moz.yaml for rust code after bug 1835972. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D193152
2023-11-09 07:29:58 +00:00
Mike Hommey 6b84be05ec Bug 1861566 - Remove direct dependencies to non root-nodes in the compile graph in root-deps.mk. r=firefox-build-system-reviewers,ahochheiden
As the comment said, adding these dependencies was showing good results
back when it was done. 6~7 years later, things have changed, and
removing them makes the build faster across the board (tested from -j4
to -j48, they're up to 10% faster, with the biggest difference at -j16
and -j24)

Differential Revision: https://phabricator.services.mozilla.com/D192045
2023-11-08 23:47:33 +00:00
Mike Hommey 3bb424135b Bug 1861566 - Allow some missing generated source files. r=firefox-build-system-reviewers,sergesanspaille
When gtest is not linked as part of the build, the source files that are
generated for it are not necessarily created during the build, so we
won't be able to find them when packaging them. We make this an allowed
situation. Ideally, we'd "just" figure out which files these are, and
not emit them in the list of generated sources, but at the moment, it's
a lot of work to be able to do so.

Differential Revision: https://phabricator.services.mozilla.com/D193003
2023-11-08 23:47:32 +00:00
Mike Hommey ee16f37fc6 Bug 1863668 - Record a profile even when the build fails. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D193013
2023-11-08 23:44:52 +00:00
Rob Lemley 6a3ff837fb Bug 1862463 - Remove references to building Thunderbird with a mozilla/ subdirectory. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192488
2023-11-07 14:58:59 +00:00
Greg Mierzwinski 76fd189c7f Bug 1860189 - Setup path for DMG extraction for Mac Mochitest mozperftest. r=perftest-reviewers,kshampur
This patch sets up the paths for DMG extraction for Mochitest mozperftest tests. It also adds some additional artifacts for the mac tests to pull and extract.

Differential Revision: https://phabricator.services.mozilla.com/D192071
2023-11-07 14:37:25 +00:00
serge-sans-paille ae64441194 Bug 1858062 - Remove reference to distutils in mozboot r=saschanaz
distutils is no longer available in Python 3.12, which means we cannot
require it on bootstrap, otherwise we cannot bootstrap from Py 3.12.

We already require setuptools as part of mach's requirements, so it's
fine to depend on setuptools elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D190537
2023-11-07 07:43:07 +00:00
Cristian Tuns 0a80141e7f Backed out 3 changesets (bug 1857279) for causing try failures with exit status 1 CLOSED TREE
Backed out changeset 4c1965a65011 (bug 1857279)
Backed out changeset b9885d1b6980 (bug 1857279)
Backed out changeset 76706ea52991 (bug 1857279)
2023-11-06 13:12:25 -05:00