8
edits
No edit summary |
Ahochheiden (talk | contribs) (→Windows Terminal: Add setting the environment variable "USE_MINTTY": "0" since the MozillaBuild 4.1 requires that set to not escape the Windows terminal.) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
=== Current Version === | === Current Version === | ||
The current version of MozillaBuild is 4. | The current version of MozillaBuild is 4.1. It is available on [https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe ftp.mozilla.org]. | ||
=== To Upgrade From A Previous Version === | === To Upgrade From A Previous Version === | ||
Line 11: | Line 11: | ||
# Delete your current MozillaBuild environment by moving your MozillaBuild folder into the trash. If you can't remove the existing installation, you probably have a terminal open or watchman or ssh-agent running. Terminate that process and try again. | # Delete your current MozillaBuild environment by moving your MozillaBuild folder into the trash. If you can't remove the existing installation, you probably have a terminal open or watchman or ssh-agent running. Terminate that process and try again. | ||
# Install the new MozillaBuild release. | # Install the new MozillaBuild release. | ||
# Clobber any trees you have by running <tt>./mach clobber</tt> (<b>build errors may occur otherwise</b>). | # Clobber any trees you have by running <tt>./mach clobber</tt> (<b>build errors may occur otherwise</b>). | ||
# Re-run <tt>./mach bootstrap</tt> to ensure that your tools are up-to-date. Ensure that you agree to run the Mercurial configuration wizard to ensure that its extensions are up-to-date. | # Re-run <tt>./mach bootstrap</tt> to ensure that your tools are up-to-date. Ensure that you agree to run the Mercurial configuration wizard to ensure that its extensions are up-to-date. | ||
Line 23: | Line 22: | ||
"name": "MozillaBuild", | "name": "MozillaBuild", | ||
"commandline": "C:/mozilla-build/start-shell.bat -here", | "commandline": "C:/mozilla-build/start-shell.bat -here", | ||
"environment": | |||
{ | |||
"USE_MINTTY": "0" | |||
}, | |||
} | } | ||
Line 28: | Line 31: | ||
* The <code>-here</code> flag can only be provided for MozillaBuild 4.0 and newer. Remove it from <code>commandline</code> if you're using MozillaBuild 3.4 or earlier. | * The <code>-here</code> flag can only be provided for MozillaBuild 4.0 and newer. Remove it from <code>commandline</code> if you're using MozillaBuild 3.4 or earlier. | ||
* Additionally, [https://bugzilla.mozilla.org/show_bug.cgi?id=1748762 the <code>"startingDirectory"</code> option and the <code>wt -d</code> flag don't work] unless <code>-here</code> is provided. | * Additionally, [https://bugzilla.mozilla.org/show_bug.cgi?id=1748762 the <code>"startingDirectory"</code> option and the <code>wt -d</code> flag don't work] unless <code>-here</code> is provided. | ||
=== Technical Details === | === Technical Details === | ||
Line 35: | Line 37: | ||
Note that the "UNIX-like" environment provided by MozillaBuild is only really useful for building and committing to the Mozilla source. Many command line tools you would expect in a modern Linux distribution are not present, and it's not possible to install them with a package manager. | Note that the "UNIX-like" environment provided by MozillaBuild is only really useful for building and committing to the Mozilla source. Many command line tools you would expect in a modern Linux distribution are not present, and it's not possible to install them with a package manager. | ||
MozillaBuild | MozillaBuild (As of 4.0.2) modifies only one Windows registry value: <code>HKEY_CURRENT_USER\Console\VirtualTerminalLevel=1</code>. This is set to ensure that [https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences Virtual Terminal Processing] is enabled for all terminals so that [https://en.wikipedia.org/wiki/ANSI_escape_code ANSI escape sequences] are parsed correctly. | ||
===== Command Prompt Tips and Caveats ===== | ===== Command Prompt Tips and Caveats ===== | ||
Line 54: | Line 56: | ||
=== Release Notes === | === Release Notes === | ||
* [https://groups.google.com/a/mozilla.org/g/dev-platform/c/hF51Q3j6ca8 MozillaBuild 4.1] | |||
* [https://groups.google.com/a/mozilla.org/g/dev-platform/c/E9E53vZBfZI MozillaBuild 4.0.2] | |||
* [https://groups.google.com/a/mozilla.org/g/dev-platform/c/R4RyMxexyU8 MozillaBuild 4.0.1] | |||
* [https://groups.google.com/a/mozilla.org/g/dev-platform/c/0GHhML7tY6c MozillaBuild 4.0] | * [https://groups.google.com/a/mozilla.org/g/dev-platform/c/0GHhML7tY6c MozillaBuild 4.0] | ||
* [https://groups.google.com/a/mozilla.org/g/dev-platform/c/MzWYQ0NtXos MozillaBuild 3.4] | * [https://groups.google.com/a/mozilla.org/g/dev-platform/c/MzWYQ0NtXos MozillaBuild 3.4] |
edits