| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
Partial implementation of
https://github.com/Homebrew/brew-evolution/pull/15, along with the ability to
search for deleted formulae in git history (inspired by #1996) which is not
described in the proposal.
See also: #1371.
|
|
|
|
Also update command specifications to match descriptions.
|
|
|
|
|
|
|
|
Use `module_function` for `Homebrew` module.
|
|
|
|
|
|
|
|
info: print requirements
|
|
|
|
|
|
|
|
|
|
|
|
`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)).
|
|
|
|
Closes Homebrew/homebrew#47423.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Across info, search and update.
Closes Homebrew/homebrew#45131.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#46537.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
* Show pinned and keg-only as attributes, where pinned
version is shown as well.
* Use brackets instead of parentheses to distinguish formula
attributes(e.g. keg-only) with spec attributes(e.g. bottled)
* Don't show blank line for formula without homepage.
* Don't show duplicated keg-only message which will be shown later
in caveats.
* Underline urls.
* Remove unnecessary github_info return value check, which is always
existed.
Closes Homebrew/homebrew#46037.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
There are plenty of IO operations inside Tap object, and it will be more
when implementing formula alias reverse look up(e.g. list all of alias
names for a formula). So let's cache them.
Some benchmark:
$ time brew info $(brew ruby -e 'puts Formula.tap_names') > /dev/null
Before: 6.40s user 2.42s system 96% cpu 9.134 total
After: 4.75s user 0.77s system 97% cpu 5.637 total
Closes Homebrew/homebrew#44377.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
* use Homebrew.git_origin
* Handle the case git is unavailable or `.git` doesn't exist
* Handle the case origin isn't github repo
|
|
Also exclude symlink when enumerating installed racks.
|
|
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
|
|
Closes Homebrew/homebrew#36733.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Before:
$ brew info llvm
==> Dependencies
Build: xz ✔, xz ✔, xz ✔, xz ✔, xz ✔, xz ✔
$ brew info --json=v1 llvm
... "dependencies":["xz","xz","xz","xz","xz","xz"], ...
After
$ brew info llvm
==> Dependencies
Build: xz ✔
$ brew info --json=v1 llvm
... "dependencies":["xz"], ...
Closes Homebrew/homebrew#36653.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
There is always a git executable on PATH due to the git wrapper in
Library/Contributions/cmd. The wrapper will notify the user if there is
not a real git installed.
|
|
|
|
These have all been moved to Formulary.
|
|
Closes Homebrew/homebrew#30324.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#29318.
|
|
Closes Homebrew/homebrew#29315.
|
|
This commit supports "-" and "_" in names of user and repository.
Closes Homebrew/homebrew#28203.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes Homebrew/homebrew#27311.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Fixes Homebrew/homebrew#27685.
|