Gautham Goli 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b808c43cc 
							
						 
					 
					
						
						
							
							info: Use CLI::Parser to parse args  
						
						
						
						
					 
					
						2018-12-10 23:22:13 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab99b55108 
							
						 
					 
					
						
						
							
							info: tweak analytics behaviour.  
						
						... 
						
						
						
						- Make `--verbose` and `--analytics` behave differently.
- Allow `--analytics` to return results for formulae that don't exist
  (but are in the top 10,000 installed formulae). 
						
						
					 
					
						2018-10-21 13:07:08 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0617dc1c1d 
							
						 
					 
					
						
						
							
							info: make verbose analytics use tabular output.  
						
						... 
						
						
						
						This copies (and slightly improves) the current `brew formula-analytics`
output so `brew formula-analytics` can be adjusted to just output JSON. 
						
						
					 
					
						2018-10-20 12:06:25 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							16618d0fc7 
							
						 
					 
					
						
						
							
							Use ActiveSupport’s #pluralize and #to_sentence.  
						
						
						
						
					 
					
						2018-10-07 23:10:56 +02:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							b2b8f632bb 
							
						 
					 
					
						
						
							
							docs: distinguish <code> and <var> in HTML output  
						
						... 
						
						
						
						Replace <var> tags with markup for italicized monospaced text in Markdown.
This requires the source to not combine bracketed and backticked text. 
						
						
					 
					
						2018-10-06 00:51:13 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b9ea49a1 
							
						 
					 
					
						
						
							
							Update to RuboCop 0.59.1.  
						
						
						
						
					 
					
						2018-09-17 03:45:59 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							be983cfcdf 
							
						 
					 
					
						
						
							
							info: also make verbose output readable.  
						
						
						
						
					 
					
						2018-09-13 09:07:43 +01:00 
						 
				 
			
				
					
						
							
							
								Z. Grace Moreau 
							
						 
					 
					
						
						
						
						
							
						
						
							0aadc1e4e6 
							
						 
					 
					
						
						
							
							use 'number_readable' when displaying analytics  
						
						
						
						
					 
					
						2018-09-12 14:47:40 -06:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c60fe60377 
							
						 
					 
					
						
						
							
							cmd/info: display analytics data.  
						
						... 
						
						
						
						When users don't have `HOMEBREW_NO_ANALYTICS` or
