aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
AgeCommit message (Collapse)Author
2018-02-22Use more docs.brew.sh short linksMike McQuaid
These are nicer on the eyes.
2018-02-01docs: add more missing option descriptionsEricFromCanada
and improve wording or formatting where necessary.
2018-01-18info: show spec options for optionless formulaeilovezfs
Previsiouly, info would not display --HEAD or --devel for formulae that had no options other than those spec options.
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-14info: pass explicit sort to handle APFSDominyk Tiller
2017-07-27Use https for all docs.brew.sh links.Mike McQuaid
May as well use the more secure link when possible.
2017-06-28Refactor using `Forwardable` and `DelegateClass`.Markus Reiter
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-05-16info: fix conflicts formatting.Mike McQuaid
2017-05-15info: tweak conflicts output code.Mike McQuaid
2017-05-14info: use more string interpolationJohn Hawkinson
2017-04-09info: rubocopJohn Hawkinson
2017-04-09info: Print reason for conflicts where availableJohn Hawkinson
2017-03-23info: immediately print FormulaUnavailableError.Mike McQuaid
2017-03-20missing_formula: subsume historic logic.Mike McQuaid
These methods belong together so combine them in a single class to provide a simpler API.
2017-03-20blacklist: move to missing_formula class instead.Mike McQuaid
This will allow extending this class so it can be used by more than just blacklisting.
2017-03-20Hint at new location of migrated formulaeZhiming Wang
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.
2017-03-11Add `Formatter::pluralize`.Markus Reiter
2017-02-25Update brew's man page formatting and grammarEricFromCanada
Also update command specifications to match descriptions.
2017-01-04Use docs.brew.sh links.Mike McQuaid
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-10-17brew info: include options to dependencies in displayAndrew Janke
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01Add `Formatter` module.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter
2016-09-27Merge pull request #1004 from apjanke/print-requirementsMike McQuaid
info: print requirements
2016-09-24info: include versions and other details in Requirements displayAndrew Janke
2016-09-23Fix Style/GuardClause.Markus Reiter
2016-09-20Update documentation links.Mike McQuaid
2016-09-18info: print requirementsAndrew Janke
2016-09-11cmd/info: fix Rubocop warnings.Mike McQuaid
2016-08-05various: eliminate the usage of `any?` (#638)Xu Cheng
`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)).
2016-04-10Add all the top level commentsMax Nordlund
2015-12-27cmd/options.rb: move common code in options.rbBaptiste Fontaine
Closes Homebrew/homebrew#47423. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-09info: tap is a Tap object nowXu Cheng
2015-12-07Use `(installed)` and emoji ticks consistently.Mike McQuaid
Across info, search and update. Closes Homebrew/homebrew#45131. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-03centralize the logic of handling `homebrew-` in Tap.fetchXu Cheng
Closes Homebrew/homebrew#46537. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-29info: use installed_kegsXu Cheng
2015-11-16improve brew infoXu Cheng
* 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>
2015-09-30cache tapsXu Cheng
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>
2015-09-09info: improve github_infoXu Cheng
* use Homebrew.git_origin * Handle the case git is unavailable or `.git` doesn't exist * Handle the case origin isn't github repo
2015-08-14add Formula.racksXu Cheng
Also exclude symlink when enumerating installed racks.
2015-08-10implement formulary#find_with_priorityCNA-Bld
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-08info: fix pluralXu Cheng
2015-05-29info: use Formula#full_nameXu Cheng
2015-05-25Info shows the desc if presentNikolaus Wittenstein
2015-02-13info: show correct file origin for formula from path or urlXu Cheng
Closes Homebrew/homebrew#36733. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08cmd/info: prevent duplicate dependency display.Xu Cheng
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>