Closed Bug 1198866 Opened 9 years ago Closed 9 years ago

help the user to use a config file

Categories

(Testing :: mozregression, defect)

defect
Not set
normal

Tracking

(firefox43 affected)

RESOLVED FIXED
Tracking Status
firefox43 --- affected

People

(Reporter: parkouss, Assigned: parkouss)

Details

Attachments

(1 file)

We are soon adding an option to persist the limit size.

I think we should recommend the use of the persist and persist-size-limit options in a more aggressive way (just to be sure that the user is informed that it exists, and that he should use them).

So I propose to warn the user when there is no config file present, and we should provide a new command to generate/update the config file (asking questions for the option values with sensitive defaults).

We can take the opportunity to make sensitive defaults:

~/.mozilla/mozregression/mozregression.cfg  # new place for the config file
~/.mozilla/mozregression/persist  # defaults for persist dir

persist-size-limit will defaults to 20 GiB.
bits will defaults to 64 (as now), but we should ask question while creating the conf file since some users often use 32 bit builds on their 64 os. (often on windows).
Assignee: nobody → j.parkouss
Status: NEW → ASSIGNED
Attachment #8654268 - Flags: review?(jonathan.pigree)
Attachment #8654268 - Flags: review?(jonathan.pigree) → review+
Okay. After a few iterations, it seems great now. I am a
Sorry for the last strange sentence. I am writing with my phone now.
Thanks Jonathan!

Merged in https://github.com/mozilla/mozregression/commit/5311cbb44075153a4214f3bb26afb0a60ebacaf4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: