Commit Graph

111 Commits

Author SHA1 Message Date
Paul Adenot
4ac9ea1055 Bug 1919737 - Document the moz.build hook. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D222810
2024-10-03 10:00:33 +00:00
Tim Giles
4c8de92255 Bug 1921556 - Add Git vcs args snippet to sections that use bootstrap.py r=sylvestre DONTBUILD
This will clarify when to use the `--vcs=git` argument during the setup
process to prevent people from accidentally setting up their repository
for Mercurial.

Differential Revision: https://phabricator.services.mozilla.com/D224259
2024-10-02 14:56:16 +00:00
Tara
207311d92f Bug 1894927 - Modify Windows installation documentation for Android. r=geckoview-reviewers,zmckenney,gmalekpour
Differential Revision: https://phabricator.services.mozilla.com/D216428
2024-07-16 20:09:47 +00:00
Sylvestre Ledru
0fa553a58f no bug - doc: adjust the wording now that we are close to 2M DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D216152
2024-07-10 14:22:45 +00:00
Tim Giles
38eec1c10e Bug 1843638 - Explain when to use ./mach clobber in build docs r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D214889
2024-06-27 17:02:47 +00:00
Haik Aftandilian
d78a36ce3b No bug: Add some more information about signing to the Mac build instructions r=mac-reviewers,bradwerth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D210104
2024-05-22 03:19:48 +00:00
Simon Friedberger
585ba83600 No bug: Add link to signing to Mac package building docs
Differential Revision: https://phabricator.services.mozilla.com/D209664
2024-05-08 13:38:31 +00:00
Tim Giles
5c7e670ea5 Bug 1843629 - Explain some non-fatal errors in the OS build docs. r=sylvestre DONTBUILD
These are some of the errors that some Outreachy applicants were
experiencing. Figured having some additional documentation explaining
that not all errors and warnings are fatal might help unblock new
contributors in the future.

Differential Revision: https://phabricator.services.mozilla.com/D208804
2024-05-03 11:28:15 +00:00
Tim Giles
f70b529209 Bug 1843613 - Add section about messaging etiquette. r=sylvestre DONTBUILD
Adds a small list of helpful items for contributors as they get started
working on Firefox, specifically about messaging and expectations.
This will hopefully add some clarity and reduce frustration from these
contributors.

Differential Revision: https://phabricator.services.mozilla.com/D205885
2024-04-01 14:46:50 +00:00
Greg Tatum
7314a5f698 Bug 1875317 - Document ac_add_options --as-milestone; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D198966
2024-02-20 18:34:02 +00:00
Carlos Duarte Do Nascimento
7534bdc7dc Bug 1867857 - Add instructions to source documentation for testing in other Macs by packaging. r=sylvestre DONTBUILD
When I had to test a change in another macOS version, I naively copied the `Nightly.app` to another computer, just to find out it silently fails (because of symlinked libraries) and it took a while (and external help) to figure that out.

This change instructs developers to package and use the `.dmg` instead when they want to do that, sparing the frustration and incentivizing testing in different systems.

Differential Revision: https://phabricator.services.mozilla.com/D195319
2023-12-06 08:54:49 +00:00
Sylvestre Ledru
e85bdbf766 Bug 1866741 - remove the duplicate Note: info in the note section
Differential Revision: https://phabricator.services.mozilla.com/D194731
2023-11-27 16:59:50 +00:00
Sylvestre Ledru
5603fecbe2 Bug 1863497 - sccache: update the doc r=glandium
Depends on D192932

Differential Revision: https://phabricator.services.mozilla.com/D193704
2023-11-27 16:59:49 +00:00
ahochheiden
dff09f328b Bug 1865693 - Add recommendation for setting up a Dev Drive on Windows 11 and building Firefox on that instead r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D194122
2023-11-22 05:56:53 +00:00
Butkovits Atila
5fbb2e88c2 Backed out 3 changesets (bug 1863497) for causing bustages. CLOSED TREE
Backed out changeset ce9934edcec1 (bug 1863497)
Backed out changeset c959dafcf46f (bug 1863497)
Backed out changeset 1caa79ee637e (bug 1863497)
2023-11-16 15:46:36 +02:00
Sylvestre Ledru
0c7c3b4598 Bug 1863497 - sccache: update the doc r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D193704
2023-11-16 09:14:59 +00:00
Robert Longson
51c6c3e91e Bug 1861854 - remove outdated links r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192483
2023-11-07 07:15:46 +00:00
Tim Giles
11bbefd3c3 Bug 1843636 - Update docs to explain the output of ./mach build and ./mach run. r=sylvestre DONTBUILD
This patch updates the quick reference doc as well as the detailed
build docs for each operating system. These updates should help new
contributors understand what is happening when initially setting up
their Firefox development environment.

