aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/search.rb
AgeCommit message (Collapse)Author
2015-04-24search: add homebrew/tex to search paramsDominyk Tiller
Closes #38855. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-21cmd/search: notification on attempted regex searchesAlex Dunn
Closes #38760. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-25search: fix --fedora URL.Baptiste Fontaine
Closes #37155. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes #35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-28search: add homebrew-x11 to default tapsMisty De Meo
2014-11-30Allow searching/installing Homebrew Casks.Mike McQuaid
People want to install things like GIMP using Homebrew so let's make it easier for them to find a decent installation method. Closes #34496. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-04-27Respect tap directory layout when searchingJack Nagel
This matches the logic in find_formula.
2014-04-27Use canonical_name to canonicalize aliasesJack Nagel
2014-04-27Search results should always be sortedJack Nagel
2014-04-27Use Formulary.factory to find formula in tapsJack Nagel
2014-04-25Yield absolute paths from find_formulaJack Nagel
2014-04-24Make the on-disk representation of taps unambiguousTsukasa OMOTO
This commit supports "-" and "_" in names of user and repository. Closes #28203. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-18search: move nginx to Homebrew organisation.Mike McQuaid
2014-04-10Migrate homebrew-php to Homebrew organization.Mike McQuaid
2014-02-16search: use a queue to collect errorsJack Nagel
The threading in the tap search code makes handling errors difficult. If an API-related error is raised in one thread, it is likely to be raised in each of the rest as well. This results in duplicated error messages, which is ugly and bad UX. This patch adds a synchronized queue to collect these exceptions. The first one added to the queue is re-raised after all operations are complete. It's not ideal, but it's minimally invasive and I don't have the energy or time to do a rewrite.
2014-02-13Use a more accurate method name and drop unhelpful blockJack Nagel
2014-02-12Pass the string instead of reconstructing it from a regexpJack Nagel
2014-02-08Drop unnecessary map + compact in search_tapJack Nagel
2014-02-08Prevent repeated warnings when GitHub API rate limit is exceededJack Nagel
2014-02-08Raise only GitHub::Error from GitHub.openJack Nagel
2014-02-08Parse JSON early in GitHub moduleJack Nagel
2014-02-08Don't mutate argument in search_tapJack Nagel
2014-01-09search: handle tap not found and suggest update.Mike McQuaid
Closes #25706. Closes #25682.
2013-12-28homebrew-python has moved to Homebrew org.Mike McQuaid
2013-11-17retire homebrew/x11Adam Vandenberg
Closes #24405.
2013-10-25Add HOMEBREW_NO_GITHUB_API env var.David MacMahon
This patch allows users to "opt out" of using the GitHub API altogether by setting the HOMEBREW_NO_GITHUB_API environment variable. The value of the environment variable does not matter (it can even be empty!). For Bash/ZSH: export HOMEBREW_NO_GITHUB_API=1 Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-22Different regex for user/tap/formula and user/tap.Mike McQuaid
Closes #23430.
2013-10-21global: unify tap regex.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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 #21678.
2013-08-03Add homebrew-binary to searchAdam Vandenberg
2013-07-28search: silence JSON decode errorsJack Nagel
Closes #21506. Closes #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 #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>