aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/search.rb
AgeCommit message (Collapse)Author
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.