| Age | Commit message (Collapse) | Author |
|
Fixes https://github.com/Homebrew/homebrew/issues/50131
This commit removes the error backtrace and improves the error message
if a bad regexp is passed to `brew search`.
Closes Homebrew/homebrew#50173.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
Extending the current search functionallity to search in
https://github.com/caskroom/homebrew-versions
Closes Homebrew/homebrew#47954.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Across info, search and update.
Closes Homebrew/homebrew#45131.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
* Move listing all formula names in the top to speed up shell script.
* Simplify logic.
* Only search PR and check bad regex for tty?, which will benefit to
shell script.
Closes Homebrew/homebrew#44985.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Fixes Homebrew/homebrew#44687.
Closes Homebrew/homebrew#44770.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
We allow to use options like --verbose and --debug for all commands.
And we should support switch format options, e.g. `brew desc -vs foo`
|
|
Closes Homebrew/homebrew#42281.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
By directly modifying the results array with
`results[i] = "#{name} (installed)"`, it appeared on successive
iterations that the canonical name was no longer in the array, so
aliases were not removed.
See https://github.com/Homebrew/homebrew/commit/9efe5b554ce9cf6626d9794173725f5e063e5806#commitcomment-12969631
Closes Homebrew/homebrew#43433.
|
|
`brew search emacs`, with homebrew/emacs tapped:
```
real 0m2.586s
user 0m1.138s
sys 0m0.121s
```
Previously:
```
real 0m2.831s
user 0m1.385s
sys 0m0.087s
```
`brew search s`:
```
real 0m2.260s
user 0m1.201s
sys 0m0.114s
```
Previously:
```
real 0m5.953s
user 0m4.827s
sys 0m0.226s
```
Closes Homebrew/homebrew#35696.
Closes Homebrew/homebrew#42662.
|
|
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#40717.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#40775.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#40795.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
|
|
|
|
|
|
Closes Homebrew/homebrew#38855.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#38760.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#37155.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#35531.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
People want to install things like GIMP using Homebrew so let's make it
easier for them to find a decent installation method.
Closes Homebrew/homebrew#34496.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
This matches the logic in find_formula.
|
|
|
|
|
|
|
|
|
|
This commit supports "-" and "_" in names of user and repository.
Closes Homebrew/homebrew#28203.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Closes Homebrew/homebrew#25706.
Closes Homebrew/homebrew#25682.
|
|
|
|
Closes Homebrew/homebrew#24405.
|
|
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>
|
|
Closes Homebrew/homebrew#23430.
|
|
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|