Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c594ffefbc 
							
						 
					 
					
						
						
							
							Add Formatter::pluralize.  
						
						
						
						
					 
					
						2017-03-11 21:12:51 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							afc539f86e 
							
						 
					 
					
						
						
							
							Update brew's man page formatting and grammar  
						
						... 
						
						
						
						Also update command specifications to match descriptions. 
						
						
					 
					
						2017-02-25 17:37:57 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							a3bffe70bc 
							
						 
					 
					
						
						
							
							Use docs.brew.sh links.  
						
						
						
						
					 
					
						2017-01-04 11:13:41 +00:00 
						 
				 
			
				
					
						
							
							
								William Woodruff 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d07b9ed7f2 
							
						 
					 
					
						
						
							
							Replace Utils::JSON with corelib JSON calls.  
						
						
						
						
					 
					
						2016-11-20 20:06:25 -05:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							05a027423a 
							
						 
					 
					
						
						
							
							brew info: include options to dependencies in display  
						
						
						
						
					 
					
						2016-10-17 04:55:13 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							cafe149780 
							
						 
					 
					
						
						
							
							Merge pull request  #1145  from reitermarkus/module-function  
						
						... 
						
						
						
						Use `module_function` for `Homebrew` module. 
						
						
					 
					
						2016-10-04 10:31:49 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0ab750bf24 
							
						 
					 
					
						
						
							
							Use module_function for commands.  
						
						
						
						
					 
					
						2016-10-02 00:24:47 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							75e8b59aad 
							
						 
					 
					
						
						
							
							Add Formatter module.  
						
						
						
						
					 
					
						2016-10-01 20:00:49 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6d8ee395fa 
							
						 
					 
					
						
						
							
							Refactor Tty.  
						
						
						
						
					 
					
						2016-10-01 20:00:49 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b432f8e9cb 
							
						 
					 
					
						
						
							
							Merge pull request  #1004  from apjanke/print-requirements  
						
						... 
						
						
						
						info: print requirements 
						
						
					 
					
						2016-09-27 09:48:14 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							5aaccba34c 
							
						 
					 
					
						
						
							
							info: include versions and other details in Requirements display  
						
						
						
						
					 
					
						2016-09-24 21:39:33 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							a5b11a6a5c 
							
						 
					 
					
						
						
							
							Fix Style/GuardClause.  
						
						
						
						
					 
					
						2016-09-23 15:30:07 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b85ee1cb8f 
							
						 
					 
					
						
						
							
							Update documentation links.  
						
						
						
						
					 
					
						2016-09-20 10:41:42 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							245838d86d 
							
						 
					 
					
						
						
							
							info: print requirements  
						
						
						
						
					 
					
						2016-09-18 19:44:41 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							990ee4f36c 
							
						 
					 
					
						
						
							
							cmd/info: fix Rubocop warnings.  
						
						
						
						
					 
					
						2016-09-11 17:58:59 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							a8566c9848 
							
						 
					 
					
						
						
							
							various: eliminate the usage of any? ( #638 )  
						
						... 
						
						
						
						`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-08-05 22:01:32 +08:00 
						 
				 
			
				
					
						
							
							
								Max Nordlund 
							
						 
					 
					
						
						
						
						
							
						
						
							fa1fd70a37 
							
						 
					 
					
						
						
							
							Add all the top level comments  
						
						
						
						
					 
					
						2016-04-10 22:59:25 +02:00 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							b7e98b129c 
							
						 
					 
					
						
						
							
							cmd/options.rb: move common code in options.rb  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#47423 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr> 
					
						2015-12-27 22:16:46 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							62a623f0c3 
							
						 
					 
					
						
						
							
							info: tap is a Tap object now  
						
						
						
						
					 
					
						2015-12-09 16:56:59 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							bf2315b1f4 
							
						 
					 
					
						
						
							
							Use (installed) and emoji ticks consistently.  
						
						... 
						
						
						
						Across info, search and update.
Closes  Homebrew/homebrew#45131 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2015-12-07 14:56:30 +00:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							48950f2cc0 
							
						 
					 
					
						
						
							
							centralize the logic of handling homebrew- in Tap.fetch  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#46537 .
Signed-off-by: Xu Cheng <xucheng@me.com> 
					
						2015-12-03 13:46:59 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							3e99f16a7d 
							
						 
					 
					
						
						
							
							info: use installed_kegs  
						
						
						
						
					 
					
						2015-11-29 20:24:30 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							14fbc8c39e 
							
						 
					 
					
						
						
							
							improve brew info  
						
						... 
						
						
						
						* 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-11-16 20:59:13 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							3b520cf195 
							
						 
					 
					
						
						
							
							cache taps  
						
						... 
						
						
						
						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-30 16:25:30 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							2b835551d7 
							
						 
					 
					
						
						
							
							info: improve github_info  
						
						... 
						
						
						
						* use Homebrew.git_origin
* Handle the case git is unavailable or `.git` doesn't exist
* Handle the case origin isn't github repo 
						
						
					 
					
						2015-09-09 12:21:24 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							203cecb463 
							
						 
					 
					
						
						
							
							add Formula.racks  
						
						... 
						
						
						
						Also exclude symlink when enumerating installed racks. 
						
						
					 
					
						2015-08-14 15:52:56 +08:00 
						 
				 
			
				
					
						
							
							
								CNA-Bld 
							
						 
					 
					
						
						
						
						
							
						
						
							194618beb8 
							
						 
					 
					
						
						
							
							implement formulary#find_with_priority  
						
						
						
						
					 
					
						2015-08-10 12:17:26 +01:00 
						 
				 
			
				
					
						
							
							
								BrewTestBot 
							
						 
					 
					
						
						
						
						
							
						
						
							13d544e11e 
							
						 
					 
					
						
						
							
							Core files style updates.  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
					
						2015-08-03 13:22:35 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							7a96b6a7fa 
							
						 
					 
					
						
						
							
							info: fix plural  
						
						
						
						
					 
					
						2015-06-08 19:05:12 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							4c323cdf34 
							
						 
					 
					
						
						
							
							info: use Formula#full_name  
						
						
						
						
					 
					
						2015-05-29 17:02:22 +08:00 
						 
				 
			
				
					
						
							
							
								Nikolaus Wittenstein 
							
						 
					 
					
						
						
						
						
							
						
						
							5e73e68ab1 
							
						 
					 
					
						
						
							
							Info shows the desc if present  
						
						
						
						
					 
					
						2015-05-25 17:23:50 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							56f7208f8e 
							
						 
					 
					
						
						
							
							info: show correct file origin for formula from path or url  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#36733 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
					
						2015-02-13 11:33:51 +00:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							e547438ff4 
							
						 
					 
					
						
						
							
							cmd/info: prevent duplicate dependency display.  
						
						... 
						
						
						
						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> 
						
						
					 
					
						2015-02-08 15:53:30 +00:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							2f1d40a764 
							
						 
					 
					
						
						
							
							Disconnect defined options from the build object  
						
						
						
						
					 
					
						2014-08-10 21:45:24 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							44254aa9cf 
							
						 
					 
					
						
						
							
							Remove redundant "which git" guards  
						
						... 
						
						
						
						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. 
						
						
					 
					
						2014-07-06 14:10:52 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							2d505754e7 
							
						 
					 
					
						
						
							
							Use Formula tap methods instead of matching the path  
						
						
						
						
					 
					
						2014-07-06 13:52:04 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							4d9d01893e 
							
						 
					 
					
						
						
							
							Move deprecated Formula class methods to compat  
						
						... 
						
						
						
						These have all been moved to Formulary. 
						
						
					 
					
						2014-06-22 15:03:17 -05:00 
						 
				 
			
				
					
						
							
							
								Vladimír Kriška 
							
						 
					 
					
						
						
						
						
							
						
						
							70d0035d37 
							
						 
					 
					
						
						
							
							Show file contents instead of commits  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#30324 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com> 
					
						2014-06-21 09:14:35 -07:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							b87f9b37d6 
							
						 
					 
					
						
						
							
							Pull requires out of methods  
						
						
						
						
					 
					
						2014-06-19 17:55:04 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							10a1952d2c 
							
						 
					 
					
						
						
							
							Only "extend self" once on the Homebrew module  
						
						
						
						
					 
					
						2014-06-19 13:10:36 -05:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							48a7981c78 
							
						 
					 
					
						
						
							
							always use a top-level array for info JSON  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#29318 . 
					
						2014-05-18 15:33:43 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							d9ed121c46 
							
						 
					 
					
						
						
							
							add --installed to json info  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#29315 . 
					
						2014-05-16 09:03:12 -07:00 
						 
				 
			
				
					
						
							
							
								Tsukasa OMOTO 
							
						 
					 
					
						
						
						
						
							
						
						
							54004a4759 
							
						 
					 
					
						
						
							
							Make the on-disk representation of taps unambiguous  
						
						... 
						
						
						
						This commit supports "-" and "_" in names of user and repository.
Closes  Homebrew/homebrew#28203 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com> 
						
						
					 
					
						2014-04-24 17:10:41 -05:00 
						 
				 
			
				
					
						
							
							
								Dan Martinez 
							
						 
					 
					
						
						
						
						
							
						
						
							4303817ec7 
							
						 
					 
					
						
						
							
							separate the brew info for multiple formulae  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#27311 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com> 
					
						2014-04-23 20:41:24 -07:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							cfee535786 
							
						 
					 
					
						
						
							
							Remove now unnecessary realpath calls  
						
						
						
						
					 
					
						2014-04-06 00:31:07 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							c613ff0fad 
							
						 
					 
					
						
						
							
							Fix copy/paste error  
						
						... 
						
						
						
						Fixes  Homebrew/homebrew#27685 . 
					
						2014-03-18 22:59:44 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							7f875419c6 
							
						 
					 
					
						
						
							
							Update info command for generalized bottle implementation  
						
						
						
						
					 
					
						2014-03-10 14:56:02 -05:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							85c93ad22c 
							
						 
					 
					
						
						
							
							remove brew info --all  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#27322 . 
					
						2014-03-08 07:43:36 -08:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							d0f43ad367 
							
						 
					 
					
						
						
							
							Remove "brew info <URL>"  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#27076 . 
					
						2014-02-28 11:07:55 -06:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							39d3cfd6ae 
							
						 
					 
					
						
						
							
							info: fix on non-tty terminals.  
						
						... 
						
						
						
						References Homebrew/homebrew#18922 .
Closes  Homebrew/homebrew#24188 .
Closes  Homebrew/homebrew#24190 . 
						
						
					 
					
						2013-11-11 22:15:24 +00:00