Commit Graph
9948 Commits
Author SHA1 Message Date
Alexandru Marc 11048374bc Revert "Bug 1962485 - Fix jj tests in mozversioncontrol r=sfink,ahal"
This reverts commit b26130c25b.
2025-05-29 07:33:48 +00:00
Alexandru Marc 653ab68ea3 Revert "Revert Bug 1962485 for causing pip related build bustages & py3 failures"
This reverts commit 0509b14a45.
2025-05-29 07:30:17 +00:00
Alexandru Marc 0509b14a45 Revert Bug 1962485 for causing pip related build bustages & py3 failures
This reverts commit b26130c25b.

Revert "Bug 1962485 - Add `jj` toolchain to `mozversioncontrol` Python source test r=firefox-build-system-reviewers,nalexander"

This reverts commit 6d09de11be.

Revert "Bug 1962485 - Add `jj` toolchain tasks r=firefox-build-system-reviewers,nalexander"

This reverts commit 8c01c67a49.

Revert "Bug 1967634 - Bump vendored `pyyaml` version to `6.0.2` to match mozharness and grizzly r=ahal,mach-reviewers"

This reverts commit 76796be466.

Revert "Bug 1967634 - Apply fixes from `python-sites` lint r=ahal,mach-reviewers"

This reverts commit 9a334d44bd.

Revert "Bug 1967634 - Add `python-sites` lint to facilitate adding rules specific to `python/sites/` r=ahal"

This reverts commit 14dfd6cba9.

Revert "Bug 1965907 - Re-enable `test_vendor.py` r=ahal"

This reverts commit 62784c1332.
2025-05-29 05:48:38 +00:00
Alex Hochheiden b26130c25b Bug 1962485 - Fix jj tests in mozversioncontrol r=sfink,ahal
- Inject `jj` into `PATH` in CI.
- Windows tempdir from pytest was too long for some `jj` files created on init.
- Comments in `steps` were being interpreted as commands.
- The `diff` from `jj` is different from `hg`/`git`, so check for both.
- MacOS workers don't have a `jj` compatible version of `git`, so we skip `jj` tests on MacOS in CI for now. `Error: Git does not recognize required option: no-write-fetch-head (note: supported version is 2.40.4)`

Differential Revision: https://phabricator.services.mozilla.com/D251119
2025-05-29 04:56:23 +00:00
Alex Hochheiden 76796be466 Bug 1967634 - Bump vendored pyyaml version to 6.0.2 to match mozharness and grizzly r=ahal,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D250880
2025-05-29 04:56:11 +00:00
Alex Hochheiden 9a334d44bd Bug 1967634 - Apply fixes from python-sites lint r=ahal,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D250489
2025-05-29 04:56:07 +00:00
Alex Hochheiden 62784c1332 Bug 1965907 - Re-enable test_vendor.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D250337
2025-05-29 04:56:00 +00:00
Alex Hochheiden fa3c69a9fe Bug 1965905 - Remove vendor_requirements.txt/in as they are no longer necessary with uv python vendoring r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D250338
2025-05-29 00:16:44 +00:00
James Teh f609a8a873 Bug 1857116 part 2: Register the IAccessible2 proxy dll for automated tests on CI. r=morgan,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D251150
2025-05-28 03:11:34 +00:00
hannajones de0b6da6b9 Bug 1606785 - Enable Prettier for CSS files r=desktop-theme-reviewers,Standard8,frontend-codestyle-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D248105
2025-05-28 02:51:14 +00:00
Cristian Tuns 352ecd57fb Revert "Bug 1857116 part 3: Enable browser_textSelectionContainer.js on CI. Tag it as os_integration so it is verified when upgrading Windows on CI. r=jmaher" for causing mochitest failures in browser_textSelectionContainer.js
This reverts commit cadea370d8.

Revert "Bug 1857116 part 2: Register the IAccessible2 proxy dll for automated tests on CI. r=morgan,jmaher"

This reverts commit 7336c118e3.

Revert "Bug 1857116 part 1: Reinstate building of the IAccessible2 proxy dll. r=morgan"

