Commit Graph

8128 Commits

Author SHA1 Message Date
Mike Hommey
488b1a56d2 Bug 1743651 - Avoid failing to get the download size when a redirect is involved. r=firefox-build-system-reviewers,sergesanspaille
For some reason, in most cases, there is no redirection, but once in a
while, there is, and that breaks the download.

At the same time, make the download messages tell the url that is being
downloaded rather than where it is downloaded to.

Differential Revision: https://phabricator.services.mozilla.com/D162952
2022-11-24 07:23:28 +00:00
ahochheiden
194843dc59 Bug 1801153 - If "pip check" fails, try purging all first-party ".egg-info" dirs then run "pip check" again r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D162807
2022-11-24 05:53:12 +00:00
Mike Hommey
708b07b26e Bug 1802071 - Remove dead code after bug 1801743. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162813
2022-11-24 00:44:55 +00:00
ahochheiden
205ab0b944 Bug 1802177 - Convert "cinnabar_exe" Path object to str so bootstrapping with git can succeed on Python versions older than 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D162900
2022-11-23 22:19:40 +00:00
M. Sirringhaus
c6b7ac16e0 Bug 1800056 - Replace 'dim' in controller/building.py to fix './mach static-analysis check' . r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162274
2022-11-23 17:17:48 +00:00
Tom Ritter
6badb2f981 Bug 1801758: Fix globbing of .git files/directories in moz.yaml exclusions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162756
2022-11-23 15:00:26 +00:00
Arthur Carcano
5a01512e0f Bug 1798283 - Add a subcommand cargo clippy to mach. r=glandium
Depends on D160749

Differential Revision: https://phabricator.services.mozilla.com/D160750
2022-11-22 23:55:13 +00:00
Arthur Carcano
0b504d3991 Bug 1798282 - Add a subcommand cargo audit to mach. r=glandium
Depends on D159838

Differential Revision: https://phabricator.services.mozilla.com/D160749
2022-11-22 23:55:13 +00:00
Mike Hommey
52e594ffe8 Bug 1801727 - Parallelize PBZX compression. r=hneiva
Differential Revision: https://phabricator.services.mozilla.com/D162607
2022-11-22 22:34:24 +00:00
Mike Hommey
e0b8a1c0c2 Bug 1801801 - Allow to bootstrap from another repository than mozilla-unified. r=firefox-build-system-reviewers,nalexander
In the optics of running an end-to-end bootstrap on automation, it can
be useful to allow the standalone bootstrap to start from a repository
that is not mozilla-unified, so that, e.g. changes can be tested on try.

Differential Revision: https://phabricator.services.mozilla.com/D162695
2022-11-22 22:24:48 +00:00
Francesco Lodolo (:flod)
dd34dc2343 Bug 1801915 - Migrate confirmation hints to Fluent, r=eemeli,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D162746
2022-11-22 20:12:55 +00:00
Arthur Carcano
bb9e2b9f8b Bug 1798291 - Use a common CARGO_TARGET_DIR for all crates.
Differential Revision: https://phabricator.services.mozilla.com/D160777
2022-11-22 19:55:44 +00:00
Eemeli Aro
7fa5435add Bug 1760029 - Migrate tabbrowser.properties strings used by OpenInTabsUtils.jsm to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159020
2022-11-22 17:12:23 +00:00
Eemeli Aro
fc6d78c4e0 Bug 1760029 - Migrate tabbrowser.properties strings used by BrowserGlue.jsm to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159019
2022-11-22 17:12:22 +00:00
Eemeli Aro
56c6f8a57f Bug 1760029 - Migrate tabbrowser.properties strings used by tabbrowser-tabs.js to Fluent. r=gregtatum,dao,fluent-reviewers,flod
This removes the `intl:app-locales-changed` event listener that was added in bug 1760825, as it's not longer required.

Depends on D159017

Differential Revision: https://phabricator.services.mozilla.com/D159018
2022-11-22 17:12:22 +00:00
Eemeli Aro
f47cf80bc3 Bug 1760029 - Migrate browser.properties strings used by tabbrowser.js to Fluent. r=dao,fluent-reviewers,flod
The autorefresh blocker strings are added to `browser.ftl` as they aren't really "tab" strings.

Differential Revision: https://phabricator.services.mozilla.com/D159017
2022-11-22 17:12:21 +00:00
Eemeli Aro
d413d67601 Bug 1760029 - Migrate tabbrowser.properties strings used by tabbrowser.js to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159016
2022-11-22 17:12:21 +00:00
Valentin Rigal
e6395a4b2a Bug 1793948 - Softly report mozlint warnings on autoland. r=bastien,linter-reviewers,sylvestre,ahal
Differential Revision: https://phabricator.services.mozilla.com/D158769
2022-11-22 16:23:12 +00:00
Mike Hommey
2bb50e3ee1 Bug 1801726 - Upgrade psutil to 5.9.4. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162606
2022-11-22 09:12:02 +00:00
Mike Hommey
4e9d1c62b6 Bug 1801726 - Upgrade zstandard to 0.19.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162605
2022-11-22 09:12:02 +00:00
Arthur Carcano
0030786063 Bug 1796543 - Add a subcommand cargo udeps to ./mach. r=glandium,firefox-build-system-reviewers
This adds a subcommand ./mach cargo udeps with the following
sub command arguments:

