Граф коммитов

46 Коммитов

Автор SHA1 Сообщение Дата
surajeet310 6ea83c8ef9 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117419
2021-06-10 19:33:53 +00:00
Sylvestre Ledru abaad00ab4 Bug 1714434 - Doc/contribution: Rename the file about Mozilla contributions r=gsvelto DONTBUILD
and set up a redirect

Differential Revision: https://phabricator.services.mozilla.com/D116820
2021-06-06 14:36:52 +00:00
Pier-Luc Thériault 4a86f78a7f Bug 1711824 - Removing documentation on MOZ_BUILD_PROJECTS because it is obsolete r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D115440
2021-05-19 14:17:25 +00:00
byron jones 1a494b6f2b Bug 1704426 - Document supported build hosts. r=glob
Define "build host" support tiers, and their relationship
to existing "target" tiers.

Differential Revision: https://phabricator.services.mozilla.com/D111578
2021-05-18 14:57:50 +00:00
Gijs Kruitbosch dab991dda3 Bug 1702526 - suggest people use wget instead of curl for downloading the bootstrap script on Windows DONTBUILD r=glob
Differential Revision: https://phabricator.services.mozilla.com/D110568
2021-04-01 17:23:05 +00:00
Jan Odvarko f62cae8410 Bug 1658876 - [devtools] Avoid including its own cloning and build instructions in docs. r=nchevobbe
Removing DevTools specific build instructions in favor of https://firefox-source-docs.mozilla.org/setup/index.html

Differential Revision: https://phabricator.services.mozilla.com/D108182
2021-03-15 11:41:14 +00:00
Nikita Sen 692373c939 Bug 1696813 - Path of mach changed from mozilla-unified to project repository, i.e. mozilla-central. r=gsvelto DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D107887
2021-03-11 13:36:35 +00:00
Mitchell Hentges 63b2da5135 Bug 1696225: Remove "Processor" requirement in Mac quick-start r=firefox-build-system-reviewers,glandium
The linked ARM wiki docs are obsolete, and will soon be unnecessary.
Additionally, the "processor" requirement is entirely redundant since we
support all processors compatible with macOS 10.12 or later.

Differential Revision: https://phabricator.services.mozilla.com/D107098
2021-03-09 16:27:03 +00:00
Mitchell Hentges e44df456bd Bug 1687980: Remove obsolete Fedora 19/20 32bit setup docs r=sylvestre
Fedora 19 and 20 were released in 2013. If these docs haven't been
adjusted for modern Fedora, they're probably out-of-date.

Differential Revision: https://phabricator.services.mozilla.com/D104733
2021-02-16 17:48:12 +00:00
Mitchell Hentges 8ce816f512 Bug 1687980: Simplify "Getting Set Up" page r=mhoye,firefox-build-system-reviewers,glandium,sylvestre,andi
When a user is at the top-level "Getting Set Up" page, they should be
shown which path to take (Windows/Mac/Linux) without redundantly showing
the platform-specific technicalities.

Differential Revision: https://phabricator.services.mozilla.com/D104099
2021-02-16 17:48:12 +00:00
Mitchell Hentges 35a65cf626 Bug 1687980: Make Linux quickstart docs more concise r=mhoye,sylvestre
* Removes duplicated information
* Removes unnecessary extra details (e.g.: how pyenv works - that's
  documented in pyenv docs)
* Recommends the standalone bootstrap script
* Removes unnecessary mozconfig instructions
* Removes unnecessary per-distro information

Differential Revision: https://phabricator.services.mozilla.com/D102975
2021-02-16 17:48:12 +00:00
Mitchell Hentges 08b3a902ec Bug 1687980: Make Windows quickstart docs more concise r=mhoye,sylvestre,andi
* Puts the docs in order, so that contributors aren't jumping to the
  middle of the page to install system tools, then back to the top to
  clone Firefox.
* Removes docs on MacPorts since it's being removed in bug 1688263.
* Removes step to manually install brew packages since that happens
   automatically in bootstrap now.
* Simplifies mercurial installation docs
* Removes unnecessary mozconfig-tweaking instructions
* Removes almost-always-unnecessary DEFINE and troubleshooting
  information.

Differential Revision: https://phabricator.services.mozilla.com/D102974
2021-02-16 17:48:11 +00:00
Mitchell Hentges a3eb85e571 Bug 1687980: Make macOS quickstart docs more concise r=sylvestre,mhoye
* Puts the docs in order, so that contributors aren't jumping to the
  middle of the page to install system tools, then back to the top to
  clone Firefox.
* Removes docs on MacPorts since it's being removed in bug 1688263.
* Removes step to manually install brew packages since that happens
   automatically in bootstrap now.
* Simplifies mercurial installation docs
* Removes unnecessary mozconfig-tweaking instructions
* Removes almost-always-unnecessary DEFINE and troubleshooting
  information.

