Commit Graph

130 Commits

Author SHA1 Message Date
Sylvestre Ledru
de16c6cdac Bug 1964702 - doc: replace paste.m.o by gist.github.com r=glob,tgiles DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D250438
2025-05-21 17:32:14 +00:00
Nathan Mentze
47f94e8818 Bug 1965859 - Append O flag to curl command in linux_build.rst r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D248938
2025-05-13 01:47:12 +00:00
Nathan Mentze
ea543ca683 Bug 1964217 - Remove unnecessary Python version reference in linux_build.rst r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D247692
2025-05-06 22:12:00 +00:00
pollymce
50d545133b Bug 1951127 - Add links to mobile firefox setup pages r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D247446
2025-05-06 18:56:33 +00:00
David Shin
3974c474be Bug 1963848: Remove link to hg.mozilla.org in example mozconfig file. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D247455
2025-05-05 05:44:28 +00:00
David Shin
897ee969b1 Bug 1963848: Remove reference to hg in MacOS/Windows build bootstrapping. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D247454
2025-05-05 05:44:25 +00:00
Mike Hommey
49204b4918 Bug 1963756 - Change the path where the repo is bootstrapped by default with git. r=glob,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D247416
2025-05-01 21:17:49 +00:00
Sebastian Hengst
09529029bf Revert "Bug 1963756 - Change the path where the repo is bootstrapped by default with git. r=glob,sylvestre" on requested from glandium
This reverts commit 50ef357b73.
2025-05-01 20:45:47 +00:00
Mike Hommey
50ef357b73 Bug 1963756 - Change the path where the repo is bootstrapped by default with git. r=glob,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D247416
2025-05-01 19:57:51 +00:00
Mike Hommey
d696c8ad11 Bug 1963756 - Add support for plain git bootstrap, and make it the default. r=firefox-build-system-reviewers,sylvestre,taskgraph-reviewers,ahochheiden,bhearsum
While here we also remove the unused watchman argument.

Differential Revision: https://phabricator.services.mozilla.com/D247415
2025-05-01 19:57:48 +00:00
Sylvestre Ledru
07abc3ac8a Bug 1962537 - docs: remove more hg docs
Differential Revision: https://phabricator.services.mozilla.com/D246772
2025-04-29 22:27:27 +00:00
Sylvestre Ledru
96d082f80e Bug 1962537 - docs: remove more hg docs
Differential Revision: https://phabricator.services.mozilla.com/D246998
2025-04-29 22:26:42 +00:00
Simon Friedberger
ec8d39a0ff Bug 1958840. Add -L to curl commands in docs to allow redirects r=glob,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D244587
2025-04-10 07:53:51 +00:00
Mike Kaply
623f628776 Bug 1902338 - Add docs for building Firefox on Windows with WSL. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D213604
2025-01-10 15:37:33 +00:00
Nicolas Silva
e381e9f3eb Bug 1933987 - Add some doc about toolkit/moz.configure. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D230529
2024-12-11 21:30:19 +00:00
Erich Gubler
3daf157f7a Bug 1933474 - docs: use trailing comma in conditional optimization example' list r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D230272
2024-11-26 15:17:56 +00:00
Erich Gubler
f005a78f4a Bug 1933474 - docs: fix conditional optimization example r=padenot
Using the current example on latest `mozilla-unified` yields this error
when used in a `mach build`:

```
TypeError: startswith first arg must be str or a tuple of str, not list
```

Implement the diagnostic's advice: swap the list for a tuple.

Differential Revision: https://phabricator.services.mozilla.com/D230271
2024-11-26 15:17:56 +00:00
ahochheiden
331e96bce7 Bug 1930880 - Update the Linux Build docs to correctly state Python 3.8 as the minimum Python version to build r=firefox-build-system-reviewers,sylvestre,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D228888
2024-11-13 20:14:23 +00:00
Alex Jakobi
cbab66d88c Bug 1928016 - Add information to provide compatible Python version using virtual environments r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D227323
2024-11-05 16:41:42 +00:00
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