This reverts commit 71c9f3666b.
2025-05-28 00:50:33 +00:00
James Teh 7336c118e3 Bug 1857116 part 2: Register the IAccessible2 proxy dll for automated tests on CI. r=morgan,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D251150
2025-05-27 23:47:57 +00:00
Steve Fink ed96b1465b Bug 1968788 - Snapshot working copy before marking an undo point r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D251403
2025-05-27 20:11:35 +00:00
Julien Cristau ee33c2e2f0 Bug 1968503 - add buildconfig virtualenv. r=ahal
Use `mach python` in buildconfig source-test.

Differential Revision: https://phabricator.services.mozilla.com/D251175
2025-05-27 08:16:54 +00:00
Mike Hommey 1a81ad1a22 Bug 1968145 - Remove general.warnOnAboutConfig pref. r=Gijs
It hasn't been used since bug 1524836.

Differential Revision: https://phabricator.services.mozilla.com/D250874
2025-05-26 23:16:59 +00:00
Andrej Glavic 62faf81c3a Bug 1966234 - Add baseline profile installed correctly check. r=perftest-reviewers,kshampur
Adding error checking code inside the mozdevice/mozdevice/adb.py baseline profile installation function to make sure that the baseline profile is installed properly.
We can have the command succeed but not the way we want which is why this is needed, [status=verify] is an example of a fail that does not fail when running.

Differential Revision: https://phabricator.services.mozilla.com/D249798
2025-05-26 18:15:30 +00:00
Greg Mierzwinski 7fde09dd3b Bug 1968159 - Restrict intermixed parse_known_args changes to python 3.12.8+. r=perftest-reviewers,fbilt
This patch fixes an issue where the intermixed variable is not known on python versions 3.12.7 and lower.

Differential Revision: https://phabricator.services.mozilla.com/D250878
2025-05-26 17:08:06 +00:00
Serban Stanca 69b24b2ce3 Revert "Bug 1961649 - Use 'scriptworker-{signing, shipit}' payload builders from mozilla-taskgraph, r=taskgraph-reviewers,releng-reviewers,bhearsum" for causing multiple failures.
This reverts commit 8c59549b09.

This reverts commit b029458665.

This reverts commit 029513c0c1.

This reverts commit 618e07a0c0.
2025-05-23 20:07:16 +00:00
Andrew Halberstadt b029458665 Bug 1961649 - Vendor mozilla-taskgraph under third_party/python, r=taskgraph-reviewers,mach-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D250328
2025-05-23 19:18:05 +00:00
Jan-Erik Rediger 2e75abb42f Bug 1968193 - Update to Glean v64.3.1 r=chutten,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D250900
2025-05-23 19:09:50 +00:00
Cristian Tuns cc7c8d4be3 Revert "Bug 1967634 - Apply fixes from python-sites lint r=ahal,mach-reviewers" for broken tests
This reverts commit b6bab59343.

Revert "Bug 1967634 - Add `python-sites` lint to facilitate adding rules specific to `python/sites/` r=ahal"

This reverts commit cd14d13cec.

Revert "Bug 1965905 - Remove `vendor_requirements.txt/in` as they are no longer necessary with `uv` python vendoring r=ahal"

This reverts commit dbb9b5ca9b.

Revert "Bug 1965907 - Re-enable `test_vendor.py` r=ahal"

This reverts commit c39a35d0a2.
2025-05-22 22:38:47 +00:00
Geoff Lankow 2d554b7365 Bug 1966470 - Simplify how Thunderbird artifacts get found. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D249928
2025-05-22 22:35:16 +00:00
Alex Hochheiden b6bab59343 Bug 1967634 - Apply fixes from python-sites lint r=ahal,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D250489
2025-05-22 22:08:35 +00:00
Alex Hochheiden dbb9b5ca9b Bug 1965905 - Remove vendor_requirements.txt/in as they are no longer necessary with uv python vendoring r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D250338
2025-05-22 22:08:28 +00:00
Alex Hochheiden c39a35d0a2 Bug 1965907 - Re-enable test_vendor.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D250337
2025-05-22 22:08:24 +00:00
Alex Hochheiden c4ca716204 Bug 1916793 - Add suggestion to add platform-tools dir to PATH r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D250499
2025-05-22 20:10:49 +00:00
Jan-Erik Rediger db75ef0ce8 Bug 1967754 - Update to Glean v64.3.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D250445
2025-05-22 08:28:49 +00:00
Greg Mierzwinski 2d0c0faeef Bug 1966090 - Pass intermixed argument to _parse_known_args on python 3.12+. r=perftest-reviewers,afinder
This patch fixes an issue on mozperftest when running it with python 3.12+. It relates to a new parameter that has been added in python 3.13, and that does not exist in earlier versions (hence the version check).