Differential Revision: https://phabricator.services.mozilla.com/D102973
2021-02-16 17:48:11 +00:00
Sylvestre Ledru c9c024db93 Bug 1690785 - Update of the contribution doc wrt check-in needed r=jwalker,aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104057
2021-02-04 21:52:38 +00:00
Daniel Le 7f474f9d91 Bug 1684672 - Update mentions of macOS SDK v10.11 to v10.12. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100591
2021-01-21 12:47:01 +00:00
Ricky Stewart 12f9eca861 Bug 1675875 - Document `--enable-release` and `RUSTC_OPT_LEVEL` r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96858
2020-11-16 16:47:46 +00:00
Emilio Cobos Álvarez 4bfa353566 Bug 1676307 - Provide concrete instructions to enable sccache. r=sylvestre
And also, don't output that message if already using sccache.

Differential Revision: https://phabricator.services.mozilla.com/D96497
2020-11-10 17:58:30 +00:00
Zac Svoboda 071fcb1c66 no bug - Update IRC reference to Matrix r=sylvestre,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96334
2020-11-09 14:12:13 +00:00
Stephen A Pohl 19bd39d8da Bug 1668941: Update build and debugging documentation for macOS. r=haik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92293
2020-10-13 17:58:50 +00:00
Dhairya Bahl 1a64cbb050 Bug 1669921 - Fixed a typo in windows_build.rst r=championshuttler,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92896
2020-10-08 11:54:45 +00:00
Ricky Stewart e6fd6a6aa7 Bug 1667436 - Merge content of `docs/setup/mach.rst` into existing documentation r=firefox-build-system-reviewers,mhentges DONTBUILD
This document was imported from MDN and contained very outdated/incorrect information, and much of the information here is duplicated from the existing `mach` documentation. For the little content that isn't already expressed in the existing documentation in a better way, merge it into `python/mach/docs`.

The unique content is mainly in the FAQ, so I added a new page for that.

Differential Revision: https://phabricator.services.mozilla.com/D91455
2020-10-05 16:51:41 +00:00
Sylvestre Ledru 31b3856da6 Bug 1667831 - doc: fix more pygments r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91868
2020-09-30 07:03:41 +00:00
Sylvestre Ledru 3c813005a1 Bug 1667831 - doc: fix more warnings r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91642
2020-09-29 18:48:17 +00:00
Sylvestre Ledru 6be67c14c4 Bug 1667831 - doc: refresh links as many pages moved in-tree r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91619
2020-09-29 17:53:54 +00:00
Sylvestre Ledru 264cb8dba5 no bug - fx doc - Fix some rst warnings
Depends on D90832

Differential Revision: https://phabricator.services.mozilla.com/D90864
2020-09-22 06:26:42 +00:00
Sylvestre Ledru 102a0968b1 Bug 1665854 - fx doc: Various improvements + configuration + fixes in the doc r=firefox-build-system-reviewers,rstewart
Depends on D90831

Differential Revision: https://phabricator.services.mozilla.com/D90832
2020-09-22 06:26:17 +00:00
Sylvestre Ledru 768d4782c8 Bug 1665854 - fx doc: Update the contributions docs from MDN r=firefox-build-system-reviewers,rstewart
Depends on D90664

Differential Revision: https://phabricator.services.mozilla.com/D90665
2020-09-21 19:31:16 +00:00
Sylvestre Ledru c89bc81827 Bug 1665854 - Import more contributions docs from MDN r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D90664
2020-09-21 17:57:22 +00:00
Sylvestre Ledru dba81844c2 Bug 1666244 - Update of the wording + url at the end of the build r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D90855
2020-09-21 13:43:52 +00:00
Ricky Stewart 72d793d728 Bug 1664581 - Specifically recommend installing version control systems in documentation r=nalexander
This is a requirement anyway, and the bootstrap script will yell at you if it can't find `hg` (or `git`, if it's necessary), but we can be more specific about this requirement here so people don't waste any more time than necessary.

Differential Revision: https://phabricator.services.mozilla.com/D90172
2020-09-14 21:30:21 +00:00
Ricky Stewart e559d0c65b Bug 1663959 - Remove references to `autoconf` from build documentation r=dmajor
As of bug 1663863, we vendor this in-tree, so installing/configuring it is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D89614
2020-09-09 15:44:50 +00:00
Ricky Stewart f339ca9f42 Bug 1660831 - Reference the standalone `bootstrap.py` script in `windows_build.rst` and prefer `mozilla-unified` to `mozilla-central` where relevant r=mhentges,froydnj
Today the docs tell you to directly clone `mozilla-central`, which is a weird departure from what we do in the other per-platform documents for no real reason. Instead, reference the standalone `bootstrap.py` script as we do for Linux and macOS.

Also, do a little scan and replace references to `mozilla-central` with `mozilla-unified` where appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D88051
2020-08-31 17:51:14 +00:00
Sylvestre Ledru 5ea6c250c3 Bug 1657926 - firefox doc: fix some warnings r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D86732
2020-08-11 23:20:25 +00:00
Mitchell Hentges 710be25312 Bug 1655361: Prints a warning if Windows Defender is watching the Firefox checkout directory r=firefox-build-system-reviewers,rstewart
There's a Windows Defender CLI (`Get-MpComputerStatus`) available, but MozillaBuild
can't (easily) access PowerShell. So, instead, we find Windows Defender status and path exclusions
by checking the registry at HKLM\SOFTWARE\Microsoft\Windows Defender.