There is also a new  "Build errors" section in each detailed build doc
to enable new contributors to get the help they need in debugging build
issues. The quick reference doc points out these new sections in the
"To build & run" heading.

Additionally this patch adds some more context to the OS specific build
doc links in the quick start reference doc.

Differential Revision: https://phabricator.services.mozilla.com/D192007
2023-11-06 23:10:34 +00:00
ChaseKnowlden
96b153b6e6 Bug 1858889 - [Linux] Remove dbus-glib from docs and CI. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D192088
2023-10-31 18:34:17 +00:00
Sylvestre Ledru
3608dc8457 Bug 1860157 - Fix typos found by codespell 2.2.6 r=webdriver-reviewers,zeid,search-reviewers,perftest-reviewers,devtools-reviewers,releng-reviewers,gbrown,sparky,jteow
Differential Revision: https://phabricator.services.mozilla.com/D191480
2023-10-19 20:52:10 +00:00
Robert Longson
54a9a4992e Bug 1859193 - replace link that's been taken over by its new location r=sylvestre,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D191041
2023-10-16 07:13:04 +00:00
Connor Sheehan
f8bbe906d1 Bug 1855069: Remove note about specific required Mercurial version from macOS build docs r=ahochheiden DONTBUILD
Bug 1786419 added a note about using a specific version of Mercurial on macOS due to a
bug in upstream Mercurial and fsmonitor. Since then the bug has been fixed and users should
update their Mercurial to the latest. We should remove the note about using a specific older
Mercurial version from the docs.

Differential Revision: https://phabricator.services.mozilla.com/D189169
2023-09-26 18:41:06 +00:00
Sylvestre Ledru
79377fb910 no bug - doc: also promote git as a repo r=glob DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D188393
2023-09-18 07:54:20 +00:00
Mike Hommey
49a3212c73 Bug 1849273 - Remove the explicit --enable-crashreporter in mozconfig.common. r=firefox-build-system-reviewers,ahochheiden
It has been enabled by default on the relevant platforms essentially
forever, so it doesn't need to be explicitly enabled.

As such, since --enable-crashreporter is not really a useful thing to
point at to wrt build options, we remove its mention from the
configuring build options doc.

Differential Revision: https://phabricator.services.mozilla.com/D186513
2023-08-23 19:07:08 +00:00
Kagami Sascha Rosylight
6f1cb131ca Bug 1844802 - Restore links to GeckoView Contributor Guide r=firefox-source-docs-reviewers,sylvestre,geckoview-reviewers,m_kato DONTBUILD
D150200 broke this when changing the title and missed it, probably because breaking links only emits warnings instead of errors.

Differential Revision: https://phabricator.services.mozilla.com/D184245
2023-07-24 12:28:49 +00:00
Ray Kraesig
7827219666 Bug 1842918 - normalize away spaces in $(PYTHON3) r=firefox-build-system-reviewers,glandium
As of bug 1838763, Python virtualenvs are now located in a subdirectory
of `$MOZBUILD_STATE_PATH`. This, in turn, defaults to a subdirectory of
the home directory, which on Windows often contains spaces.

The Windows build instructions were updated to add a requirement that
`MOZBUILD_STATE_PATH` not contain spaces, under the assumption that this
was merely a clarification of an existing restriction; but this is
indeed a new requirement and breaks existing setups.

Instead, allow makefiles to safely invoke `$(PYTHON3)` without quoting
it everywhere (as they do) by ensuring that its value contains no
spaces, by using the DOS-style (8.3) short path to the Python
executable.

Additionally, clarify in the documentation exactly which paths are
required not to contain spaces.

Differential Revision: https://phabricator.services.mozilla.com/D183305
2023-07-13 13:29:57 +00:00
ahochheiden
ac0c8508cb Bug 1838763 - Move the location of site/command virtualenvs out of the objdir and into the state dir r=firefox-build-system-reviewers,glandium
This is necessary for activating the site/command virtualenvs earlier,
since we can't determine what the objdir will be very early on in the
mach process intialization. We do know where the state dir is, and how
to get to the state dir for a specific topsrcdir, so we can use that
instead. This is already where the `mach` virtualenv lives anyway.

Differential Revision: https://phabricator.services.mozilla.com/D181029
2023-06-27 07:05:20 +00:00
Sylvestre Ledru
4c8b4917bb no bug - remove some specific point of contact r=overholt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178090
2023-05-15 21:10:32 +00:00
Mike Hommey
71356cf3f3 Bug 1829011 - Remove section about installing Visual Studio. r=sylvestre DONTBUILD
This is now taken care of by `mach bootstrap`/auto-bootstrap.

Differential Revision: https://phabricator.services.mozilla.com/D175957
2023-04-21 07:03:59 +00:00
Mike Hommey
acec5e871c Bug 1829011 - Remove obsolete parts of the documentation to build Firefox on Windows. r=sylvestre DONTBUILD
Both removed sections are about issues with link.exe, which we haven't
been using ever since we switched to building with clang-cl/lld-link.