Differential Revision: https://phabricator.services.mozilla.com/D249070
2025-05-22 03:10:12 +00:00
Nick Alexander a8d08169d9 Bug 1966470 - Part 1: Add mach artifact install --unfiltered-project-package command. r=firefox-build-system-reviewers,glandium
Getting artifacts from other locations when building is a solved
problem.  But single-locale repacks do something very different that
is very hard to arrange locally.  This commit will be used to make
single-locale repacks easier to work with.

This commit adds a new "unfiltered project package" mode that uses the
artifact build mode fetching code to download (and minimally process)
just the main package from a build.  The processing is convenient on
macOS, where DMG files are onerous to work with and the application
bundle name varies.

Differential Revision: https://phabricator.services.mozilla.com/D249447
2025-05-21 17:35:01 +00:00
Nick Alexander 65b66963d5 Bug 1966468 - Make mozinstall handle archives when cross-compiling. r=firefox-build-system-reviewers,ahal,glandium
Differential Revision: https://phabricator.services.mozilla.com/D249445
2025-05-21 17:34:54 +00:00
agoloman 63c83deb26 Revert "Bug 1606785 - Enable Prettier for CSS files r=desktop-theme-reviewers,Standard8,frontend-codestyle-reviewers,emilio" for causing multiple failures.
This reverts commit ec5fa1d4c0.

Revert "Bug 1606785 - Format Firefox CSS files with Prettier r=desktop-theme-reviewers,perftest-reviewers,places-reviewers,translations-reviewers,omc-reviewers,backup-reviewers,browser-installer-reviewers,sparky,dao,pdahiya,nrishel,kpatenio"

This reverts commit baa5d72bbd.

Revert "Bug 1606785 - Format browser/themes and toolkit/themes CSS files with Prettier r=desktop-theme-reviewers,pip-reviewers,tabbrowser-reviewers,places-reviewers,dao,mconley"

This reverts commit 9604b0a8ae.

Revert "Bug 1606785 - Format browser/themes/preferences CSS files with Prettier r=settings-reviewers,desktop-theme-reviewers,dao,mconley"

This reverts commit 686c1cf85f.

Revert "Bug 1606785 - Format urlbar CSS files with Prettier r=urlbar-reviewers,desktop-theme-reviewers,dao"

This reverts commit a7a4f31251.

Revert "Bug 1606785 - Format webcompat CSS files with Prettier r=webcompat-reviewers,denschub"

This reverts commit 41bc4d5237.

Revert "Bug 1606785 - Format search CSS files with Prettier r=search-reviewers,jteow"

This reverts commit 7bb7f82374.

Revert "Bug 1606785 - Format dom CSS files with Prettier r=emilio"

This reverts commit c22e910235.

Revert "Bug 1606785 - Format android CSS files with Prettier r=geckoview-reviewers,hiro"

This reverts commit c08e43fc3d.

Revert "Bug 1606785 - Format layout CSS files with Prettier r=layout-reviewers,dholbert"

This reverts commit 4f2a32d1a4.

Revert "Bug 1606785 - Format devtools CSS files with Prettier r=devtools-reviewers,nchevobbe,frontend-codestyle-reviewers"

This reverts commit c05f675ddf.

Revert "Bug 1606785 - Format recomp CSS files with Prettier r=reusable-components-reviewers,desktop-theme-reviewers,dao,mkennedy"

This reverts commit b10c7de8d0.