`HOMEBREW_NO_GITHUB_API` set let's display some analytics data in
`brew info`. This should be useful for both maintainers and for users of
Homebrew.
Note this by default combines all installs across options for a single
number; for formulae with lots of options it's a bit overwhelming to
print the installs per-option. However, for `HOMEBREW_DEVELOPER`s print
the full output.
Sample non-developer output:
```console
$ brew info wget
wget: stable 1.19.5 (bottled), HEAD
Internet file retriever
https://www.gnu.org/software/wget/ 
/usr/local/Cellar/wget/1.19.5 (49 files, 3.7MB) *
  Built from source on 2018-09-03 at 20:46:32
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/wget.rb 
==> Dependencies
Build: pkg-config ✔
Required: libidn2 ✔, openssl ✔
Optional: pcre ✔, libmetalink ✘, gpgme ✘
==> Options
--with-debug
	Build with debug support
--with-gpgme
	Build with gpgme support
--with-libmetalink
	Build with libmetalink support
--with-pcre
	Build with pcre support
--HEAD
	Install HEAD version
==> Analytics
install: 84638 (30d), 353800 (90d), 1372775 (365d)
install_on_request: 77926 (30d), 291305 (90d), 1044898 (365d)
build_error: 11 (30d)
```
Sample developer output:
```console
$ brew info wget
wget: stable 1.19.5 (bottled), HEAD
Internet file retriever
https://www.gnu.org/software/wget/ 
/usr/local/Cellar/wget/1.19.5 (49 files, 3.7MB) *
  Built from source on 2018-09-03 at 20:46:32
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/wget.rb 
==> Dependencies
Build: pkg-config ✔
Required: libidn2 ✔, openssl ✔
Optional: pcre ✔, libmetalink ✘, gpgme ✘
==> Options
--with-debug
	Build with debug support
--with-gpgme
	Build with gpgme support
--with-libmetalink
	Build with libmetalink support
--with-pcre
	Build with pcre support
--HEAD
	Install HEAD version
==> Analytics
==> install (30d)
wget: 84516
wget --with-debug: 51
wget --with-libressl: 16
wget --with-pcre: 14
wget --with-pcre --with-libmetalink --with-gpgme: 12
wget --with-debug --with-pcre --with-libmetalink --with-gpgme: 8
wget --HEAD: 3
wget --HEAD --with-debug --with-libmetalink --with-gpgme: 3
wget --with-gpgme: 3
wget --with-libmetalink: 3
wget --with-pcre --with-libmetalink: 3
wget --with-debug --with-pcre: 2
wget --with-libmetalink --with-gpgme: 2
wget --with-pcre --with-gpgme: 2
==> install (90d)
wget: 353131
wget --with-debug: 188
wget --with-pcre: 138
wget --with-pcre --with-libmetalink --with-gpgme: 118
wget --with-libressl: 81
wget --with-debug --with-pcre --with-libmetalink --with-gpgme: 47
wget --with-pcre --with-libmetalink: 31
wget --HEAD: 13
wget --with-pcre --with-gpgme: 12
wget --with-gpgme: 11
wget --with-debug --with-pcre: 10
wget --with-libmetalink: 8
wget --HEAD --with-pcre --with-libmetalink --with-gpgme: 4
wget --with-debug --with-pcre --with-libmetalink: 4
wget --with-libmetalink --with-gpgme: 4
==> install (365d)
wget: 1369530
wget --with-pcre: 810
wget --with-debug: 649
wget --with-pcre --with-libmetalink --with-gpgme: 554
wget --with-libressl: 479
wget --with-debug --with-pcre --with-libmetalink --with-gpgme: 235
wget --with-pcre --with-libmetalink: 184
wget --with-gpgme: 67
wget --with-pcre --with-gpgme: 67
wget --with-debug --with-pcre: 65
wget --HEAD: 54
wget --with-libmetalink: 30
wget --with-libmetalink --with-gpgme: 27
wget --with-debug --with-pcre --with-libmetalink: 24
==> install_on_request (30d)
wget: 77827
wget --with-debug: 48
wget --with-pcre: 12
wget --with-pcre --with-libmetalink --with-gpgme: 11
wget --with-debug --with-pcre --with-libmetalink --with-gpgme: 8
wget --HEAD: 3
wget --HEAD --with-debug --with-libmetalink --with-gpgme: 3
wget --with-gpgme: 3
wget --with-libmetalink: 3
wget --with-debug --with-pcre: 2
wget --with-libmetalink --with-gpgme: 2
wget --with-pcre --with-gpgme: 2
wget --with-pcre --with-libmetalink: 2
==> install_on_request (90d)
wget: 290818
wget --with-debug: 157
wget --with-pcre --with-libmetalink --with-gpgme: 101
wget --with-pcre: 100
wget --with-debug --with-pcre --with-libmetalink --with-gpgme: 42
wget --with-pcre --with-libmetalink: 30
wget --HEAD: 13
wget --with-pcre --with-gpgme: 11
wget --with-gpgme: 10
wget --with-debug --with-pcre: 8
wget --with-libmetalink: 7
wget --HEAD --with-pcre --with-libmetalink --with-gpgme: 4
wget --with-debug --with-pcre --with-libmetalink: 4
==> install_on_request (365d)
wget: 1042845
wget --with-pcre: 504
wget --with-debug: 458
wget --with-pcre --with-libmetalink --with-gpgme: 432
wget --with-debug --with-pcre --with-libmetalink --with-gpgme: 201
wget --with-pcre --with-libmetalink: 158
wget --with-gpgme: 61
wget --HEAD: 54
wget --with-pcre --with-gpgme: 49
wget --with-debug --with-pcre: 47
wget --with-debug --with-pcre --with-libmetalink: 24
wget --with-libressl: 23
wget --with-libmetalink: 22
wget --with-libmetalink --with-gpgme: 20
==> build_error (30d)
wget: 9
wget --HEAD: 1
wget --with-debug: 1
``` 
						
						
					 
					
						2018-09-06 14:18:30 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							80d75bc0d8 
							
						 
					 
					
						
						
							
							Homebrew/.rubocop: tweak rules.  
						
						... 
						
						
						
						Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules. 
						
						
					 
					
						2018-09-02 20:15:09 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							16fb563d49 
							
						 
					 
					
						
						
							
							Refactor MissingFormula spec.  
						
						
						
						
					 
					
						2018-04-20 19:11:22 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ba4ac75543 
							
						 
					 
					
						
						
							
							Merge pull request  #3836  from alyssais/info_sort  
						
						... 
						
						
						
						info: sort HEAD keys by install date 
						
						
					 
					
						2018-03-06 08:35:00 +00:00 
						 
				 
			
				
					
						
							
							
								Alyssa Ross 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							adb8c252b0 
							
						 
					 
					
						
						
							
							info: sort HEAD keys by install date  
						
						... 
						
						
						
						This makes a lot more sense than sorting alphabetically by commit hash,
