Commit Graph

9413 Commits

Author SHA1 Message Date
Yoshi Cheng-Hao Huang
cbcd16068e Bug 1923577 - Bump aioquic to 1.2.0. r=jgraham
Update aioquic version to 1.2.0 according to https://bugzilla.mozilla.org/show_bug.cgi?id=1921144

Differential Revision: https://phabricator.services.mozilla.com/D225029
2024-10-11 08:58:47 +00:00
Michael Froman
d92e8b072e Bug 1921707 - support new google build directory location in python/mozbuild/mozbuild/gn_processor.py r=ng
Differential Revision: https://phabricator.services.mozilla.com/D224078
2024-10-10 13:42:40 +00:00
Paul Adenot
5084131713 Bug 1923830 - Print commands in a way that is easy to copy paste in case of non-zero return code. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D225186
2024-10-10 12:23:02 +00:00
Bastian Gruber
b7941358f4 Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD
Bug 1923364 - cleanup extensions, r=nanj

Bug 1923364 - Adding tabs to lint, r=nanj

Bug 1923364 - Ignore tabs linting, r=nanj

Bug 1923364 - Restructure and combine rust components, r=nanj

Bug 1923364 - Replace rst with MyST markdown, r=nanj

Bug 1923364 - PR review fixes, r=nanj

Differential Revision: https://phabricator.services.mozilla.com/D224949
2024-10-09 23:24:17 +00:00
Greg Mierzwinski
68a66de9af Bug 1916538 - Add documentation about the mach perftest alet command. r=perftest-reviewers,fbilt
This patch adds some documentation about the mach perftest alert layer, and how to use it. This includes the additional options that it has.

Differential Revision: https://phabricator.services.mozilla.com/D224006
2024-10-09 14:51:30 +00:00
Greg Mierzwinski
782e00951b Bug 1921527 - Add option to select tests to run from an alert. r=perftest-reviewers,afinder
This patch adds an option to specify which tests from an alert should run through using the mozperftest alert layer.

Differential Revision: https://phabricator.services.mozilla.com/D224005
2024-10-09 14:51:29 +00:00
Julien Cristau
e6e6b733e3 Bug 1913141 - mozperftest: fix subprocess error handling on mac. r=mozperftest-reviewers,sparky
CalledProcessError's constructor doesn't have a `stdout` argument, it's called `output`.

Differential Revision: https://phabricator.services.mozilla.com/D224746
2024-10-09 12:03:43 +00:00
Mike Hommey
1487fa209f Bug 1923217 - Upgrade zstandard to 0.23.0. r=firefox-build-system-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D224850
2024-10-09 02:26:05 +00:00
ahochheiden
a4bb5511b6 Bug 1920152 - Prevent the absolute path from being written in requirements.txt and re-vendor r=ahal,mach-reviewers
We can continue using `-o` to generate the `requiriements.txt` file by just using the filename instead of the absolute path. This works because we're already setting the `cwd` to be where it needs to be generated. This makes the comment at the top of the generated `requirements.txt` file always be the same, regardless of who ran the vendor.

Differential Revision: https://phabricator.services.mozilla.com/D224508
2024-10-08 15:19:23 +00:00
Bob Owen
34b37adda5 Bug 1918069 p8: Add some documentation for the individual-files flavor. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D223146
2024-10-08 11:01:14 +00:00
Bob Owen
697024af6b Bug 1918069 p7: Add ability to use individual-files flavor for googlesource. r=tjr
googlesource only has a base64 encoded raw form, so this patch adds the facility
for a host to specify a function for the copy and decode from the temp download
file. It also allows the individual-files-default-upstream to be an empty str,
because it seems reasonable for a file to be relative to the base vendoring url.

Differential Revision: https://phabricator.services.mozilla.com/D223145
2024-10-08 11:01:14 +00:00
Bob Owen
a33f5f3da8 Bug 1918069 p6: Fix the sorting of patches to match the order specified. r=tjr
Currently the list of patches are sorted after matching, but the documentation
suggests that they should be in the order specified first and only sorted within
a glob.
The flexibility stated in the documentation seems reasonable.
This affects the sorting of other lists as they are converted to paths, but the
order does not matter in the way that they are used.

