Граф коммитов

8385 Коммитов

Автор SHA1 Сообщение Дата
ogiorgis 825f3eb457 Bug 1808026 - upgrade doc dependencies r=firefox-source-docs-reviewers,marco DONTBUILD
Depends on D173517

Differential Revision: https://phabricator.services.mozilla.com/D173518
2023-03-24 18:30:53 +00:00
ogiorgis 477c4745b3 Bug 1808026 - upgrade Pygments r=firefox-source-docs-reviewers,marco DONTBUILD
Depends on D173516

Differential Revision: https://phabricator.services.mozilla.com/D173517
2023-03-24 18:30:52 +00:00
ogiorgis 89c0d0b5c9 Bug 1808026 - upgrade sphinx r=firefox-source-docs-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D173516
2023-03-24 18:30:52 +00:00
Matthew Gregan f8e7c09e02 Bug 1816835 - Update AudioIPC macOS branch to 916f65cc. r=cubeb-reviewers,glandium,supply-chain-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D169877
2023-03-24 05:26:14 +00:00
Mike Hommey 76df0cfce2 Bug 1820876 - Update NDK to r23c. r=firefox-build-system-reviewers,nalexander
Wrench android builds had been kept on rustc 1.67 waiting for this
upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D172089
2023-03-23 22:18:09 +00:00
Tim Giles 74c89409f3 Bug 1813077 - Make addon-install-blocked learn more link use Fluent. r=mstriemer,fluent-reviewers,extension-reviewers,Gijs,flod
The previous way of setting textContent via string from the
browser.properties file does not work with the moz-support-link widget
since it has a Fluent ID by default. Instead we migrate the existing
string from the browser.properties file to the browser.ftl file.

Differential Revision: https://phabricator.services.mozilla.com/D170255
2023-03-23 14:07:42 +00:00
Greg Mierzwinski b5deb4adf2 Bug 1613455 - Allow custom APK uploads for Geckoview/Fenix perftests. r=perftest-reviewers,afinder
This patch allows mobile developers to upload custom APKs for testing through a commit. This allows them to run our performance tests by building locally, and then uploading to CI to run tests there.

The `./mach try perf` command is modified to make this simpler. It accepts either an environment variable, or a path to an APK, and copies it in-tree. After adding it to hg, the command stops running and asks the user to commit the changes. From there the user re-runs the `./mach try perf` command to select the appropriate tests.

Using --browsertime-upload-apk, users can use a custom APK for browsertime tests, and using --mozperftest-upload-apk, users can use a custom APK in mozperftest tests. The reason it's done this way is that we don't have common areas between the two frameworks. The methods are the same in both cases, i.e. for a fenix test, a fenix APK needs to be uploaded.

Differential Revision: https://phabricator.services.mozilla.com/D172435
2023-03-23 13:43:45 +00:00
Stanca Serban 7c5ebbcf74 Backed out changeset df6f338d6a26 (bug 1820876) for causing build bustages on Android Shippable. CLOSED TREE 2023-03-23 14:13:08 +02:00
Jari Jalkanen 104b25016c Bug 1823058 - Fix WindowsPath related TypeErrors from mach build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D172889
2023-03-23 10:30:51 +00:00
Mike Hommey 1f158eae92 Bug 1820876 - Update NDK to r23c. r=firefox-build-system-reviewers,nalexander
Wrench android builds had been kept on rustc 1.67 waiting for this
upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D172089
2023-03-23 01:27:51 +00:00
Arthur Carcano 2907b87962 Bug 1820139 - Add an early return mechanism to line handling. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D171546
2023-03-23 00:46:31 +00:00
Mike Hommey a105c4155d Bug 1824045 - Run pre-export/export steps in mach cargo even when configure has run. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D173373
2023-03-23 00:26:49 +00:00
Mike Hommey 3b5ed35a17 Bug 1821255 - Prevent running `mach vendor rust` with cargo < 1.68. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D172093
2023-03-22 22:38:13 +00:00
Johan Lorenzo dbf53eff3e Bug 1822869 - Install .deb langpacks in the same folder as the application r=gabriel
Differential Revision: https://phabricator.services.mozilla.com/D172812
2023-03-22 17:25:42 +00:00
Iulian Moraru 540cf0521d Backed out changeset faa1c03828fe (bug 1613455) for causing btime failures. CLOSED TREE 2023-03-22 19:10:02 +02:00
Greg Mierzwinski d9c9e6a248 Bug 1613455 - Allow custom APK uploads for Geckoview/Fenix perftests. r=perftest-reviewers,afinder
This patch allows mobile developers to upload custom APKs for testing through a commit. This allows them to run our performance tests by building locally, and then uploading to CI to run tests there.

