aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/deps.rb
AgeCommit message (Collapse)Author
2015-11-19brew-deps: improved --tree formattingAlexis Hildebrandt
Use proper BOX DRAWINGS LIGHT VERTICAL unicode character. Closes Homebrew/homebrew#46158. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-09-16deps: remove duplicated entiresXu Cheng
Fixes Homebrew/homebrew#43955 Closes Homebrew/homebrew#43966. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-21cmd/deps: --tree shows required dependencies onlyAlex Dunn
Until we figure out how to allow --tree to show optional dependencies in a way that fits on a normal screen, this helps to explain the discrepancy between `brew deps` and `brew deps --tree`. Closes Homebrew/homebrew#41841. Closes Homebrew/homebrew#41947.
2015-07-04deps: Array#keep_if isn't defined in 1.8.7Misty De Meo
Fixes Homebrew/homebrew#41365.
2015-06-03brew deps --installed support for formulaeBaptiste Fontaine
Closes Homebrew/homebrew#40233. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-29brew-deps: improved --tree formattingBaptiste Fontaine
Closes Homebrew/homebrew#40018. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-29deps: use Formula#full_nameXu Cheng
2015-05-20uses/deps: fix for recursive deps/reqsXu Cheng
Closes Homebrew/homebrew#39906. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-23deps: allow skipping build, optional deps.Mike McQuaid
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-05-06Add `brew deps --union`tduehr
The default behavior of `brew deps foo bar` is to return the intersection of the deps of foo and bar. This option returns the union. Closes Homebrew/homebrew#27480. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-27deps: use Dependency objects in recursive_deps_treeJack Nagel
2014-02-27deps: keep "--all" output sortedJack Nagel
2013-11-02Fix regression in `brew deps`Jack Nagel
The default mode is intended to display recursive dependencies, with the `--1` flag to display only one level.
2013-10-30deps: don't use symbol-like output by default.Mike McQuaid
2013-10-30deps: display requirements default_formulae.Mike McQuaid
2013-07-10fix depsAdam Vandenberg
Closes Homebrew/homebrew#21113.
2013-06-22deps: allow "--installed --tree"Jack Nagel
2013-06-22deps: use OpenStruct to capture the modeJack Nagel
2013-06-22deps: remove need for Array extensionJack Nagel
2013-06-22deps: extract output methodsJack Nagel
2013-06-09deps: move recursive_deps_tree into Homebrew moduleJack Nagel
2013-05-10deps: fix --1 outputJack Nagel
Fixes Homebrew/homebrew#17550. Closes Homebrew/homebrew#19668.
2013-04-13New visualization for brew deps --treeJaime Marquínez Ferrándiz
Closes Homebrew/homebrew#18835. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-05Added '--installed' option to `deps` command.Matt Torok
When deps command is passed this option, it will only show the dependencies for the installed forumas. This option overrides the '--all' option. Closes Homebrew/homebrew#18276. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-26Replace usages of recursive_deps with recursive_dependenciesJack Nagel
2013-01-13Remove <=> from Dependency interfaceJack Nagel
It is important that dep equality corresponds to the name attribute, but we may want to use the Comparable interface to sort them by installation order in the future. Code that needs to sort them alphabetically should just use sort_by.
2012-04-11deps: fix --tree for new depsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-04Warn the user of required argumentsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-27Move brew-depstree into `brew deps --tree`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-06-15deps: document -n switchAdam Vandenberg
2011-04-13brew deps: add hidden option -nAdam Vandenberg
-n means 'natural order' instead of alpha-order, and will show the order in which the deps will be installed.
2011-04-10Make brew deps Leopard compatibleAdam Vandenberg
2011-03-12`brew deps foo bar` now gives the dependency intersectionMax Howell
Rationale: this is more useful than the union, and you can still easily get the union by running the command twice and concatenating the result.
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.