Determining if Windows Defender is "on" or not is a surprisingly vague task.
Not only does it encompass a lot of components (of which Ricky and I believe "Real-time protection"
is the part slowing down the build), but there's (at least?) two different kinds of "disabled"
states that it can be in:
* If "disabled" via Settings, it will turn itself back on after a reboot
* If an antivirus is installed, it will turn itself off permanently

Unfortunately, disabling "Real-time protection" in Settings doesn't affect any registry keys, but
I'm opting to ignore this because I doubt many users are manually disabling this protection before
each build. The repercussion of this is that users may be incorrectly warned "your Firefox
directory isn't excluded from Windows Defender!".

Focusing on the antivirus use case and querying the registry I found that:
* Querying the `IsServiceRunning` value wasn't sufficient because new Windows installations didn't have that key
* Querying the `DisableRealtimeMonitoring` value was inconsistent - it can be missing, and not always because an antivirus removed it
* Querying the `DisableAntiVirus` value doesn't _sound_ accurate (we care about Real-time Protection), but it's consistently "off" for non-AV machines, and "on" for machines with an AV installed. So, this is our winner!

TL;DR: there may be some "false positive" warnings about excluding the Firefox srcdir, but they're
accurate for my test cases and workaround-able (just add the exclusion to Windows Defender).

Also, this patch updates our Windows Defender docs to make them:
* More easily link-able
* Have direct advice to resolve the issue

Differential Revision: https://phabricator.services.mozilla.com/D85952
2020-08-11 20:59:40 +00:00
Ricky Stewart 055da469b5 Bug 1647806 - Document Python installation steps r=firefox-source-docs-reviewers,sylvestre,froydnj
`bootstrap` won't be able to install them for you forever (and it isn't really properly capable of installing it for you at this very moment), and installing Python 3 as well as Python 2 is increasingly non-trivial on arbitrary OS'es, so we need to document things properly here.

Specific guidance on how to use `brew` to install Python 2 on macOS is included here. I also go into more depth on the situation on Linux and explicitly point people to the existence of `pyenv` with basic usage information, which should fill in the gaps left by the OS package managers.

Also, update some documentation to prefer the `python3` binary to the `python` binary (which is often Python 2), and fix some broken links.

Differential Revision: https://phabricator.services.mozilla.com/D82611
2020-07-20 18:15:39 +00:00
Ricky Stewart f34f1b6153 Bug 1648555 - `mach bootstrap` installs `libdrm-dev` package on Ubuntu/Debian r=dmajor
Also delete a bunch of dead code that was apparently meant to be useful for subclassing, but there's no subclasses of `DebianBootstrapper` in tree.

Differential Revision: https://phabricator.services.mozilla.com/D82073
2020-07-16 13:49:59 +00:00
Sonia Singla f20849d520 Bug 1651099 - Broken link to contributor reference. r=rstewart,championshuttler,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D82562
2020-07-08 07:32:17 +00:00
David Major 81d6dc12a4 Bug 1649193 - Update the package list in linux_32bit_build_on_64bit_OS.rst r=padenot
On a new machine the instructions didn't fully work for me. I suspect that `libpulse-dev:i686` -> `i386` might have been a typo, and I also needed `libx11-xcb-dev:i386`.

Differential Revision: https://phabricator.services.mozilla.com/D81560
2020-06-30 09:02:17 +00:00
Paul Adenot c9c5897a37 Bug 1648393 - Link it from the main Linux build page. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D81044
2020-06-26 12:52:39 +00:00
Paul Adenot f2892793be Bug 1648393 - Update this document for Ubuntu and remove obsolete section. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D81043
2020-06-26 12:52:31 +00:00
Paul Adenot b42eda7890 Bug 1648393 - Import Compiling_32-bit_Firefox_on_a_Linux_64-bit_OS from MDN. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D81042
2020-06-26 12:52:25 +00:00
Sylvestre Ledru 7de68c2cea Bug 1642898 - Remove most of the references of black/whitelist within the doc r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78000
2020-06-03 09:34:12 +00:00
Sylvestre Ledru 50830173ae no bug - typo fixes - Remove duplicated doc docs/contributing/build/supported_configurations.rst
The right one is here:
build/docs/supported-configurations.rst

Differential Revision: https://phabricator.services.mozilla.com/D77645
2020-06-01 09:53:22 +00:00
Sylvestre Ledru af36e8b59c Bug 1641182 - doc: Add a link to the quick reference doc
Differential Revision: https://phabricator.services.mozilla.com/D77054
2020-05-28 13:04:02 +00:00
Sylvestre Ledru ea5a6c7b2e Bug 1641182 - doc: fix links and remove some deprecated infos r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D77053
2020-05-28 13:04:00 +00:00
mhoye cb2f30a40e Bug 1179358 - Consolidation of documentation patches into MC r=sylvestre
Depends on D68835

Differential Revision: https://phabricator.services.mozilla.com/D76398
2020-05-25 07:26:51 +00:00