It would be handy if mach had a command that performed system bootstrap. That way, if someone runs into a build failure due to a missing system package, etc, he or she could just run |mach bootstrap| and it would ensure the system is in a happy place to build the tree. The current patch just has mach call the existing mozboot bootstrapper. This is equivalent to running |python python/mozboot/bin/bootstrap.py| except it is more discoverable. In the long term, I think we could overload this command to ensure that system packages like Mercurial and Git are configured properly. Perhaps sub-components of mach could register a "bootstrap" method that is invoked when bootstrap is performed. Then, anything wanting to provide one-time setup could be executed when users perform bootstrap. Mach could even be so helpful as to periodically run bootstrap to ensure your system is optimally configured. Ideas, ideas.
I bitrotted myself in bug 794509. Now that we have automatic command discovery, this code can live in mozboot instead of in mach.
Removed bit rot from mach command module refactoring.
Attachment #670191 - Flags: review?(ted) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.