The `./mach try perf` command is modified to make this simpler. It accepts either an environment variable, or a path to an APK, and copies it in-tree. After adding it to hg, the command stops running and asks the user to commit the changes. From there the user re-runs the `./mach try perf` command to select the appropriate tests.

Using --browsertime-upload-apk, users can use a custom APK for browsertime tests, and using --mozperftest-upload-apk, users can use a custom APK in mozperftest tests. The reason it's done this way is that we don't have common areas between the two frameworks. The methods are the same in both cases, i.e. for a fenix test, a fenix APK needs to be uploaded.

Differential Revision: https://phabricator.services.mozilla.com/D172435
2023-03-22 12:30:17 +00:00
Malte Jürgens a12fefb858 Bug 1821844 - Allow 'mach repackage msix' to be run independent of current directory r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D172356
2023-03-21 22:56:05 +00:00
Mike Hommey 4268674aa7 Bug 1823598 - Run configure before running a mach cargo command. r=firefox-build-system-reviewers,ahochheiden
When there is no configured environment, mach cargo commands always need
one. `BuildDriver.build` does create one, but for commands that don't
need that, we do need configure. Ideally, we wouldn't, but that requires
moving all the cargo invocation logic out of rust.mk, which would be
more work.

Differential Revision: https://phabricator.services.mozilla.com/D173109
2023-03-21 22:45:25 +00:00
Alex Hochheiden 613b103fc3 Bug 1782785 - Removed the patching mechanism that was only needed for `poetry` version `1.2.0a2` r=ahal
Depends on D171761

Differential Revision: https://phabricator.services.mozilla.com/D171762
2023-03-21 20:29:00 +00:00
ahochheiden 8f355e4a4c Bug 1782785 - Update `poetry` to `1.4.0` r=ahal
https://github.com/python-poetry/poetry/releases/tag/1.4.0https://github.com/python-poetry/poetry/releases/tag/1.4.0
https://github.com/python-poetry/poetry-core/releases/tag/1.5.1

The changes in `third_party/python/requirements.txt`, `third_party/python/poetry.lock` and `mozbuild/test/vendor_requirements.txt` are due to the newer version.

Depends on D150813

Differential Revision: https://phabricator.services.mozilla.com/D171761
2023-03-21 20:28:59 +00:00
Andrew Halberstadt d8aab56346 Bug 1823701 - Add 'tomli' to mach wpt requirements, r=jgraham
Since we added a root `pyproject.toml` file, it triggered a code path in pytest
which tries to open the file to read configuration with `tomli`. For whatever
reason, this isn't vendored for wpt and we therefore get import errors.

Differential Revision: https://phabricator.services.mozilla.com/D173166
2023-03-21 15:48:40 +00:00
serge-sans-paille 9b6ad1c7fc Bug 1823443 - Vendor libsoundtouch using `mach vendor` r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D173045
2023-03-21 13:14:46 +00:00
serge-sans-paille 81ffcb1181 Bug 1823441 - Add support for codeberg hosting r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D173044
2023-03-21 13:14:46 +00:00
Kershaw Chang b39b0bed43 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-21 09:09:58 +00:00
pmcmanis 5b83f3fcb5 Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172797
2023-03-20 17:52:38 +00:00
Greg Mierzwinski 25b79087e6 Bug 1784176 - Add a feature for manual logins for recording sites. r=perftest-reviewers,AlexandruIonescu
This patch adds the ability to run manual logins for our websites since it can be simpler, and quicker in some cases. At the same time, a bug with the options handling is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D164590
2023-03-20 14:42:45 +00:00
Andrew Halberstadt 577c4dacfe Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-20 13:06:28 +00:00
Andrew Halberstadt 441546dc79 Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau
This results in some changes from our current `isort` configuration. I'm
unclear if it's because ruff isn't at 100% parity with isort, they choose
different defaults or if I missed some configuration.