Sub Command Arguments:
  --all-crates          Check all of the crates in the tree.
  crates                The crate name(s) to check.
  --jobs [jobs], -j [jobs]
                        Run the tests in parallel using multiple
processes.
  -v, --verbose         Verbose output.
  --message-format-json
                        Emit error messages as JSON.
  --expect-unused       Do not return an error exit code if udeps
detects unused dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D159838
2022-11-22 06:22:17 +00:00
Mike Hommey
98437139e6 Bug 1801743 - Stop bootstrapping uuid. r=firefox-build-system-reviewers,nalexander
It was not installed consistently across platforms, and I think the only
reason we installed it had been superseded by the `mach uuid` command
(which didn't rely on it), and the `mach uuid` command was removed in
bug 1639509.

Differential Revision: https://phabricator.services.mozilla.com/D162636
2022-11-22 04:36:35 +00:00
Mike Hommey
2094c5ed88 Bug 1801742 - Stop bootstrapping zip. r=firefox-build-system-reviewers,nalexander
It has not been required since bug 1717683

Differential Revision: https://phabricator.services.mozilla.com/D162635
2022-11-22 04:36:17 +00:00
Noemi Erli
76383f548e Backed out 2 changesets (bug 1801726) as requested by glandium CLOSED TREE
Backed out changeset 5af80708af6a (bug 1801726)
Backed out changeset c74ad6c6196a (bug 1801726)
2022-11-22 04:55:41 +02:00
Mike Hommey
09c70fcc1a Bug 1801740 - Don't set a target in android artifact bootstrap mozconfig. r=firefox-build-system-reviewers,ahochheiden
It used to be necessary to set the target for android builds, but that
hasn't been the case since bug 1523341. In fact, that bug removed the
--target for non-artifact android builds, but somehow left this one
alone.

Differential Revision: https://phabricator.services.mozilla.com/D162634
2022-11-22 02:09:27 +00:00
Mike Hommey
f5b95abfc2 Bug 1801738 - Use --enable-project instead of --enable-application. r=firefox-build-system-reviewers,geckoview-reviewers,calu,ahochheiden
--enable-application is the historic flag, and --enable-project was
added to handle the non-application things we build, while encompassing
the meaning of --enable-application. --enable-project has been preferred
for a while and we should reflect that more consistently in mozconfigs,
documentation, etc.

Differential Revision: https://phabricator.services.mozilla.com/D162625
2022-11-22 02:09:26 +00:00
Mike Hommey
a152fc0b61 Bug 1801726 - Upgrade zstandard to 0.19.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162605
2022-11-22 02:03:59 +00:00
Mike Hommey
4a05f3fcdd Bug 1801739 - Don't require mercurial when bootstrapping with git, part 2. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162626
2022-11-22 01:35:34 +00:00
Mike Hommey
e6405f5dbd Bug 1801728 - Remove bootstrap message about git-cinnabar failure to install. r=firefox-build-system-reviewers,nalexander
At the time the message is printed, installing git-cinnabar hasn't even
been tried (it happens in the in-tree bootstrap, not the sandalone
bootstrap, which this is) ; we have installed a temporary copy of
git-cinnabar, which may fail, but if it does, we'd throw an exception
before reaching this message anyways.

Differential Revision: https://phabricator.services.mozilla.com/D162611
2022-11-22 01:32:17 +00:00
Heitor Neiva
abded1577d Bug 1798589 - Mac repackaging on linux r=glandium,releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D161712
2022-11-21 21:25:46 +00:00
Tom Ritter
8e1c983ccd Bug 1800927: Fix the Updatebot linter and offending moz.yaml files r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162223
2022-11-21 19:35:16 +00:00
Tom Ritter
11ed4ba92d Bug 1800715: Add the ability to put notes in a moz.yaml r=andi
Differential Revision: https://phabricator.services.mozilla.com/D162130
2022-11-21 15:27:49 +00:00
Norisz Fay
4b9873e3ca Backed out changeset 9a33551de4cc (bug 1798589) for causing python failures CLOSED TREE 2022-11-19 01:38:43 +02:00
Heitor Neiva
90792dfcb0 Bug 1798589 - Mac repackaging on linux r=glandium,releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D161712
2022-11-18 23:09:30 +00:00
Norisz Fay
1e5e606512 Backed out changeset 40534e8e5252 (bug 1798589) for causing python failures 2022-11-18 21:54:48 +02:00
Heitor Neiva
fc89d904b4 Bug 1798589 - Mac repackaging on linux r=glandium,releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D161712
2022-11-18 19:13:53 +00:00
andrej
445c45dd63 Bug 1796780 - Add missed check to expired API key. r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D162404
2022-11-18 16:25:07 +00:00
Chris H-C
fc358ad992 Bug 1799442 - Update Glean to v51.8.2, rkv to 0.18 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162345
2022-11-18 13:56:27 +00:00
Marian-Vasile Laza
023eed4276 Backed out changeset 75acc8e81d81 (bug 1799442) for causing WR tidy bustage. CLOSED TREE 2022-11-18 14:23:58 +02:00
Chris H-C
7655a12f65 Bug 1799442 - Update Glean to v51.8.2, rkv to 0.18 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162345
2022-11-18 10:15:40 +00:00
Itiel
1367cf8302 Bug 1577257 - Share logic behind panel headers across the UI r=willdurand,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D160972
2022-11-17 21:34:34 +00:00
Francesco Lodolo (:flod)
3c01cd430a Bug 1800902 - Remove comm-central from cross-channel generation, r=eemeli DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162201
2022-11-17 12:11:40 +00:00
Nick Alexander
3d1bbcf060 Bug 1666491 - Consume .xpt artifacts during artifact builds. r=firefox-build-system-reviewers,glandium
For the specific case of `.xpt` artifacts, we could place them
directly into `$topobjdir/config/makefiles/xpidl`, but I'm wary of
modifying the object directory in this manner.  I'd like the initial
round of tooling building on this capability to look in
`dist/xpt_artifacts` for artifact builds and be able to give detailed
feedback in error situations.  We can revisit the placement of
artifacts in the future as more use cases and shortcomings are
identified.

In the future, this mechanism might be used to include Java code
generated at build-time that exposes IDL constants to GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D161641
2022-11-17 10:57:40 +00:00
Nick Alexander
861d6e9ef6 Bug 1666491 - Pre: Make BufferedReader(JarFileReader) work. r=firefox-build-system-reviewers,glandium
On macOS, this allows the `ResignJarWriter` to handle ZIP (JAR) files
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D162071
2022-11-17 10:57:39 +00:00
Nick Alexander
2ad8d1f3cb Bug 1666491 - Pre: Delete failed (likely partially) processed artifacts. r=firefox-build-system-reviewers,glandium
It's possible that the processed file has not been created.

Differential Revision: https://phabricator.services.mozilla.com/D162073
2022-11-17 10:57:39 +00:00
ahochheiden
d3ef456d8f Bug 1800056 - Make mozlog and mozterm fully compatible with blessed r=firefox-build-system-reviewers,glandium
- `mozlog` version bump to `7.1.1`
- Changed `mozlog` dependency on `blessings` to `blessed`
- Some sugar lookups in `blessed` (Like `normal`) don't behave the same as the rest, so our code needed to change to handle the case when the lookup didn't return a callable.
- The tests in `test_widgets.py` and `test_terminal.py` were never actually being run (it was skipping because when importing `Blessings` it failed to import `_curses`). Given that, a portion of `test_terminal() never actually worked, and it wasn't known because the test didn't run (I didn't just delete half the test case because it didn't work, I deleted it because it can never work =P).
- I added a `test_terminal_colors.py` just to ensure that there's some coverage there, since `dim` and `normal` were failing (but CI was happy).

Differential Revision: https://phabricator.services.mozilla.com/D161858
2022-11-16 22:33:19 +00:00
Chris H-C
6f4c8a8306 Bug 1800741 - Update Glean to v51.8.1 r=perry.mcmanis,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162150
2022-11-16 14:18:48 +00:00
ahochheiden
9b7eee2c37 Bug 1800225 - Only realpath the prefix when resolving the sysconfig packages path r=firefox-build-system-reviewers,glandium
On POSIX platforms there can be `lib` and `lib64` for `site-packages`.
On Fedora35 once a virtualenv is created, `lib64` is a symlink of `lib`.
Since we can determine what these paths will be before the virtualenv is
created, `realpath` has different results before/after, which is
problematic for our `pthfile`.

Since we only care about resolving the symlink in the prefix (to keep it
in line with the `topobjdir`, we can simply only `realpath` that and
disregard that there's a symlink between `lib` and `lib64`, which makes
our `pthfile` that's created and expected always the same on all
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D162136
2022-11-16 03:26:58 +00:00
Marian-Vasile Laza
2744551e86 Backed out changeset 4e7cb3268e86 (bug 1798291) for causing python failures on test_recursivemake.py. CLOSED TREE 2022-11-16 02:54:47 +02:00
Arthur Carcano
c3c645351f Bug 1798291 - Use a common CARGO_TARGET_DIR for all crates. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D160777
2022-11-16 00:33:08 +00:00