Differential Revision: https://phabricator.services.mozilla.com/D223129
2024-10-08 11:01:13 +00:00
Jan-Erik Rediger
e778594c09 Bug 1923078 - Update to Glean v61.2.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,skhan
Differential Revision: https://phabricator.services.mozilla.com/D224759
2024-10-08 09:39:55 +00:00
ahochheiden
c9e529ace1 Bug 1920039 - Do not set SIGKILL signal on Windows since it's not available r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D223643
2024-10-07 16:35:58 +00:00
Tamas Szentpeteri
ebe94cd545 Backed out 2 changesets (bug 1920152, bug 1922536) for causing gecko bustages related to post-signing-dummy-nightly-1. CLOSED TREE
Backed out changeset 1c7d5f288462 (bug 1920152)
Backed out changeset 01f37a6da61a (bug 1922536)
2024-10-03 20:56:00 +03:00
ahochheiden
6f46d58a91 Bug 1920152 - Prevent the absolute path from being written in requirements.txt and re-vendor r=ahal,mach-reviewers
We can continue using `-o` to generate the `requiriements.txt` file by just using the filename instead of the absolute path. This works because we're already setting the `cwd` to be where it needs to be generated. This makes the comment at the top of the generated `requirements.txt` file always be the same, regardless of who ran the vendor.

Differential Revision: https://phabricator.services.mozilla.com/D224508
2024-10-03 17:28:17 +00:00
ahochheiden
d384261fbc Bug 1920152 - Doc updates for ./mach vendor python r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D223635
2024-10-03 14:47:59 +00:00
ahochheiden
eb0783a530 Bug 1920152 - Implement upgrading vendored dependencies via uv r=ahal
Currently, running running `./mach vendor python --upgrade` will not do
anything different, because all dependencies are pinned. In later
patches, we can unpin dependencies and that will make any future runs
with `--upgrade` added pull the newest versions from PyPi that are
universally compatible.