Differential Revision: https://phabricator.services.mozilla.com/D175956
2023-04-20 09:54:48 +00:00
ahochheiden
ade3bec4ff Bug 1825755 - Only create the mozharness venv using --without-pip on Windows r=firefox-build-system-reviewers,glandium
- On Debian/Ubuntu, the base distribution of Python does not come with `ensurepip` (which is still called during `venv` creation). The benefit of not calling `ensurepip` explicitly in a separate command (like we now do for Windows) is that the error message you get when creating the `venv` is very clear and instructs the user to run `apt install python3.x-venv` to fix the problem. (`python3.x-venv` is what contains `ensurepip`). If we did not do this, it would just tell the user that there is `no ensurepip module` and it would hard to figure out that the solution is to run `apt install python3.x-venv`. This isn't an issue for us in CI, but it can be for end users, since that package may not be installed, and some commands (like talos tests) go through mozharness and invoke this code.

- Also removed some Python dependencies in the Linux build docs that are no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D174525
2023-04-11 18:49:03 +00:00
Sylvestre Ledru
891554fc18 no bug - contrib doc: update a bit the content r=firefox-source-docs-reviewers,marco DONTBUILD
Depends on D173639

Differential Revision: https://phabricator.services.mozilla.com/D173640
2023-04-01 13:27:26 +00:00
Mark Striemer
ebca6dd58b Bug 1820237 - Mention the start-shell.bat script in code block r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D171600
2023-03-30 21:24:12 +00:00
Sylvestre Ledru
59c50caf0e no bug - doc: fix a typo DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D173639
2023-03-25 21:50:33 +00:00
Mike Hommey
eeeb139f83 Bug 1721477 - Fix documentation suggestion for PATH augmentation. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D168534
2023-02-01 16:37:03 +00:00
Mike Hommey
9e2b7a7c8b Bug 1522986 - Allow to auto-bootstrap the macos SDK. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D167772
2023-02-01 09:45:11 +00:00
Ryan VanderMeulen
f58e3cfaae Bug 1809725 - doc: Instruct users to update to central before trying to build mozilla-unified. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D166590
2023-01-11 21:38:41 +00:00
Sylvestre Ledru
a9135f5411 Bug 1806714 - doc: add python3-pip in the list of packages for fedora DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165551
2022-12-27 15:46:25 +00:00
Mike Hommey
432b8b8f24 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
Sylvestre Ledru
b326cc5375 Bug 1787656 - build doc: remove the necessary step about rm bootstrap.py r=firefox-build-system-reviewers,nalexander DONTBUILD
As it is proposed by the tooling

Differential Revision: https://phabricator.services.mozilla.com/D162544
2022-11-21 17:36:18 +00:00
Jonathan Watt
b61f7e0db6 Bug 1798159 - Fix broken links to MozillaBuild in the Windows documentation. r=sylvestre,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160717
2022-10-29 19:49:14 +00:00
Mike Hommey
5036ffbd3a Bug 1793550 - Make the homebrew python 3.10 problem immediately visible. r=firefox-build-system-reviewers,andi
The problem only happens with homebrew (python.org's build doesn't have
the problem). Many people are hitting it, and we might as well avoid
them the trouble to have to find the documentation and just fail
directly.

Differential Revision: https://phabricator.services.mozilla.com/D158546
2022-10-04 06:50:17 +00:00
Marian-Vasile Laza
67ea441dda Bug 1785311 - lint fix r=fix CLOSED TREE 2022-08-23 03:15:08 +03:00
Chris Martin
eecbfcf4dc Bug 1786419 - Fix macOS X build doc to workaround bad versions of tools r=ahochheiden DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D155291
2022-08-22 22:53:07 +00:00
Mathew Hodson
1215a4894e Bug 1782855 - Add MSVC to required list for Windows build docs. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D153545
2022-08-03 09:43:32 +00:00
ahochheiden
7c95c9135c Bug 1276019 - Additional doc changes to include a definition for UAC and replaced a static url link with a :ref: link r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D149461
2022-06-20 10:03:03 +00:00
ahochheiden
e58f9f3f59 Bug 1276019 - Add Microsoft Defender Antivirus exclusions automatically during source bootstrap r=glob
I also added `%USERPROFILE%/.mozbuild` to the exclusion list and updated the windows_build docs to reflect the changes made.

Differential Revision: https://phabricator.services.mozilla.com/D149199
2022-06-15 01:37:11 +00:00
Stephen A Pohl
5d9b2bc146 Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-13 17:44:51 +00:00
criss
dfb20805b3 Backed out changeset e186162443a6 (bug 1696513) for causing bustages. CLOSED TREE 2022-06-11 05:31:53 +03:00
Stephen A Pohl
12fee3db3b Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-11 01:05:31 +00:00