aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/search.rb
AgeCommit message (Collapse)Author
2013-09-03brew search <user>/<repo> [substring]Samuel John
For example `brew search homebrew/science` to get a list of all formulae from that tap, even if not yet tapped. `brew search <user>/<repo>/<substr>` or `brew search <user>/<repo> <substr>` to grep for `<substr>` inside of the tap `<user>/<repo>`.
2013-08-14add ubuntu package searchAdam Vandenberg
2013-08-09Add fedora to brew searchAdam Vandenberg
2013-08-05Add opensuse package searchAdam Vandenberg
2013-08-05Search marcqualie/nginxAdam Vandenberg
Closes Homebrew/homebrew#21678.
2013-08-03Add homebrew-binary to searchAdam Vandenberg
2013-07-28search: silence JSON decode errorsJack Nagel
Closes Homebrew/homebrew#21506. Closes Homebrew/homebrew#21508.
2013-07-15Clarify behavior of `brew search` without an argumentJack Nagel
As documented in the man page, when given no arguments, `brew search` will list all formulae. This is different than giving an *empty* argument.
2013-07-01Better behavior for failed connections in `brew search`Jack Nagel
Fixes Homebrew/homebrew#20868.
2013-06-22Add Utils::JSON to wrap the JSON implementationJack Nagel
2013-06-12Rename variables for clarityJack Nagel
2013-06-12Extract search_taps methodJack Nagel
2013-06-12Pull tap list into a constantJack Nagel
2013-06-12Remove use of global variableJack Nagel
2013-06-12Rename methodJack Nagel
2013-06-12Extract query constructionJack Nagel
2013-06-12Use inspect instead of escaping quotesJack Nagel
2013-06-12Move require out of methodJack Nagel
2013-05-27Add `brew search --debian <f>`Adam Vandenberg
2013-05-22Remove unnecessary rescue-all exception handlingDaniel Lee Harple
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22Check GitHub API rate limit instead of silently failingDaniel Lee Harple
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22Pass a User-Agent when fetching data from the GitHub APIDaniel Lee Harple
See <http://developer.github.com/v3/#user-agent-required>. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-10search homebrew-x11Adam Vandenberg
2013-01-30brew-search: search homebrew/apache tap.Mike McQuaid
2013-01-23brew search looks in samueljohn/python, too.Samuel John
Closes Homebrew/homebrew#17267. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-23Add Homebrew-completions to searchAdam Vandenberg
2012-12-27Respect BROWSER environment variableJack Nagel
2012-09-01Fix the name because adamv doesn't know what he's doing.Adam Vandenberg
2012-09-01bless alanthing/homebrew-apachemodAdam Vandenberg
Add external tap to default search path, and recommend it for packaging Apache Modules.
2012-08-09Run each search_tap in a separate thread to speed things up.hazz
Closes Homebrew/homebrew#14066. Signed-off-by: Max Howell <mxcl@me.com>
2012-07-30Deprecate adamv/alt from brew searchMax Howell
Add brew/science.
2012-04-05Use GitHub API 3 in `brew search`Max Howell
2012-03-25Search Homebrew/gamesMax Howell
2012-03-20Don't query online for plain `brew search`Max Howell
2012-03-18Downcase when checking if no tap search neededMax Howell
2012-03-18Special case "Homebrew" in brew-searchMax Howell
Again, "Homebrew" is changed to "homebrew" before rendering to the user.
2012-03-18Add brew/versions and brew/dupes to searchMax Howell
2012-03-16`brew search` will search taps we decide are coreMax Howell
This means `brew search` always does some network operations. Which is a shame, but I think (for brew) fine. Probably the no-connectivity handling needs to be improved.
2012-01-13search: return results while parsingMisty De Meo
Instead of returning a full list of results after parsing, yield and print each result as it's found for a snappier user experience. Closes Homebrew/homebrew#9576. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-12search: don't try to escape nilJack Nagel
Fixes Homebrew/homebrew#9575. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-11search: return matches from open pull requestsJack Nagel
When search can't find any local results, hit the GitHub API and search the titles of pending pull requests. This will help people find the many proposed formulae and prevent them from wasting time duplicating them. Closes Homebrew/homebrew#9018. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-03-12Fix 'brew search' with no parameter.Adam Vandenberg
2011-03-12Use + instead of /.Adam Vandenberg
2011-03-12Refactor the blacklistsMax Howell
Also don't abort searches if the query matches a blacklist. Eg. `brew search vim` should return macvim and the information that vim itself is not packaged.
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.