Either way, the changes all look reasonable to me (see child commit), so I'm
inclined to just accept the new import format it imposes.

Differential Revision: https://phabricator.services.mozilla.com/D172348
2023-03-20 13:06:27 +00:00
Andrew Halberstadt dd673c2fb2 Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre
Ruff is a very fast linter implemented in Rust and it can act as a drop-in
replacement for flake8. When running the same set of rules across all files
in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff
takes 0.9 seconds.

Ruff also implements rules from other popular Python linters such as pylint,
isort and pyupgrade. There are even plans to implement feature parity with
black in the future. Ultimately, it can become our one stop shop for all Python
linting and formatting.

This stack will swap out all our Python lint tools for ruff (excluding black
for now).

Differential Revision: https://phabricator.services.mozilla.com/D172313
2023-03-20 13:06:27 +00:00
Julien Cristau 79f8242c2d Bug 1822594 - remove webrender test schedule. r=jmaher,ahal
Since webrender was enabled by default this was causing pushes with
webrender-only changes to wrongly optimize out most tests.

Differential Revision: https://phabricator.services.mozilla.com/D172778
2023-03-20 10:45:48 +00:00
Cristian Tuns c1b52fd95e Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE
Backed out changeset e8fcfc7f8108 (bug 1811850)
Backed out changeset f8950d716c9e (bug 1811850)
Backed out changeset f650123cc188 (bug 1811850)
Backed out changeset d96f90c2c58b (bug 1811850)
Backed out changeset c3b0f9666183 (bug 1811850)
2023-03-16 22:16:30 -04:00
Andrew Halberstadt d93be6a402 Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-17 01:54:00 +00:00
Andrew Halberstadt 8b4f890651 Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau
This results in some changes from our current `isort` configuration. I'm
unclear if it's because ruff isn't at 100% parity with isort, they choose
different defaults or if I missed some configuration.

Either way, the changes all look reasonable to me (see child commit), so I'm
inclined to just accept the new import format it imposes.

Differential Revision: https://phabricator.services.mozilla.com/D172348
2023-03-17 01:53:59 +00:00
Andrew Halberstadt 8a4d48a70d Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre
Ruff is a very fast linter implemented in Rust and it can act as a drop-in
replacement for flake8. When running the same set of rules across all files
in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff
takes 0.9 seconds.

Ruff also implements rules from other popular Python linters such as pylint,
isort and pyupgrade. There are even plans to implement feature parity with
black in the future. Ultimately, it can become our one stop shop for all Python
linting and formatting.

This stack will swap out all our Python lint tools for ruff (excluding black
for now).

