aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/list.rb
AgeCommit message (Collapse)Author
2018-02-01docs: add more missing option descriptionsEricFromCanada
and improve wording or formatting where necessary.
2017-11-07brew list --pinned: pass explicit sort to handle APFScommitay
2017-11-06brew list --versions: pass explicit sort to handle APFScommitay
2017-10-20Merge pull request #3304 from richiethomas/refactor_usesMike McQuaid
In 'readall.rb', replaced multi-step 'each' loop with one-line method chain of Ruby enumerator methods
2017-10-18Fix brew style warningsrichiethomas
2017-10-14list: pass explicit sort to handle APFSDominyk Tiller
2017-09-16List cask full-namesDan Wendorf
`brew cask list` supports the `--full-name` flag which will include the tap name for casks not part of the core caskroom/cask tap. For example, if cask "foo-beta" is installed from the caskroom/versions cask, `brew cask list --full-name` will report the name as "caskroom/versions/foo-beta".
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2017-02-26Install tap command completions and manpagesJoshua McKinney
Taps can include completion scripts for external commands under `completions/bash`, `completions/fish`, or `completions/zsh`. `brew tap` will automatically install these into the correct directories during install.
2016-11-17Merge pull request #1520 from vladshablinsky/list_follow_aliasesMike McQuaid
cmd/list: follow aliases
2016-11-16cmd/list: follow aliasesUladzislau Shablinski
Closes #1514
2016-11-14No empty `when`s.Markus Reiter
2016-10-15Convert `puts_columns` to `puts Formatter.columns`.Markus Reiter
2016-10-15Don’t use `puts_columns` if `empty?` or single item.Markus Reiter
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-02list: fix exit code for --verbose and --pinnedUladzislau Shablinski
`brew list --verbose <formulae>` lists only those kegs that are installed and exits with 0 if all <formulae> installed. If one or more formulae from <formulae> are not installed, the command lists only installed versions and exits with 1. `brew --pinned formula` exits with 1 if formula is not pinned. Fixes #1172
2016-10-02Remove `private_class_method` from commands.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-09-23Store the formula used to build the keg in the kegShaun Jackman
Store the formula used to build the keg inside the keg in a file named NAME/VERSION/.brew/NAME.rb after removing the bottle do ... end block. See https://github.com/Homebrew/brew-evolution/pull/6. Closes https://github.com/Homebrew/brew/issues/931.
2016-09-20list: use new exclude paths.Mike McQuaid
2016-09-15Use constants for LinkedKegs/PinnedKegs/Locks.Mike McQuaid
These definitions are scattered throughout the codebase which makes it hard to refactor them later (my goal is to move them outside of HOMEBREW_LIBRARY). Unify their definitions for clearer code and easier movement later.
2016-09-11cmd/list: fix Rubocop warnings.Mike McQuaid
2016-08-17Fix minor issues in command help text formattingMartin Afanasjew
- Inconsistent or unneeded indentation - Missing or superfluous empty lines - Missing or wrongly formatted arguments in command summary - Missing punctuation
2016-08-14list: note that `ls` command is used.Mike McQuaid
And arguments can be passed through to it. Tweak produced out of conversation in https://github.com/Homebrew/brew-evolution/pull/8.
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-17list: exclude zsh completions from unbrewedMartin Afanasjew
Since edf000e4cd30c3626ccc28c52ed32f2d84a200dd `zsh` completions are in `share/zsh/site-functions/_brew`, making this path a part of Homebrew. Hide it from `brew list --unbrewed` to reduce confusion/noise.
2016-04-10Add all the top level commentsMax Nordlund
2016-02-23list: exclude .github from unbrewedPaul Phillips
Recently added files polluting brew ls --unbrewed results. Closes Homebrew/homebrew#49456. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-06Array#count alias didn't always existMisty De Meo
Fixes mistydemeo/tigerbrew#408.
2016-01-06list: exclude Ruby from unbrewedMartin Afanasjew
Those are created by the `ruby` formula in core and various Ruby formulae from `homebrew/versions` and contain Gems and other stuff that is to be retained across updates. Treat it like Python in this regard. This avoids spurious output in `brew list --unbrewed` when a brewed `ruby` is used to, e.g., install Gems. Closes Homebrew/homebrew#47750. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-06list: exclude Homebrew logs from unbrewedMartin Afanasjew
Treat it like the cache, i.e., if the logs directory is inside the Homebrew prefix, skip it instead of listing all the logs. This avoids spurious output in `brew list --unbrewed` when the Homebrew logs directory is a subdirectory of the Homebrew prefix.
2015-08-14add Formula.racksXu Cheng
Also exclude symlink when enumerating installed racks.
2015-08-06favor flat_map over map...flattenXu Cheng
2015-08-06more core file style updated by rubocopXu Cheng
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-22list: support --full-nameXu Cheng
Closes Homebrew/homebrew#29716.
2015-04-06list: exclude pypy from unbrewedDominyk Tiller
Excludes the PyPy paths from the unbrewed list, since we do the same with Python. Closes Homebrew/homebrew#38399.
2015-02-03`brew list foo` should always error when foo is not installedJack Nagel
Fixes Homebrew/homebrew#36484.
2014-11-11Exclude documentation from `brew list --unbrewed`Jack Nagel
2014-09-07Fix brew list when combining --pinned and --versionsMichael Hackner
Fixes Homebrew/homebrew#32067 Closes Homebrew/homebrew#32099. Closes Homebrew/homebrew#32134. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-01Use sort_by in PrettyListingJack Nagel
2014-06-26Pass strings, not keg objects, to execJack Nagel
2014-06-19Remove unused requireJack Nagel
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-06-17Use Pathname#subdirsJack Nagel
2014-06-07Eliminate FORMULA_META_FILES constantJack Nagel
2014-04-27brew list --versions --multipleAdam Vandenberg
With --multiple, only list formulae with multiple versions installed.
2013-08-01Improve signal-to-noise ratio of `brew list --unbrewed`Jack Nagel
Closes Homebrew/homebrew#21573.