Revert "Bug 1606785 - Format sidebar CSS files with Prettier r=sidebar-reviewers,desktop-theme-reviewers,dao,nsharpley"

This reverts commit d32c555e37.

Revert "Bug 1606785 - Format shopping CSS files with Prettier r=shopping-reviewers,desktop-theme-reviewers,dao,rking"

This reverts commit 965887a708.

Revert "Bug 1606785 - Format profiles CSS files with Prettier r=profiles-reviewers,desktop-theme-reviewers,dao,mossop"

This reverts commit 8338860f74.

Revert "Bug 1606785 - Format genai and ml CSS files with Prettier r=firefox-ai-ml-reviewers,Mardak"

This reverts commit d66681f553.

Revert "Bug 1606785 - Format firefoxview CSS files with Prettier r=fxview-reviewers,desktop-theme-reviewers,dao,jsudiaman"

This reverts commit 530b815cad.

Revert "Bug 1606785 - Format aboutlogins, megalist, and form autofill CSS files with Prettier r=credential-management-reviewers,mtigley,desktop-theme-reviewers,dao"

This reverts commit 813c864381.
2025-05-21 04:49:28 +00:00
hannajones ec5fa1d4c0 Bug 1606785 - Enable Prettier for CSS files r=desktop-theme-reviewers,Standard8,frontend-codestyle-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D248105
2025-05-21 03:55:17 +00:00
Alex Hochheiden ce997bd43b Bug 1965348 - Automatically update <site>.txt files when packages are removed during ./mach vendor python r=ahal
This works for in all scenarios, whether it be packages being
added/removed, or upgraded, as well as implicit dependencies.

The output has also been vastly improved, indicating the next
steps that need to be done, and for what packages. It's also
explicit which <site>.txt files have been modified and what changes
were made.

Differential Revision: https://phabricator.services.mozilla.com/D249857
2025-05-20 23:51:41 +00:00
Anutrix b9c9bb727f Bug 1967109 - Remove usages of six in python directory. r=firefox-build-system-reviewers,glandium
Also removes six from deps of mozterm's setup.py as only usages of six in it were removed last month in D245270.

Differential Revision: https://phabricator.services.mozilla.com/D249889
2025-05-20 21:01:00 +00:00
Alex Hochheiden 7f7f81d025 Bug 1965348 - Remove all redundant dependencies specified in command sites r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahal
Any dependency already specified in `mach.txt` does not need to be specified in any
child command site because those dependencies are inherited from the `mach` site.

Differential Revision: https://phabricator.services.mozilla.com/D249676
2025-05-20 20:22:21 +00:00
Alex Hochheiden 53a7429923 Bug 1965348 - Remove redundant markupsafe specifications in various <site>.txt files r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahal
Differential Revision: https://phabricator.services.mozilla.com/D249669
2025-05-20 20:22:17 +00:00
Alex Hochheiden 3cee221ae8 Bug 1965348 - Make test_site_compatibility.py use ./mach generate-python-lockfiles to verify site compatibility r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D249495
2025-05-20 20:22:10 +00:00
Alex Hochheiden 3050e03e22 Bug 1965348 - Add a message to run ./mach generate-python-lockfiles to verify site compatibility at the end of ./mach vendor python r=ahal
Initially I made this run automatically, but it's pointless without the
necessary updates done to the <site>.txt file(s). It will have to be run
after those updates, so running it automatically here would be a waste of time.

Differential Revision: https://phabricator.services.mozilla.com/D249494
2025-05-20 20:22:06 +00:00
Alex Hochheiden c830815544 Bug 1965348 - Add generate-python-lockfiles mach command r=ahal
This command takes the <site>.txt files at `python/sites/` and converts them to
pyproject.toml files that `uv` can use to make lockfiles.

The `mach` site is locked by itself, then all other sites are locked with their own
dependencies, plus the dependencies of the `mach` site (since they're inherited on
site activation, just specified in different files).

The generated files are not intended to be committed to the repo, because we only care if
we can lock, we don't use them for anything else. If we can lock, the site is valid and won't
have compatibility errors.