the previous behaviour. 
						
						
					 
					
						2018-02-26 09:21:38 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							f2ce6489b2 
							
						 
					 
					
						
						
							
							Use more docs.brew.sh short links  
						
						... 
						
						
						
						These are nicer on the eyes. 
						
						
					 
					
						2018-02-22 19:46:58 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							1d2b4ed321 
							
						 
					 
					
						
						
							
							docs: add more missing option descriptions  
						
						... 
						
						
						
						and improve wording or formatting where necessary. 
						
						
					 
					
						2018-02-01 16:06:17 -05:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							ebd50d136f 
							
						 
					 
					
						
						
							
							info: show spec options for optionless formulae  
						
						... 
						
						
						
						Previsiouly, info would not display --HEAD or --devel for formulae that
had no options other than those spec options. 
						
						
					 
					
						2018-01-18 00:03:10 -08:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							9bee9ca575 
							
						 
					 
					
						
						
							
							Use “squiggly” heredocs.  
						
						
						
						
					 
					
						2017-10-18 14:39:09 +02:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9a323c5107 
							
						 
					 
					
						
						
							
							info: pass explicit sort to handle APFS  
						
						
						
						
					 
					
						2017-10-14 06:44:37 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							baa61f5a6e 
							
						 
					 
					
						
						
							
							Use https for all docs.brew.sh links.  
						
						... 
						
						
						
						May as well use the more secure link when possible. 
						
						
					 
					
						2017-07-27 15:59:37 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							3b4ee58c49 
							
						 
					 
					
						
						
							
							Refactor using Forwardable and DelegateClass.  
						
						
						
						
					 
					
						2017-06-28 09:25:31 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							7a0aff1080 
							
						 
					 
					
						
						
							
							Autocorrect Rubocop Style/PerlBackrefs.  
						
						
						
						
					 
					
						2017-06-10 20:23:20 +03:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							2b726383f1 
							
						 
					 
					
						
						
							
							info: fix conflicts formatting.  
						
						
						
						
					 
					
						2017-05-16 10:05:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							8e2198ff01 
							
						 
					 
					
						
						
							
							info: tweak conflicts output code.  
						
						
						
						
					 
					
						2017-05-15 10:40:07 +01:00 
						 
				 
			
				
					
						
							
							
								John Hawkinson 
							
						 
					 
					
						
						
						
						
							
						
						
							33d4c95a28 
							
						 
					 
					
						
						
							
							info: use more string interpolation  
						
						
						
						
					 
					
						2017-05-14 15:09:01 -04:00 
						 
				 
			
				
					
						
							
							
								John Hawkinson 
							
						 
					 
					
						
						
						
						
							
						
						
							b0d25d83fe 
							
						 
					 
					
						
						
							
							info: rubocop  
						
						
						
						
					 
					
						2017-04-09 17:14:09 -04:00 
						 
				 
			
				
					
						
							
							
								John Hawkinson 
							
						 
					 
					
						
						
						
						
							
						
						
							971e53c001 
							
						 
					 
					
						
						
							
							info: Print reason for conflicts where available  
						
						
						
						
					 
					
						2017-04-09 15:23:53 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							e55f3a0cc5 
							
						 
					 
					
						
						
							
							info: immediately print FormulaUnavailableError.  
						
						
						
						
					 
					
						2017-03-23 08:39:29 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							f59eb358c2 
							
						 
					 
					
						
						
							
							missing_formula: subsume historic logic.  
						
						... 
						
						
						
						These methods belong together so combine them in a single class to
provide a simpler API. 
						
						
					 
					
						2017-03-20 20:37:12 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							80e95b684e 
							
						 
					 
					
						
						
							
							blacklist: move to missing_formula class instead.  
						
						... 
						
						
						
						This will allow extending this class so it can be used by more than
just blacklisting. 
						
						
					 
					
						2017-03-20 18:20:31 +02:00 
						 
				 
			
				
					
						
							
							
								Zhiming Wang 
							
						 
					 
					
						
						
						
						
							
						
						
							1c10a6260f 
							
						 
					 
					
						
						
							
							Hint at new location of migrated formulae  
						
						... 
						
						
						
						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-20 18:20:31 +02:00 
						 
				 
			
				
					
						
							
							
								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