Differential Revision: https://phabricator.services.mozilla.com/D172313
2023-03-17 01:53:58 +00:00
Kershaw Chang 79403e1620 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-16 21:28:58 +00:00
Barret Rennie 152c6c1691 Bug 1821243 - Update to jsonschema 4.17.3 r=ahochheiden
We are using features from modern JSONSchema drafts, like dependantRequired, in
the Firefox Messaging System schemas. jsonschema 3.x does not support these
features. Experimenter is also being updated to 4.17.3 and we want to keep our
validation tests in sync with Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D172457
2023-03-16 20:27:01 +00:00
Cristian Tuns 4e17513a1d Backed out 2 changesets (bug 1821243) for causing xpcshell failures on test_RemoteSettingsExperimentLoader_updateRecipes.js CLOSED TREE
Backed out changeset 39df97ca8253 (bug 1821243)
Backed out changeset bbb8006a0784 (bug 1821243)
2023-03-16 15:16:58 -04:00
Barret Rennie c8cf15c6df Bug 1821243 - Update to jsonschema 4.17.3 r=ahochheiden
We are using features from modern JSONSchema drafts, like dependantRequired, in
the Firefox Messaging System schemas. jsonschema 3.x does not support these
features. Experimenter is also being updated to 4.17.3 and we want to keep our
validation tests in sync with Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D172457
2023-03-16 17:50:21 +00:00
Maxim Cournoyer 025982b671 Bug 1817032 - Honor SOURCE_DATE_EPOCH to build langpacks reproducibly. r=eemeli@mozilla.com
Differential Revision: https://phabricator.services.mozilla.com/D169979
2023-03-16 14:01:58 +00:00
Marian-Vasile Laza fa6dd89792 Backed out 2 changesets (bug 1821243) for xpcshell failures on test_reach_experiments.js. CLOSED TREE
Backed out changeset 44a860152c39 (bug 1821243)
Backed out changeset e34a680accf0 (bug 1821243)
2023-03-16 03:42:46 +02:00
Barret Rennie 8e83d39e20 Bug 1821243 - Update to jsonschema 4.17.3 r=ahochheiden
We are using features from modern JSONSchema drafts, like dependantRequired, in
the Firefox Messaging System schemas. jsonschema 3.x does not support these
features. Experimenter is also being updated to 4.17.3 and we want to keep our
validation tests in sync with Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D172457
2023-03-16 00:23:55 +00:00
Mike Hommey eaca1f3dd4 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-15 20:44:02 +00:00
serge-sans-paille 42fa42c77a Bug 1820572 - Make python/mozbuild/mozbuild/test/frontend/data buildable outside of a unified build environment r=andi,glandium
Differential Revision: https://phabricator.services.mozilla.com/D171731
2023-03-15 07:30:36 +00:00
Ben Hearsum 7f7cfea8b0 Bug 1822165: Bump sphinxcontrib-mermaid to latest version r=releng-reviewers,gbrown
This allows us to use more modern mermaid syntax and features. I know we pinned this to an old version quite awhile ago (https://bugzilla.mozilla.org/show_bug.cgi?id=1693140), but it appears that those issues have since been fixed. At the very least, diagrams appear to have no issues rendering.

Differential Revision: https://phabricator.services.mozilla.com/D172563
2023-03-14 20:15:05 +00:00
ogiorgis 11a6b0ce2c Bug 1822030 - mach setup - make sure to take the correct README for the description r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172409
2023-03-14 13:04:09 +00:00
Gijs Kruitbosch 402b55c414 Bug 1738056 - use fluent to insert channel ref into about dialog instead of hoping nothing gets retranslated, r=mkaply,fluent-reviewers,flod
The extant code would fail if the user switched languages while the dialog was
open, as fluent would throw the manually-inserted content away. This patch
properly uses fluent to insert the channel, which also means we don't need to
wait for it to happen after `load` (because of the previous patch in this
stack), it'll be there immediately.

Differential Revision: https://phabricator.services.mozilla.com/D172299
2023-03-14 00:03:42 +00:00
Norisz Fay 4a35828e21 Backed out 2 changesets (bug 1820947) for causing build bustage CLOSED TREE
Backed out changeset eb6419bb8748 (bug 1820947)
Backed out changeset 9990083e8ea2 (bug 1820947)
2023-03-14 01:20:54 +02:00
Mike Hommey f5844f16c5 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-13 21:14:47 +00:00
Ben Hearsum ece5cc8bfc Bug 1814727: allow `dlsource` OR existing required keys when attributing builds r=releng-reviewers,gbrown
We've decided to use a new attribution field when attributing our vanilla builds. This field is valid as the _only_ field in the attribution data.

Differential Revision: https://phabricator.services.mozilla.com/D171592
2023-03-13 19:04:05 +00:00
Ben Hearsum feb34d8fd9 Bug 1814727: enhance attribution script args to make it easier to append additional attributions r=releng-reviewers,gbrown
This allows us to easily append attributions, which is helpful when configuring this script in taskgraph. (You can set up some defaults, and then add others for specific jobs.)

As far as I can tell, all current usage of this script uses the environment variables, so it should be safe to remove the current arguments.

Differential Revision: https://phabricator.services.mozilla.com/D170240
2023-03-13 19:04:05 +00:00