A `--keep-lockfiles` arg was added that prevents the temporary directory containing the generated
files from being deleted, to help with troubleshooting when a site is not able to be locked.

This command can be run by itself if updating the a <site>.txt file manually with a `pypi:` dependency, and
it will be integrated with `./mach vendor python` and `test_site_compatibility.py` in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D249492
2025-05-20 20:22:02 +00:00
Alex Hochheiden 0741c5c72f Bug 1965348 - Bump uv version to 0.7.2 for vendor site r=mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D249491
2025-05-20 20:21:59 +00:00
Steve Fink d45114c714 Bug 1962882 - Make mozversioncontrol.repo.Repository into a real abstract base class r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D246861
2025-05-19 23:36:31 +00:00
Steve Fink 995cf85fc2 Bug 1962882 - Rename get_branch_nodes -> get_commits r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D246860
2025-05-19 23:36:27 +00:00
Bastien Orivel 7173b14da9 Bug 1964662 - Add esr140 support to gecko taskgraph. r=releng-reviewers,taskgraph-reviewers,hneiva,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D248407
2025-05-19 15:58:04 +00:00
Sandor Molnar b1fec2d161 Revert "Bug 1966470 - Part 2: Use mach artifact install --unfiltered-project-package in single-locale repacks. r=firefox-build-system-reviewers,glandium" for causing windows bc perma failures
This reverts commit b04538e7c7.

Revert "Bug 1966470 - Part 1: Add `mach artifact install --unfiltered-project-package` command. r=firefox-build-system-reviewers,glandium"

This reverts commit 55d81741d4.

Revert "Bug 1966470 - Pre: Make `l10n-repack.py` command line easier to copy-paste. r=firefox-build-system-reviewers,glandium"

This reverts commit 3f10eacb36.

Revert "Bug 1966468 - Make `mozinstall` handle archives when cross-compiling. r=firefox-build-system-reviewers,ahal,glandium"

This reverts commit c46d4a5469.
2025-05-17 16:43:06 +00:00
Sandor Molnar 9bdf73c546 Revert "Bug 1962882 - Make mozversioncontrol.repo.Repository into a real abstract base class r=ahal" for causing spider-monkey failures.
This reverts commit 44edde46c2.

Revert "Bug 1962882 - Rename get_branch_nodes -> get_commits r=ahal"

This reverts commit e2766c67f6.
2025-05-17 14:14:27 +00:00
Steve Fink 44edde46c2 Bug 1962882 - Make mozversioncontrol.repo.Repository into a real abstract base class r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D246861
2025-05-17 13:49:58 +00:00
Steve Fink e2766c67f6 Bug 1962882 - Rename get_branch_nodes -> get_commits r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D246860
2025-05-17 13:49:55 +00:00
Nick Alexander 55d81741d4 Bug 1966470 - Part 1: Add mach artifact install --unfiltered-project-package command. r=firefox-build-system-reviewers,glandium
Getting artifacts from other locations when building is a solved
problem.  But single-locale repacks do something very different that
is very hard to arrange locally.  This commit will be used to make
single-locale repacks easier to work with.

This commit adds a new "unfiltered project package" mode that uses the
artifact build mode fetching code to download (and minimally process)
just the main package from a build.  The processing is convenient on
macOS, where DMG files are onerous to work with and the application
bundle name varies.

Differential Revision: https://phabricator.services.mozilla.com/D249447
2025-05-17 13:49:22 +00:00
Nick Alexander c46d4a5469 Bug 1966468 - Make mozinstall handle archives when cross-compiling. r=firefox-build-system-reviewers,ahal,glandium
Differential Revision: https://phabricator.services.mozilla.com/D249445
2025-05-17 13:49:15 +00:00
Alex Hochheiden 9dc8e0e47f Bug 1966772 - Fix add_remove_files/forget_add_remove_files in JujutsuRepository on Windows with absolute paths r=sfink
- Added the expected `force` argument (which is unused).
- Added `_repo_root_relative_path` to the base class, because it could be useful for any repository type.

Differential Revision: https://phabricator.services.mozilla.com/D249670
2025-05-16 19:22:30 +00:00