-
Notifications
You must be signed in to change notification settings - Fork 371
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
Check for available packages with homebrew #5372
base: master
Are you sure you want to change the base?
Conversation
5cd36a5
to
e14de16
Compare
Thanks for the PR! |
Does it take aliases into account? The reason why #4548 didn't get merged is because i couldn't find any ways of detecting aliases properly and quickly enough. |
It takes about 3 seconds for me. It uses a single invocation of `brew search --formula '/^(pkg1|pkg2|...)$/' |
Signed-off-by: Stephen Sherratt <stephen@sherra.tt>
e14de16
to
0a35872
Compare
Yep it handles aliases. I tested with sqlite3 which doesn't show up in the output of
and
|
3 seconds sounds like quite a lot. We're usually aiming for something < 1 second in the worst case. |
Signed-off-by: Stephen Sherratt stephen@sherra.tt