Closed
Bug 1250748
Opened 8 years ago
Closed 8 years ago
Remove the 20s countdown timer on mach first run
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: gps, Assigned: gps)
Details
Attachments
(1 file)
The 20s countdown timer is horrible. Let's remove it and do something saner.
Assignee | ||
Comment 1•8 years ago
|
||
Previously on first `mach` run on a system, we'd display a prompt with a 20s countdown timer after which the default state directory (~/.mozbuild) was created. Users had to wait 20s or ctrl+c and make the directory by hand. Either way, they'd have to re-invoke mach to run whatever command they were trying to run. This was annoying. This commit makes the following changes: 1) The countdown timer is replaced with "press RETURN/ENTER to continue" 2) The requirement to re-invoke mach has been removed On first run, people now see a message telling them to press RETURN/ENTER. Then the directory is created and whatever mach command they requested to run is run. While I was here, I also changed the permissions on the newly created directory to match what it was a few lines above. Without, we're relying on umask, which may be permissive. UNIX convention is to use a more restrictive umask insider user directories. So this feels like the right behavior. Review commit: https://reviewboard.mozilla.org/r/36235/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/36235/
Attachment #8722782 -
Flags: review?(cmanchester)
Comment 2•8 years ago
|
||
Comment on attachment 8722782 [details] MozReview Request: Bug 1250748 - Remove the 20s countdown timer from mach first run; r?chmanchester https://reviewboard.mozilla.org/r/36235/#review32819 Great. Never liked this thing.
Attachment #8722782 -
Flags: review?(cmanchester) → review+
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cd2b53862f81
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•