Differential Revision: https://phabricator.services.mozilla.com/D223430
2024-10-03 14:47:59 +00:00
ahochheiden
99fef74afa Bug 1920152 - Add various additional features to ./mach vendor python r=ahal,mach-reviewers
- Added argument "--add", which allows a user to specify a dependency to add via the command line, rather than editing the 'pyproject.toml' directly.
- Added argument "--remove", which is the opposite of add, with slightly different syntax (This does not require the "==<major.minor.patch>" portion of a dependency.
(The above arguments are both features of uv, and we're essentially just passing them through from `mach` to `uv`)
- Added a hash of the lockfile, so that if you run './mach vendor python', but the lockfile has not changed, there's nothing to do, so the rest of vendoring is skipped.
- Added "--force" to force a vendor, which essentially just skips the lockfile hashing steps, and always forces a vendor, regardless of the change status.

Differential Revision: https://phabricator.services.mozilla.com/D222993
2024-10-03 14:47:58 +00:00
ahochheiden
f01c702b47 Bug 1920152 - Re-vendor using ./mach vendor python (which now uses 'uv') r=ahal,mach-reviewers
The dependency resolution in 'poetry' was 'lowest', the default
dependency resolution in 'uv' is 'highest'. This means when we vendor,
we will vendor the newest/highest version possible of all transitive
dependencies that are universally/cross-platform compatible.

We could change from the default of 'highest', but I think this is
better. Various packages have been upgraded, and some have been
removed/replaced by others, and that's why there's various changes in
the <site>.txt files.

Differential Revision: https://phabricator.services.mozilla.com/D222992
2024-10-03 14:47:55 +00:00
ahochheiden
e33652c3e7 Bug 1920152 - Replace 'poetry' with 'uv' for './mach vendor python' r=ahal,mach-reviewers
The vendoring steps are the same. Instead of using 'poetry' to handle
dependency resolution and creating a lock file, we now use 'uv'. That
lock file is then used to create a cross-platform 'requirements.txt'
file by 'uv'.

How the 'requirements.txt' file is consumed by 'pip' to download the
dependencies is unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D222989
2024-10-03 14:47:54 +00:00
Florian Quèze
cc54abdc3b Bug 1922224 - ./mach resource-usage should open in the default browser, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D224307
2024-10-03 11:48:22 +00:00
Julien Cristau
11675fb07a No bug - update vendored copies of the tooltool client. r=releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D223098
2024-10-03 11:45:42 +00:00
ahochheiden
6521de45ff Bug 1919736 - Remove a site's virtualenv_root directory when failing to create the site r=firefox-build-system-reviewers,sergesanspaille
This prevents us from being in an incomplete state that's less
predictable.

Differential Revision: https://phabricator.services.mozilla.com/D223645
2024-10-02 19:59:02 +00:00
ahochheiden
c1079fd32b Bug 1919736 - Handle the case where the site metadata file is missing when determining if the site is up-to-date or not r=firefox-build-system-reviewers,glandium
With this change, if it's missing, the site will be rebuilt, which then
should also generate a valid metadata file.

Differential Revision: https://phabricator.services.mozilla.com/D223394
2024-10-01 18:40:31 +00:00
Jonathan Sudiaman
f833c81272 Bug 1921539 - Sidebar button has no label when moved to the overflow menu r=sidebar-reviewers,fluent-reviewers,Gijs,sclements
Fluent messages were missing `label` attribute. Use the existing one from customizableWidgets.properties.

Differential Revision: https://phabricator.services.mozilla.com/D224167
2024-10-01 14:30:04 +00:00
Alexandre Lissy
b85f9432ca Bug 1921158 - Fix path for geckodriver in mach repackage snap r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D223671
2024-09-26 14:14:40 +00:00
Jan-Erik Rediger
bc843c86d2 Bug 1919245 - Update to Glean v61.1.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,ahal,kaya
Differential Revision: https://phabricator.services.mozilla.com/D223312
2024-09-25 14:05:15 +00:00
Aaditya Dhingra
6190431f91 Bug 1883086 - Adding a Mach Install Command for different Android Apps. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D218892
2024-09-23 18:05:37 +00:00
serge-sans-paille
8e42aaf044 Bug 1915922 - Make help form options with choices more explicit r=glandium
This also matches the behavior for metavar handling.

Differential Revision: https://phabricator.services.mozilla.com/D220730
2024-09-23 13:16:45 +00:00
Mark Banner
66729fccdd Bug 1917833 - Use the number of performance cores when running multiple xpcshell-tests on Mac. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D221848
2024-09-19 16:57:46 +00:00
Joel Maher
7d394be23c Bug 1916928 - Add support for 'opt' in .toml manifest conditions. r=taskgraph-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D221112
2024-09-18 13:50:35 +00:00
andrej
f6a44424fa Bug 1898221 - Add mobile applink startup tests. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D220177
2024-09-18 13:24:41 +00:00
myeongjun
e187818d25 Bug 1826822 - Make tp6 the default for AWSY r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D220147
2024-09-18 12:12:53 +00:00
Julien Cristau
dab34077b9 Bug 1913904 - update evolve during mach vcs-setup --update-only. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D219642
2024-09-17 08:49:35 +00:00
Makoto Kato
48b6ffeaa8 Bug 1917262 - Add python executable to run mach command for multi-locale build. r=nalexander
Windows cannot run `mach` script without python executable name.

Differential Revision: https://phabricator.services.mozilla.com/D221418
2024-09-11 06:19:26 +00:00
Dana Keeler
b3461332f5 Bug 1914064 - extend AppTrustDomain to support multiple trust anchors r=jschanck,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221393
2024-09-10 23:14:13 +00:00
Mike Hommey
50678ddee6 Bug 1916985 - Work around tarfile.StreamError in tooltool. r=releng-reviewers,jcristau
Before bug 1915568, we didn't have symbolic links in the clang artifact.
That was an unexpected side effect, but supporting unpacking toolchain
artifacts with symbolic links has been a longstanding thing I've wanted
to fix, unlocking Linux and Mac cross-compiles on Windows (e.g. sysroot
artifacts contain symbolic links).

The clang situation is a good occasion to finally do it. It's also
somehow desirable to keep clang with symbolic links, as it makes the
toolchain artifact smaller.

When a tarball contains symbolic links, the python tarfile module ends
up trying to seek in the tar, which doesn't quite work when the tar is
a stream (which it is when decompressing at the same time).

We wrap TarFile so as to handle the symbolic link situation ourselves,
and when we can't create symbolic links, we instead create a copy of
the file the link points to.

Differential Revision: https://phabricator.services.mozilla.com/D221282
2024-09-10 22:27:31 +00:00
Tamas Szentpeteri
f58467f14a Backed out changeset e74c8074fe52 (bug 1916985) as requested by Glandium wrong patch was landed. CLOSED TREE 2024-09-11 00:24:08 +03:00
Mike Hommey
5421a602b8 Bug 1917407 - Prevent running mach vendor rust with cargo < 1.81. r=firefox-build-system-reviewers,ahochheiden
And refresh the vendored crates with cargo 1.81.

Differential Revision: https://phabricator.services.mozilla.com/D221555
2024-09-09 23:55:43 +00:00
Mike Hommey
c5eea49be6 Bug 1916985 - Work around tarfile.StreamError in tooltool. r=releng-reviewers,jcristau
Before bug 1915568, we didn't have symbolic links in the clang artifact.
That was an unexpected side effect, but supporting unpacking toolchain
artifacts with symbolic links has been a longstanding thing I've wanted
to fix, unlocking Linux and Mac cross-compiles on Windows (e.g. sysroot
artifacts contain symbolic links).

The clang situation is a good occasion to finally do it. It's also
somehow desirable to keep clang with symbolic links, as it makes the
toolchain artifact smaller.

When a tarball contains symbolic links, the python tarfile module ends
up trying to seek in the tar, which doesn't quite work when the tar is
a stream (which it is when decompressing at the same time).

We wrap TarFile so as to handle the symbolic link situation ourselves,
and when we can't create symbolic links, we instead create a copy of
the file the link points to.

Differential Revision: https://phabricator.services.mozilla.com/D221282
2024-09-09 20:39:21 +00:00
Jan-Erik Rediger
5fe168ff7d Bug 1914130 - Update to Glean v61.0.0 and glean-parser v15 r=TravisLong,mach-reviewers,android-reviewers,mcarare
Still missing:

  cargo update -p glean
  mach vendor rust

These steps should be done once application-services is updated to pull
in a single version of UniFFI.

Differential Revision: https://phabricator.services.mozilla.com/D219729
2024-09-09 15:42:31 +00:00
Daniel Darnell
ce1f4c2017 Bug 1911098 - Use product name for desktop file template. r=releng-reviewers,jcristau
The product name (minus any qualifiers such as "beta", "nightly", "devedition", etc.) is needed for Thunderbird to use a channel-agnostic desktop file template. Currently our deb desktop file is broken because the deb repackage looks for a desktop file template based on the release_product.

I.e. release_product is sometimes thunderbird and sometimes thunderbird-beta/thunderbird-nightly. Because of this, it can't be used to find thunderbird.desktop in the debian templates directory.

Differential Revision: https://phabricator.services.mozilla.com/D219114
2024-09-09 07:39:09 +00:00
Ryan VanderMeulen
6dfc9102a9 Bug 1917252 - Update NDK to r27b. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D221314
2024-09-06 16:20:19 +00:00
Francesco Lodolo (:flod)
d0059173bd Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 15:04:10 +00:00
Cristina Horotan
c6ba4c0134 Backed out changeset 4e2df2c48e4b (bug 1917163) for causing mozlint failure. CLOSED TREE 2024-09-06 16:57:11 +03:00
Francesco Lodolo (:flod)
fd657600c1 Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 12:17:06 +00:00
serge-sans-paille
384a41d933 Bug 1916786 - Modernize python/mozbuild/mozbuild to use exist_ok=True parameter from os.makedirs r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D221070
2024-09-05 05:52:56 +00:00
Mike Hommey
9d4f9a016e Bug 1916304 - Prevent running mach vendor rust with cargo < 1.80. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D220840
2024-09-05 02:06:57 +00:00
Emilio Cobos Álvarez
54385cf32f Bug 1916043 - Don't try to run clangd for artifact builds. r=sergesanspaille
This fixes the bad caller.

Differential Revision: https://phabricator.services.mozilla.com/D220802
2024-09-04 07:23:14 +00:00