[CLI] mozmill should take command line arguments from a configuration file

RESOLVED WONTFIX

Status

--
enhancement
RESOLVED WONTFIX
8 years ago
2 years ago

People

(Reporter: k0scist, Unassigned)

Tracking

Details

(Whiteboard: [mozmill-2.0-][CLI])

(Reporter)

Description

8 years ago
As we get more running parameters, and especially helpful for automation (runs to be repeated many times), mozmill should be able to take arguments from a configuration file.  This should be runnable like

 mozmill -c path/to/conf.file

Subsequent command line arguments would override values in the file.

Two possible file forms:

 - .ini file:  using the [DEFAULTS] section if no section specified (which is "special" in ConfigParser land), otherwise specifiable like

 mozmill -c conf.ini:mysection

 conf.ini may look like:

"""
[mysection]
showall =
app = firefox
binary = /home/jhammel/firefox/firefox
"""

 - a straight command line file:  so you just write the command line arguments to a file which are parsed with file(filename).readlines().split()
(Reporter)

Updated

8 years ago
Summary: mozmill should take command line arguments from a configuration file → [CLI] mozmill should take command line arguments from a configuration file
(Reporter)

Updated

8 years ago
Severity: normal → enhancement

Comment 1

8 years ago
This is a nice to have, I think we may do this for 2.1, probably not for 2.0.
Whiteboard: [mozmill-2.0?][CLI] → [mozmill-next?][CLI]
Whiteboard: [mozmill-next?][CLI] → [mozmill-next?][mozmill-2.0-][CLI]
Mozmill will reach its end of life soon. We are currently working on getting all the tests for Firefox ported to Marionette. For status updates please see bug 1080766.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
Whiteboard: [mozmill-next?][mozmill-2.0-][CLI] → [mozmill-2.0-][CLI]
(Assignee)

Updated

2 years ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.