| Age | Commit message (Collapse) | Author |
|
|
|
|
|
This messaging was added for the `brew search` command and having it in
audit is annoying:
(https://github.com/Homebrew/brew/pull/3059#issuecomment-323638672)
As a side note: this is why randomly including `cmd/*` is a bad idea.
|
|
|
|
Clean-up code in GitHub module to reduce duplication & coupling w/ Github API
|
|
Provide a bit of clarity that this isn't just searching a local database
but doing an GitHub API and Git history query.
|
|
|
|
|
|
|
|
|
|
|
|
pkgdb has been put into read-only mode,
so it won't be updated for new Fedora releases
going forward. Use apps.fedoraproject.org/packages instead.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
|
|
|
|
Re-revert "Fix operator spacing."
|
|
As they are not shown in the normal `brew search` output.
|
|
|
|
|
|
|
|
|
|
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
|
|
|
|
|
|
|
|
These methods belong together so combine them in a single class to
provide a simpler API.
|
|
This will allow extending this class so it can be used by more than
just blacklisting.
|
|
|
|
Also update command specifications to match descriptions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Before this change:
```
~> brew search openssl@1.1
openssl@1.1 ✔
==> Did you mean to perform a regular expression search?
==> Surround your query with /slashes/ to search by regex.
```
|
|
Doesn't appear to affect the speed of `brew search`.
Fixes #415.
|
|
e.g. Caskroom/homebrew-cask.
Thanks to UniqMartin for the fix.
Fixes #655.
|
|
`any?` is not the opposite of `empty?`. Besides the case that
`[false, nil].any?` will return false, `any?`(O(n)) has much worse
performance than `empty?`(O(1)).
|
|
Amends 132ada2b0ebb3751c0f8f42ca83bb257b55a50fd until we properly figure
out a way of documenting built-in aliases (or not doing that) across all
commands that currently have aliases. See #270 for full discussion.
|
|
* Include --desc in brew search help text.
* Update brew search --desc text in README.
* Remove mention of alias in brew search help text to avoid any
confusion.
|
|
|
|
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`
|