aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
AgeCommit message (Collapse)Author
2014-05-16add --installed to json infoAdam Vandenberg
Closes Homebrew/homebrew#29315.
2014-04-24Make the on-disk representation of taps unambiguousTsukasa OMOTO
This commit supports "-" and "_" in names of user and repository. Closes Homebrew/homebrew#28203. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-23separate the brew info for multiple formulaeDan Martinez
Closes Homebrew/homebrew#27311. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-06Remove now unnecessary realpath callsJack Nagel
2014-03-18Fix copy/paste errorJack Nagel
Fixes Homebrew/homebrew#27685.
2014-03-10Update info command for generalized bottle implementationJack Nagel
2014-03-08remove brew info --allAdam Vandenberg
Closes Homebrew/homebrew#27322.
2014-02-28Remove "brew info <URL>"Jack Nagel
Closes Homebrew/homebrew#27076.
2013-11-11info: fix on non-tty terminals.Mike McQuaid
References Homebrew/homebrew#18922. Closes Homebrew/homebrew#24188. Closes Homebrew/homebrew#24190.
2013-11-11info: decorate deps to show installed status?Colin Dean
* shows green tick if installed or red cross if not * only highlight dependency if HOMEBREW_NO_EMOJI is set Closes Homebrew/homebrew#18922. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-30global: add more tap regexes.Mike McQuaid
2013-06-26info: Only print Cellar info if it existsMisty De Meo
2013-06-25Fix info --githubAdam Vandenberg
Closes Homebrew/homebrew#20780.
2013-06-24Add 'From:' to GitHub url for formulaAdam Vandenberg
Closes Homebrew/homebrew#20724.
2013-06-22Add Utils::JSON to wrap the JSON implementationJack Nagel
2013-06-09info: remove unreachable codeJack Nagel
2013-06-09Separate formula conflicts from requirementsJack Nagel
Closes Homebrew/homebrew#20357.
2013-05-10info: simplify keg listingJack Nagel
2013-05-10info: improve dependency listingJack Nagel
2013-05-02info: re-raise on blacklist missJack Nagel
2013-04-29info: try blacklist for unknown formula namesAdam Vandenberg
Closes Homebrew/homebrew#17399.
2013-03-31brew-info: Add pinned status to info.Simon Sigurdhsson
Closes Homebrew/homebrew#18851. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-28Suppress ambiguous argument and grouped expression warningsJack Nagel
2013-03-28info: make use of Tab#to_sJack Nagel
Closes Homebrew/homebrew#18788.
2013-03-20brew-info: specify whether poured or built.Mike McQuaid
- Store in the tab if a bottle was poured for the build. - Add an additional line of output to `brew info` outputting whether the formula was built from source or poured from a bottle. Closes Homebrew/homebrew#18430. Closes Homebrew/homebrew#18475.
2013-03-01Support 32-bit 10.6 bottles.Mike McQuaid
Closes Homebrew/homebrew#17735. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-16info: open history pages for all specified formulaeJack Nagel
Closes Homebrew/homebrew#17852.
2013-01-14info: sort conflicts consistentlyJack Nagel
2013-01-14Restore keg-only caveatsJack Nagel
Fixes Homebrew/homebrew#16989.
2013-01-02Add caveats class and use in brew info.Mike McQuaid
Probably a better approach than reverted e721c7. Fixes Homebrew/homebrew#16604.
2012-12-16Revert "Add launchctl_instructions method"Jack Nagel
This code makes assumptions about the existence of prefix which are valid in the context of the installer, but not necessarily in the context of `brew info`, thus `brew info` on an outdated formula errors out. This reverts commit e5b53dd64b769b67805d1054d906f7083939d905.
2012-12-16Add launchctl_instructions methodLorenzo Manacorda
Closes Homebrew/homebrew#16604. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-04propert version sort in `info` commandMislav Marohnić
Closes Homebrew/homebrew#16382. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-17info: Add JSON outputMisty De Meo
Output JSON with the --json=v1 option. Output is in an array, and supports one or more formulae (or all, with the --all option). Why 'v1'? The format is unstable, presumably we'll deprecate it someday. It should be solid by Homebrew 1.0. Closes Homebrew/homebrew#13299.
2012-08-25Miscellaneous bottle code cleanup.Mike McQuaid
2012-08-12Add :when_xquartz_installed as a keg-only reasonJack Nagel
Using :when_xquartz_installed will tell the keg-only machinery to activate if XQuartz is installed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09Fix info/options for new options dslAdam Vandenberg
2012-08-07Simplify conditionalJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-07Simplify printing conflicts in `brew info`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-07fix info commandAdam Vandenberg
2012-08-06Don't error out if never `brew updated`Max Howell
Fixes Homebrew/homebrew#12944.
2012-08-04Show options for foo with `brew info foo`Max Howell
About time right?
2012-07-30Add conflicts_with DSL methodMisty De Meo
conflicts_with is a thin wrapper around Requirement which simplifies marking conflicts between formulae. Closes Homebrew/homebrew#13687. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-04info: display available formula specsJack Nagel
2012-05-13Use 'which' helper method moreJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-15info: handle git:// URLs in origin remoteMaurice Kelly
The URL being constructed is only able to extract the correct username when git@ or https:// URLs are found as the origin remote. This change allows git:// to be used as well. Signed-off-by: Maurice Kelly <osv-github@chatswood.org.uk> Closes Homebrew/homebrew#11670. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-06info: output correct URL for tapped dupesJack Nagel
Tapped formulae that dupe those in core now display the correct URL when invoked like `brew info homebrew/dupes/openssl`. This also fixes the broken `brew info` test. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-29info: always indicate if a keg is linkedJack Nagel
We mark the linked keg with an asterisk when multiple kegs exist, but not when there is only a single keg. Start marking even in this case, giving consistent behavior and a reliable indicate of the link status. Fixes Homebrew/homebrew#11300. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-16`brew info` understands tapsMax Howell
Note I removed some of the code that changed the URL to be that of the github.user. Because this doesn't make any sense really. We want people to reference the commit history for whatever fork of homebrew they have checked out. So this is now what it does.
2012-01-03info: always mark currently linked keg with *Jack Nagel
When multiple kegs are installed, `brew info` marks a keg with an asterisk if f.installed_prefix == keg, but this is only true if either HEAD or the newest version of the formula is installed. This isn't always useful, so let's mark the currently linked keg with an asterisk regardless of the version. Obviously, keg-only formula will never be marked, but this is probably a feature. When multiple keg-only kegs exist, chances are that they are each being utilized by something, so there isn't really a "used" and "unused" version. Signed-off-by: Jack Nagel <jacknagel@gmail.com>