<div dir="ltr">On Tue, Jul 17, 2018 at 4:49 PM James Graham <<a href="mailto:james@hoppipolla.co.uk">james@hoppipolla.co.uk</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 17/07/2018 21:16, Nicholas Alexander wrote:<br>
> Can it be extended to "named pushes"?  That is, right now I use my shell <br>
> history to do `mach try fuzzy -q "'build-android | 'robocop", but nobody <br>
> else will find that without me telling them, and it won't be <br>
> automatically updated when robocop gets renamed.  That is, if I could <br>
> `mach try fuzzy --named android-tier1` or something I could save myself <br>
> some manual command editing and teach other people what a green try run <br>
> means in my area.<br>
<br>
./mach try fuzzy --save android-tier1 -q "'build-android | 'robocop"<br>
<br>
And then run with<br>
<br>
./mach try fuzzy --preset android-tier1<br>
<br>
I think that's what you want? There isn't a way to share it or anything, <br>
but it works well for the use case of "I make the same set of try pushes <br>
repeatedly over many patches".<br></blockquote><div><br></div><div>Yes, I think this is what you're looking for. There was an idea to have a file</div><div>checked into the tree that would seed the 'try presets'. This way teams could</div><div>commit their shortcuts directly to the repo and then anyone would be able</div><div>to use them out of the box.<br></div></div></div>