Commit Graph
9214 Commits
Author SHA1 Message Date
ahochheiden dff7b658ed Bug 1877347 - Replace distutils.util.strtobool with a custom strtobool within mach r=firefox-build-system-reviewers,glandium
The migration advice (https://peps.python.org/pep-0632/#migration-advice)
suggests reimplementing the functionality as per the docs (https://docs.python.org/3.9/distutils/apiref.html#distutils.util.strtobool)
which is exactly what I've done here.

Differential Revision: https://phabricator.services.mozilla.com/D199950
2024-02-26 18:01:04 +00:00
serge-sans-paille 67fb85ad18 Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D201012
2024-02-26 08:26:38 +00:00
Tomislav Jovanovic ca91f0c2c0 Bug 1872918 - Collect .d.json typescript info from xpidl r=mossop,nika
Differential Revision: https://phabricator.services.mozilla.com/D197618
2024-02-24 00:23:59 +00:00
Mike Hommey 0248178a6a Bug 1881635 - Fix up artifact builds after bug 1848414.
Differential Revision: https://phabricator.services.mozilla.com/D202530
2024-02-23 01:31:14 +00:00
Robin Steuber 4d1100a064 Bug 1881360 - Allow paths_no_keep_path to have multiple roots r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D202362
2024-02-22 21:54:22 +00:00
Ryan VanderMeulen 84df51cd03 Bug 1881351 - Update to JDK 17.0.10. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202346
2024-02-22 13:47:35 +00:00
Nick Alexander 85583c9a01 Bug 1867846 - Add mach msix repackage --unsigned. r=mhughes
This allows `Appx-AddPackage -Unsigned ...` on Windows 11.

Differential Revision: https://phabricator.services.mozilla.com/D196894
2024-02-21 19:09:35 +00:00
Stephen A Pohl 4d3b43cd93 Bug 1854868: Add a macOS Framework in preparation of replacing update-settings.ini. r=bytesized,mstange,glandium
Differential Revision: https://phabricator.services.mozilla.com/D189071
2024-02-21 18:50:32 +00:00
Stephen A Pohl fb21d85a80 Bug 1799332: Add a macOS Framework to replace the use of channel-prefs.js on macOS. r=glandium,mstange,KrisWright,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D184711
2024-02-21 18:50:30 +00:00
Johannes J. Schmidt d8b8a2b7a9 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-02-20 14:21:18 +00:00
Ryan VanderMeulen 732e9a487e Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-20 14:10:07 +00:00
Ryan VanderMeulen e964ab4759 Bug 1822171 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202073
2024-02-20 14:10:06 +00:00
Noemi Erli 845ab3292b Backed out changeset cd949da4b9b6 (bug 1864340) foe causing failures in browser_creditCard_telemetry.js CLOSED TREE 2024-02-19 23:23:21 +02:00
Cristian Tuns 646e6b331d Backed out 5 changesets (bug 1822171) for causing Android failures with "Uncaught exception: Traceback (most recent call last)" CLOSED TREE
Backed out changeset cedd2977706a (bug 1822171)
Backed out changeset ba5550494437 (bug 1822171)
Backed out changeset 126552a59648 (bug 1822171)
Backed out changeset 072153b2a9fe (bug 1822171)
Backed out changeset 577745e56c02 (bug 1822171)
2024-02-19 15:05:47 -05:00
Sebastian Hengst 01ebe15220 Backed out changeset bef8b1b461b8 (bug 1822171) for causing frequent connection issues to Android in testing. CLOSED TREE 2024-02-19 19:11:05 +01:00
Johannes J. Schmidt 11df9c4a78 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-02-19 16:49:17 +00:00
Ryan VanderMeulen 9546b0c1a2 Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-19 16:09:51 +00:00
Ryan VanderMeulen d2aa9dff31 Bug 1822171 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202073
2024-02-19 16:09:51 +00:00
Kershaw Chang 932553fc95 Bug 1880110 - Bump the minimum version of Rust to 1.74.0, r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D201947
2024-02-19 14:33:05 +00:00
Norisz Fay eaa4787926 Backed out changeset 9e33a77369d3 (bug 1864340) for causing bc failures on browser_creditCard_telemetry.js CLOSED TREE 2024-02-19 16:23:37 +02:00
Johannes J. Schmidt 2b80fb5845 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-02-19 10:12:28 +00:00
Sandor Molnar e44d6c70d5 Backed out changeset 344524bd7c75 (bug 1872242) for causing bug 1879519 CLOSED TREE 2024-02-15 23:04:14 +02:00
Mike Hommey 2ace6749f3 Bug 1880207 - Fix mbu failure on test_bootstrap.py. CLOSED TREE 2024-02-15 11:32:52 +02:00
Iulian Moraru 11ce95916d Bug 1879242 - fix linting ruff failures in python/mozbuild/mozbuild/test/configure/test_bootstrap.py. r=lint-fix 2024-02-15 10:51:18 +02:00
Mike Hommey 4117f065c6 Bug 1879242 - Make --enable-bootstrap=something properly prioritize the bootstrapped toolchain. r=firefox-build-system-reviewers,sergesanspaille
At the same time, add more extensive bootstrap unit tests.

Differential Revision: https://phabricator.services.mozilla.com/D201791
2024-02-15 08:05:28 +00:00
Mike Hommey 602188055e Bug 1880234 - Remove leftovers from bug 1692939. r=firefox-build-system-reviewers,sergesanspaille
The namespace function used to be defined in util.configure, which is
not necessarily included in unit tests, so we had to define it manually
when needed. But now it's part of the sandbox, so a local definition is
unnecessary

Differential Revision: https://phabricator.services.mozilla.com/D201806
2024-02-15 08:03:48 +00:00
Michael Froman 2e5a5e1505 Bug 1876554 - update gn_processor.py to support openbsd on riscv64. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D201149
2024-02-13 21:58:20 +00:00
Travis Long 8a9f6f6a69 Bug 1879857 - Update Glean to v57.0.0. r=chutten,supply-chain-reviewers,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201621
2024-02-13 20:47:02 +00:00
Cristian Tuns a0a92fc71b Backed out changeset 9b5ebc2d3b4b (bug 1877347) as requested by Aryx on element. CLOSED TREE 2024-02-09 18:51:43 -05:00
ahochheiden 0962c229c3 Bug 1877347 - Replace distutils.util.strtobool with a custom strtobool within mach r=firefox-build-system-reviewers,glandium
The migration advice (https://peps.python.org/pep-0632/#migration-advice)
suggests reimplementing the functionality as per the docs (https://docs.python.org/3.9/distutils/apiref.html#distutils.util.strtobool)
which is exactly what I've done here.

Differential Revision: https://phabricator.services.mozilla.com/D199950
2024-02-09 23:41:09 +00:00
Butkovits Atila 9b1d3d8da9 Backed out changeset 3ccc5333fce1 (bug 1877347) for causing partial generation build bustages. a=backout 2024-02-09 13:39:27 +02:00
ahochheiden 89eb6c797b Bug 1877348 - Remove the try/except wrappers that end up calling distutils.core.setup r=firefox-build-system-reviewers,glandium
This is one of the last references to `distutils` within `mach`, so
let's get rid of it to be thorough.

Differential Revision: https://phabricator.services.mozilla.com/D199951
2024-02-08 21:07:27 +00:00
ahochheiden 21b62ee8eb Bug 1877347 - Replace distutils.util.strtobool with a custom strtobool within mach r=firefox-build-system-reviewers,glandium
The migration advice (https://peps.python.org/pep-0632/#migration-advice)
suggests reimplementing the functionality as per the docs (https://docs.python.org/3.9/distutils/apiref.html#distutils.util.strtobool)
which is exactly what I've done here.

Differential Revision: https://phabricator.services.mozilla.com/D199950
2024-02-08 21:07:26 +00:00
ahochheiden 0715082d45 Bug 1877344 - Replace all usages of distutils.spawn.find_executable with shutil.which within mach r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D199949
2024-02-08 21:07:26 +00:00
ahochheiden 1d5fe74cc7 Bug 1878021 - Print the messages for InvalidRepoPath and MissingVCSTool when _get_repository_object encounters those exceptions r=firefox-build-system-reviewers,glandium
This should make it easier for a user to troubleshoot the problem,
instead of trying to decipher a subsequent exception from a function
call being attempted on the `None` returned by this function.

Differential Revision: https://phabricator.services.mozilla.com/D200496
2024-02-08 07:08:53 +00:00
ahochheiden e77c3ff321 Bug 1872242 - Change how the last segment of milestone_winversion is generated to improve uniqueness r=firefox-build-system-reviewers,RyanVM,glandium
The previous implementation used days since Jan 1 2000 for the last
16-bit segment. This was not unique enough and caused issues with
Antivirus software if two different channels were built on the same day.

The new approach uses hours since the last milestone bump and uses the
VCS to determine how long ago that was relative to the build time. This
means it will always reset when a new cycle begins, but still be unique
since the digits in the first 3 segments have incremented.

We also now use two of the 16-bits to encode the channel (nightly, beta,
ESR, and release). So two channels built within the same hour will still
be unique.

Using only 14-bits to store the 'hours since version bump', we have
about ~682 days from a version bump before we reach the maximum value we
can store. If a build is done after that point, the segment value will
always be the maximum value for that channel.

Differential Revision: https://phabricator.services.mozilla.com/D200989
2024-02-08 07:00:48 +00:00
Mike Hommey 3b51d37f69 Bug 1878964 - Remove mozbuild.exec_. r=firefox-build-system-reviewers,sergesanspaille
Its comment says:

> Wrapper around the exec statement to avoid bogus errors like:
> (snip)
> which happen with older versions of python 2.7.

IOW, it's been useless ever since we dropped support for python 2.7.

Differential Revision: https://phabricator.services.mozilla.com/D200879
2024-02-08 00:34:15 +00:00
Cristian Tuns 3744ac3658 Bug 1875201 - Fix for black linting in gn_processor.py CLOSED TREE 2024-02-07 09:19:23 -05:00
Michael Froman aaebfec41b Bug 1875201 - Add method for conditionally including "media/libvpx/libvpx". r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D200117
2024-02-07 13:48:40 +00:00
Mike Hommey c8d341f699 Bug 1773509 - Add an in-tree windows crate that wraps a bootstrapped windows-rs. r=firefox-build-system-reviewers,supply-chain-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D200104
2024-02-06 14:57:53 +00:00
Jonathan Kew 135b6bcc67 Bug 1824671 - patch 7 - Add icu_properties & dependencies to audits.toml and to package license whitelist, to enable it to be vendored. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198445
2024-02-06 11:41:11 +00:00
Andrew Halberstadt 28db412cd3 Bug 1752677 - Add a task config to set the 'existing_tasks' parameter, r=releng-reviewers,bhearsum,jcristau
This adds the `-E/--use-existing-tasks` flag to the `fuzzy` or `chooser`
selectors. For example:

  ./mach try fuzzy -E

This queries the Treeherder API to find your latest try push, then any tasks
that exist on that push, but aren't explicitly selected this time, will be
replaced with those older tasks.

You can also run:

  ./mach try fuzzy -E task-id=<task id>

Where `<task id>` is the id of the Decision task from the push you would like
to use as the base.

Differential Revision: https://phabricator.services.mozilla.com/D200380
2024-02-03 02:29:38 +00:00
ahochheiden 2d453b8630 Bug 1875052 - Change various RegEx patterns to raw strings to remove syntax warnings on Python 3.12 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D199946
2024-02-02 20:52:24 +00:00
Cristian Tuns 30405970ad Backed out changeset 1ddc1733cf76 (bug 1752677) for causing python mach failures on mac CLOSED TREE 2024-02-02 12:09:59 -05:00
Andrew Halberstadt 65f169a61f Bug 1752677 - Add a task config to set the 'existing_tasks' parameter, r=releng-reviewers,bhearsum,jcristau
This adds the `-E/--use-existing-tasks` flag to the `fuzzy` or `chooser`
selectors. For example:

  ./mach try fuzzy -E

This queries the Treeherder API to find your latest try push, then any tasks
that exist on that push, but aren't explicitly selected this time, will be
replaced with those older tasks.

You can also run:

  ./mach try fuzzy -E task-id=<task id>

Where `<task id>` is the id of the Decision task from the push you would like
to use as the base.

Differential Revision: https://phabricator.services.mozilla.com/D200380
2024-02-02 16:45:55 +00:00
Greg Mierzwinski 07315862c7 Bug 1877180 - Pass the app name to mozproxy during recording. r=perftest-reviewers,kshampur,afinder DONTBUILD
This patch fixes a couple bugs with recording. The first is that the app wasn't being passed to mozproxy, and this was preventing the creation of the mitmproxy certificate for the app being used to record. The second is that the --proxy-deterministic flag isn't defined within the proxy layer even though it's used by it from the hooks.

Differential Revision: https://phabricator.services.mozilla.com/D199891
2024-02-02 13:09:18 +00:00
Eemeli Aro 025462cf2d Bug 1877105 - Add git source support to test_fluent_migrations. r=flod,bolsson
Adds a CLI option `--l10n-git` that uses the firefox-l10n-source git repo instead of the gecko-strings hg repo when testing Fluent migrations.

When we complete the git migration, the option and mercurial repo support should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D200184
2024-02-02 12:25:29 +00:00
Eemeli Aro 941b40ea4b Bug 1877101 - Add git source support to l10n lint. r=bolsson,flod,linter-reviewers,sylvestre
Adds a CLI option `--l10n-git` that uses the firefox-l10n-source git repo instead of the gecko-strings hg repo when linting localization files.

When we complete the migration, the option and mercurial repo support should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D199866
2024-02-02 12:25:28 +00:00
Mike Conley 8a624e19b3 Bug 1876104 - Convert PrefsFeed.jsm to an ESM. r=amy,marco
Differential Revision: https://phabricator.services.mozilla.com/D199415
2024-02-02 00:53:18 +00:00
Mike Hommey 37d0f8269e Bug 1877546 - Add rust target tests with versioned targets. r=firefox-build-system-reviewers,sergesanspaille
Some targets (android and darwin) may contain a version in their
triplet, and we need to test for that.

Differential Revision: https://phabricator.services.mozilla.com/D200089
2024-01-31 21:50:25 +00:00