Closed
Bug 1400503
Opened 7 years ago
Closed 7 years ago
No obvious way to edit presets saved with mach try
Categories
(Firefox Build System :: Task Configuration, task)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla58
People
(Reporter: bzbarsky, Assigned: ahal)
References
Details
Attachments
(2 files)
There's a way to save presets with --save. And then you can use a preset with --preset. But I see no way to edit a preset if you messed up the selection for it....
Reporter | ||
Comment 1•7 years ago
|
||
Note that this was for mach try fuzzy. I haven't tried what happens if you do "mach try syntax" with a --save that has the same name as an existing saved syntax preset.
Assignee | ||
Comment 2•7 years ago
|
||
Presets live in ~/.mozbuild/autotry.ini. Agree there should be a way to edit this from the command line, or it should at least be discoverable.
The case where presets from different subcommands have the same name should work.
Reporter | ||
Comment 3•7 years ago
|
||
I meant I don't know what happens if you use the _same_ subcommand and --save with an existing preset name. Does it override the old value, or fail, or something else?
Assignee | ||
Comment 4•7 years ago
|
||
Ah, gotcha. It should overwrite any pre-existing value.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8922937 [details]
Bug 1400503 - [tryselect] Separate 'common_arguments' into groups sub-parsers can opt-in to,
https://reviewboard.mozilla.org/r/194100/#review199590
Nice refactoring.
Attachment #8922937 -
Flags: review?(armenzg) → review+
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8922938 [details]
Bug 1400503 - [tryselect] Add an option to open the presets file in an editor,
https://reviewboard.mozilla.org/r/194102/#review199594
Attachment #8922938 -
Flags: review?(armenzg) → review+
Assignee | ||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7741abf30b9b
[tryselect] Separate 'common_arguments' into groups sub-parsers can opt-in to, r=armenzg
https://hg.mozilla.org/integration/autoland/rev/301666d1d339
[tryselect] Add an option to open the presets file in an editor, r=armenzg
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7741abf30b9b
https://hg.mozilla.org/mozilla-central/rev/301666d1d339
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 12•7 years ago
|
||
(In reply to Sebastian Hengst [:aryx][:archaeopteryx] (needinfo on intermittent or backout) from comment #11)
> https://hg.mozilla.org/mozilla-central/rev/7741abf30b9b
This changeset adds code that references EmptyParser, but there is no such thing. That breaks `mach try empty`. I filed bug 1413374 to fix that.
Depends on: 1413374
Updated•7 years ago
|
Product: TaskCluster → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•