Closed Bug 1582155 Opened 5 years ago Closed 5 years ago

add categorization to `./configure --help`

Categories

(Firefox Build System :: General, task)

task
Not set
normal

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: froydnj, Assigned: rstewart)

References

Details

Attachments

(2 files, 3 obsolete files)

There's a lot of options, and a lot of environment variables. We'd be adding more output with categorization, but ideally some sort of categorization would make things more understandable.

Attached file ./configure --help (obsolete) —

Have a patch that produces "./configure --help" output that looks like the following. Also adding machinery to tweak this further in the future if the auto-generated categories aren't appropriate. Any thoughts?

It was brought to my attention that some of the options aren't being categorized in the right files -- I'll try to fix that before sending the patch out for review.

Attached file ./configure --help (obsolete) —
Attachment #9098681 - Attachment is obsolete: true
Assignee: nobody → rstewart
Status: NEW → ASSIGNED

Wahou, excellent.
Thanks for doing it that!

Just a bike-shedding comment. Maybe as an empty line between category to facilitate the eye parsing?

Attached file ./configure --help (obsolete) —

@sylvestre: Done.

Attachment #9098854 - Attachment is obsolete: true
Attached file ./configure --help

New configure --help output with the latest version of the patch.

Attachment #9098865 - Attachment is obsolete: true
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/015fd18edd63
Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester

Some tests failed on Windows -- I've updated the revision to fix those failures and will re-land once my try push succeeds.

Flags: needinfo?(rstewart)
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/76ef444c6daa
Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Regressions: 1598134
You need to log in before you can comment on or make changes to this bug.