Closed Bug 1555378 Opened 6 years ago Closed 6 years ago

mach try fuzzy combined with --preset should allow editing the selected jobset in fzf

Categories

(Developer Infrastructure :: Try, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mgaudet, Unassigned)

Details

STR:

./mach try fuzzy --preset=sm-shell 

Expected behaviour

the Fuzzy chooser fzf is launched, prepopulated with the jobs selected by the sm-shell prefix, allowing further refinement of a push

Actual behaviour

'fuzzy' doesn't seem to matter, and the same effect as mach try --preset=sm-shell happens: A push with the preset selected jobs.

Type: defect → enhancement

This ability already exists using the -i/--interactive flag. For ergonomic/implementation reasons, the default of -i will take the union of tasks that the preset selects, but you can use -x/--and to instead take the intersection.

In other words:

# select tasks in addition to the ones that 'sm-shell' selects
$ ./mach try --preset sm-shell -i

Or:

# further refine the tasks that 'sm-shell' selects
$ ./mach try --preset sm-shell -xi

There are ton of use cases to consider here, so the UI is admittedly a bit complicated. But I think this approach is more explicit than relying on the use of fuzzy or not, so I'm going to resolve WFM.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME

Ahhhhh. Thanks for the answer! It's definitely a bit cryptic, but I can get behind this.

Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.