Closed Bug 1763865 Opened 2 years ago Closed 2 years ago

Firefox Contributors’ Quick Reference should use bootstrap.py

Categories

(Firefox Build System :: Build Documentation, task)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: arai, Assigned: manisha270417)

References

Details

Attachments

(1 file, 2 obsolete files)

"Firefox Contributors’ Quick Reference" has "Clone the sources" step and "Install dependencies" step, that does clone and bootstrap separately:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#clone-the-sources

hg clone https://hg.mozilla.org/mozilla-central/
...
./mach bootstrap

But the build document has "Bootstrap a copy of the Firefox source code", that does clone and bootstrap at the same time, with different commands
https://firefox-source-docs.mozilla.org/setup/windows_build.html#bootstrap-a-copy-of-the-firefox-source-code

cd c:/
mkdir mozilla-source
cd mozilla-source
wget https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
python3 bootstrap.py

This causes confusion for newcomers.
The quickref should align with build document, with adding note that the step can be skipped if it's already done.

How can I work on this issue? Or this is only for reference?

Flags: needinfo?(arai.unmht)

the document is generated from the following file
https://searchfox.org/mozilla-central/source/docs/contributing/contribution_quickref.rst

that maps to mozilla-unified/docs/contributing/contribution_quickref.rst in your local file.

You need to fix the Clone the sources and Install dependencies (non-Windows) sections to match the build documents

The steps are slightly different for each OS, but basically what needs to be done there are:

  • download bootstrap.py script
  • run it

That effectively does the same thing as hg clone ... and ./mach bootstrap.

Flags: needinfo?(arai.unmht)
Assignee: nobody → manisha.singh2019
Status: NEW → ASSIGNED
Attachment #9271598 - Attachment description: Bug 1763865 - Fixed Firefox Quick Reference Documentaion. r?arai → WIP: Bug 1763865 - Fix Firefox Quick Reference, use bootstrap.py instead

Depends on D143323

Depends on D143874

Attachment #9271598 - Attachment description: WIP: Bug 1763865 - Fix Firefox Quick Reference, use bootstrap.py instead → Bug 1763865 - Bootstrap Section added with required OS. r?arai
Attachment #9272615 - Attachment is obsolete: true
Attachment #9272630 - Attachment is obsolete: true
Attachment #9271598 - Attachment description: Bug 1763865 - Bootstrap Section added with required OS. r?arai → Bug 1763865 - Removed Download and Installation section. r?arai
Attachment #9271598 - Attachment description: Bug 1763865 - Removed Download and Installation section. r?arai → Bug 1763865 - Remove Download and Installation section. r?arai
Attachment #9271598 - Attachment description: Bug 1763865 - Remove Download and Installation section. r?arai → Bug 1763865 - Bootstrap Section added as per required OS. r?arai
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/48f9ca60b08b
Bootstrap Section added as per required OS. r=arai,sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: