Commit Graph
8894 Commits
Author SHA1 Message Date
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
ahochheiden 9ac56c969c 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-06 17:08:32 +00:00
ahochheiden 6f6dff74e4 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-06 17:08:31 +00:00
Nick Alexander 5a2079d68e Bug 1818418 - Use reg.exe to implement MSIX 1-click set-to-default. r=mhughes
This approach uses `reg.exe` to delete and recreate the relevant HKCU
registry key-value pairs.

Differential Revision: https://phabricator.services.mozilla.com/D170717
2023-11-04 22:58:30 +00:00
Noemi Erli 41830fefad Backed out changeset 45ab2db62a65 (bug 1818418) for causing bustages in WindowsUserChoice.h 2023-11-04 11:07:26 +02:00
Nick Alexander 028ad01c21 Bug 1818418 - Use reg.exe to implement MSIX 1-click set-to-default. r=mhughes
This approach uses `reg.exe` to delete and recreate the relevant HKCU
registry key-value pairs.

Differential Revision: https://phabricator.services.mozilla.com/D170717
2023-11-04 02:49:46 +00:00
Butkovits Atila 5ebcfd01ff Backed out changeset e0f1fa408c70 (bug 1818418) for causing bustages at WindowsUserChoice.cpp. CLOSED TREE 2023-11-04 02:00:16 +02:00
Nick Alexander 644f3b8048 Bug 1818418 - Use reg.exe to implement MSIX 1-click set-to-default. r=mhughes
This approach uses `reg.exe` to delete and recreate the relevant HKCU
registry key-value pairs.

Differential Revision: https://phabricator.services.mozilla.com/D170717
2023-11-03 22:48:57 +00:00
Mike Conley 1201221bf2 Bug 1860606 - Get rid of migration.ftl in favour of migrationWizard.ftl. r=kpatenio,fluent-reviewers,bolsson
migration.ftl was used by the old, legacy XUL migration dialog that was removed
in bug 1824851.

There were still a few strings being used by migration.ftl, but I've moved those
over to migrationWizard.ftl, and gone ahead and just removed the old file.

Differential Revision: https://phabricator.services.mozilla.com/D192509
2023-11-02 22:03:26 +00:00
Andrew Halberstadt b585192419 Bug 1862515 - Add 'nobara' to FEDORA_DISTROS in 'mach bootstrap', r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192507
2023-11-02 14:02:27 +00:00
Mike Hommey 3af98465a5 Bug 1861772 - Remove unused usage data. r=firefox-build-system-reviewers,ahochheiden
As of bug 1272768, there are only two remaining uses of the usage data
that get_resource_data returns:
  - mozbuild.controller.building.BuildMonitor.log_resource_data, which
    only uses cpu_percent and io.
  - mozbuild.telemetry.get_build_attrs, which only uses cpu_percent.

All the aggregatation of data for other fields is lost, and, it turns
out, it is accidentally quadratic and sucks a lot of time since the
sample rate as been increased to 10Hz.

Differential Revision: https://phabricator.services.mozilla.com/D192142
2023-11-01 22:16:40 +00:00
Mike Hommey 30906f1c58 Bug 1861772 - Avoid calling get_resource_usage twice. r=firefox-build-system-reviewers,ahochheiden
Back when the code to log the resources in BuildMonitor.finish was
added in bug 883209, the condition to call log_resource_usage was
`status == 0`. It was later kind of accidentally changed in bug
1571636 (it just didn't matter). Anyways, bug 1526072 later added
another use of get_resource_usage for telemetry, with the condition
`status == 0`.

Also, back then, the usage data from get_resource_usage was used to
fill the json file, but that was changed in bug 1272768, so we don't
strictly need to keep that call to log_resource_usage where it is.

What we thus do is to move it at the same place usage is recorded for
telemetry, reducing the number of calls to get_resource_usage to one.

Differential Revision: https://phabricator.services.mozilla.com/D192141
2023-11-01 22:16:39 +00:00
Cristian Tuns 0a7a7ac9fa Bug 1861836 - Followup: properly fail on failure CLOSED TREE 2023-11-01 15:38:27 -04:00
Mike Hommey 347a8ae9da Bug 1861836 - Record the build profile as late as possible. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D192140
2023-11-01 09:20:43 +00:00
ChaseKnowlden 96b153b6e6 Bug 1858889 - [Linux] Remove dbus-glib from docs and CI. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D192088
2023-10-31 18:34:17 +00:00
Greg Stoll 4ff5cbd8ac Bug 1811076: Part 4 - Add gtests for correctly-behaving and misbehaving DLP agents
Unit tests for mozilla::contentanalysis::ContentAnalysis class.
ContentAnalysis must remain responsive, regardless of the behavior of the
agent.

Differential Revision: https://phabricator.services.mozilla.com/D189570
2023-10-31 16:38:55 +00:00
Sandor Molnar bb9baaf583 Backed out changeset 3c40605e3f9f (bug 1811076) for causing build bustages on toolkit/components/contentanalysis/tests/gtest/TestContentAnalysis.h CLOSED TREE 2023-10-31 17:45:37 +02:00
Greg Stoll 1614859d02 Bug 1811076: Part 4 - Add gtests for correctly-behaving and misbehaving DLP agents
Unit tests for mozilla::contentanalysis::ContentAnalysis class.
ContentAnalysis must remain responsive, regardless of the behavior of the
agent.

Differential Revision: https://phabricator.services.mozilla.com/D189570
2023-10-31 15:07:22 +00:00
Gijs Kruitbosch 6133efe282 Bug 747301 - remove about:plugins and some other unused plugin-related code, r=mossop,handyman,fluent-reviewers,extension-reviewers,desktop-theme-reviewers,bolsson,dao,geckoview-reviewers,owlish,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189921
2023-10-31 09:11:30 +00:00
Francesco Lodolo (:flod) ec54a53c97 Bug 1861797 - Remove Fluent migration recipes for Firefox 116-119, r=bolsson DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192125
2023-10-30 19:32:38 +00:00