Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to match exact agent/service name #51

Merged

Conversation

bunnymatic
Copy link
Collaborator

  • new -x option to match exactly
  • mods to grep and with_match usages to use an exact pattern if -x is set on the command line
  • fixed issue in with_match which was not sending the 'no daemon' message (if instead of unless)

Without this fix, on a system with homebrew's elasticsearch and elasticsearch14,
you can't lunchy uninstall or lunchy start because homebrew.mxcl.elasticsearch is
a match for both.

After this you can

lunchy stop -x homebrew.mxcl.elasticsearch

Note: I left VERSION alone, though I think it'll need a bump before a release.

* new -x option to match exactly
* mods to grep and with_match usages to use an exact pattern if -x is set on the command line
* fixed issue in `with_match` which was not sending the 'no daemon' message (if instead of unless)

Without this fix, on a system with homebrew's elasticsearch and elasticsearch14,
you can't `lunchy uninstall` or `lunchy start` because `homebrew.mxcl.elasticsearch` is
a match for both.

After this you can

`lunchy stop -x homebrew.mxcl.elasticsearch`
@penmark
Copy link

penmark commented Apr 29, 2015

I'd love this feature.

eddiezane added a commit that referenced this pull request May 2, 2015
Add ability to match exact agent/service name
@eddiezane eddiezane merged commit 9dc9116 into eddiezane:master May 2, 2015
@eddiezane
Copy link
Owner

Great idea! Thanks for the PR.

@bunnymatic
Copy link
Collaborator Author

thanks for the merge.

On Fri, May 1, 2015 at 8:51 PM, Eddie Zaneski [email protected]
wrote:

Great idea! Thanks for the PR.


Reply to this email directly or view it on GitHub
#51 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants