hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							7be216fcbe 
							
						 
					 
					
						
						
							
							change function name  
						
						
						
						
					 
					
						2020-12-17 21:07:43 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							d7f9bb6247 
							
						 
					 
					
						
						
							
							add function to define path  
						
						
						
						
					 
					
						2020-12-17 21:07:43 +09:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							44cdb0f66c 
							
						 
					 
					
						
						
							
							info.rb: correctly check if the formula is bottled  
						
						... 
						
						
						
						Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2020-12-08 10:26:07 -06:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9216d8abe6 
							
						 
					 
					
						
						
							
							rubocop-rails: make fixes.  
						
						
						
						
					 
					
						2020-12-02 10:43:04 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							311c10636b 
							
						 
					 
					
						
						
							
							Deprecation fixes  
						
						... 
						
						
						
						- `brew uninstall --zap` replaces `brew cask zap`
- clarify how `--json` should behave
Fixes https://github.com/Homebrew/brew/issues/9296  
						
						
					 
					
						2020-11-25 16:33:16 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							9140b21d80 
							
						 
					 
					
						
						
							
							Support --cask flag in brew info.  
						
						
						
						
					 
					
						2020-11-20 10:36:15 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							dd1830e1e3 
							
						 
					 
					
						
						
							
							info: restore printing of statistics  
						
						
						
						
					 
					
						2020-11-13 13:58:52 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							da9289eff0 
							
						 
					 
					
						
						
							
							Add more type signatures.  
						
						
						
						
					 
					
						2020-11-13 12:26:36 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60046ac41c 
							
						 
					 
					
						
						
							
							Merge pull request  #8893  from whoiswillma/william/integrate-brew-info  
						
						... 
						
						
						
						cmd/info: Add support for casks in brew info 
						
						
					 
					
						2020-10-26 11:59:53 +00:00 
						 
				 
			
				
					
						
							
							
								William Ma 
							
						 
					 
					
						
						
						
						
							
						
						
							a463348631 
							
						 
					 
					
						
						
							
							cli/named_args: Rename method to be more consistent  
						
						
						
						
					 
					
						2020-10-12 09:22:29 -04:00 
						 
				 
			
				
					
						
							
							
								William Ma 
							
						 
					 
					
						
						
						
						
							
						
						
							4c36cf2e8e 
							
						 
					 
					
						
						
							
							cmd/info: Add --json=v2 for outputing formula and cask json  
						
						
						
						
					 
					
						2020-10-10 16:34:01 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								William Ma 
							
						 
					 
					
						
						
						
						
							
						
						
							9a8f4c7c96 
							
						 
					 
					
						
						
							
							cmd/info: Add support for casks  
						
						
						
						
					 
					
						2020-10-09 19:57:48 -04:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							137d33290f 
							
						 
					 
					
						
						
							
							show cask info on browser  
						
						
						
						
					 
					
						2020-09-28 13:10:06 +09:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
						
						
							
						
						
							a8bcd92628 
							
						 
					 
					
						
						
							
							deprecate_disable: refactor and add to info  
						
						
						
						
					 
					
						2020-09-07 13:00:02 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							2e5272d04c 
							
						 
					 
					
						
						
							
							Deprecate/disable code for Homebrew 2.5.0.  
						
						... 
						
						
						
						Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code. 
						
						
					 
					
						2020-09-03 10:34:22 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							8b97c27c21 
							
						 
					 
					
						
						
							
							brew style manual fixes  
						
						
						
						
					 
					
						2020-09-01 14:26:45 +01:00 
						 
				 
			
				
					
						
							
							
								William Ma 
							
						 
					 
					
						
						
						
						
							
						
						
							fa7bd3bff6 
							
						 
					 
					
						
						
							
							args: Migrate usage of args loading methods to args.named  
						
						
						
						
					 
					
						2020-08-23 09:02:20 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							338fe0b6e0 
							
						 
					 
					
						
						
							
							Merge pull request  #8397  from reitermarkus/document-options  
						
						... 
						
						
						
						Refactor and document `Options`. 
						
						
					 
					
						2020-08-20 05:00:12 +02:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
						
						
							
						
						
							60ec30d41e 
							
						 
					 
					
						
						
							
							formula: update license specification  
						
						
						
						
					 
					
						2020-08-19 12:48:50 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							5540eac625 
							
						 
					 
					
						
						
							
							Refactor and document Options.  
						
						
						
						
					 
					
						2020-08-19 10:40:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fb0268da7e 
							
						 
					 
					
						
						
							
							license: handle "Public Domain".  
						
						... 
						
						
						
						Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`. 
						
						
					 
					
						2020-08-04 10:47:41 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							d4c2ffd705 
							
						 
					 
					
						
						
							
							Refactor CLI::Parser.  
						
						
						
						
					 
					
						2020-07-31 15:07:17 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							05365b5542 
							
						 
					 
					
						
						
							
							Pass args more explicitly in FormulaInstaller.  
						
						
						
						
					 
					
						2020-07-30 03:21:12 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5606817293 
							
						 
					 
					
						
						
							
							info: handle license array.  
						
						... 
						
						
						
						Fixes https://github.com/Homebrew/brew/issues/8132  
						
						
					 
					
						2020-07-29 11:01:37 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6c050492ee 
							
						 
					 
					
						
						
							
							Pass args to Analytics instead of using global args.  
						
						
						
						
					 
					
						2020-07-25 03:57:43 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							25b3632c4c 
							
						 
					 
					
						
						
							
							Pass args to ENV instead of using global args.  
						
						
						
						
					 
					
						2020-07-25 03:57:43 +02:00 
						 
				 
			
				
					
						
							
							
								Lionell 
							
						 
					 
					
						
						
						
						
							
						
						
							ff7a80ebf5 
							
						 
					 
					
						
						
							
							Merge branch 'master' into license  
						
						
						
						
					 
					
						2020-06-25 21:51:39 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ac0665daff 
							
						 
					 
					
						
						
							
							Refer to default branch in links with HEAD  
						
						... 
						
						
						
						Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so). 
						
						
					 
					
						2020-06-25 11:38:40 +01:00 
						 
				 
			
				
					
						
							
							
								Lionell 
							
						 
					 
					
						
						
						
						
							
						
						
							57fd1fdc7e 
							
						 
					 
					
						
						
							
							Merge branch 'master' into license  
						
						
						
						
					 
					
						2020-06-25 13:42:27 +08:00 
						 
				 
			
				
					
						
							
							
								rmnull 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f4e61062c 
							
						 
					 
					
						
						
							
							brew info --analytics --days=30  and --days 30 both are valid. Added this for --category as well.  
						
						
						
						
					 
					
						2020-06-20 02:09:22 +05:30 
						 
				 
			
				
					
						
							
							
								William Ma 
							
						 
					 
					
						
						
						
						
							
						
						
							864cc76b3b 
							
						 
					 
					
						
						
							
							Print license information in brew info  
						
						
						
						
					 
					
						2020-06-10 12:29:54 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd343c0578 
							
						 
					 
					
						
						
							
							cmd/info: fix missing formula reference.  
						
						... 
						
						
						
						Fixes  #7639  
					
						2020-05-23 16:32:39 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4f75a77b08 
							
						 
					 
					
						
						
							
							Update deprecations  
						
						... 
						
						
						
						Add more deprecations, disable deprecations and remove disabled code. 
						
						
					 
					
						2020-05-18 13:50:46 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7fe0ed847 
							
						 
					 
					
						
						
							
							cmd: use more and cleanup new args APIs.  
						
						
						
						
					 
					
						2020-03-05 09:40:15 +00:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							685a6b4da6 
							
						 
					 
					
						
						
							
							ARGV: Replace usages of ARGV.named with Homebrew.args.named  
						
						
						
						
					 
					
						2019-12-18 20:38:21 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4f732a0170 
							
						 
					 
					
						
						
							
							cmd/info: fix --json argument handling.  
						
						... 
						
						
						
						`--all` and `--installed` do not require formulae arguments.
Fixes https://github.com/Homebrew/brew/issues/6842  
						
						
					 
					
						2019-12-16 11:23:55 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							90e830c19e 
							
						 
					 
					
						
						
							
							cmd: add raises for invalid input  
						
						
						
						
					 
					
						2019-12-15 00:04:45 -05:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							2f7c3afeb8 
							
						 
					 
					
						
						
							
							cmd: improve wording of messages, spacing  
						
						
						
						
					 
					
						2019-12-15 00:04:45 -05:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							22e25dd593 
							
						 
					 
					
						
						
							
							argv: move formulae to cli/args  
						
						
						
						
					 
					
						2019-12-11 16:36:23 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a9f585ebb 
							
						 
					 
					
						
						
							
							Move more code to utils/analytics.  
						
						
						
						
					 
					
						2019-11-22 09:10:29 +00:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							727f9671c7 
							
						 
					 
					
						
						
							
							info: show Linux formulae details and analytics  
						
						... 
						
						
						
						- This makes use of the new /api/formula-linux and /api/analytics-linux
  endpoints in formulae.brew.sh to give Linux users up to date formula and
  analytics info for their installed core formulae.
Before, on Linux, the macOS stats for the `ack` formula:
```
$ brew info ack
[...]
==> Analytics
install: 12,422 (30 days), 32,742 (90 days), 97,788 (365 days)
install_on_request: 10,778 (30 days), 28,339 (90 days), 85,202 (365 days)
build_error: 0 (30 days)
```
Now, on Linux, the Linux stats for the `ack` formula:
```
$ brew info ack
[...]
==> Analytics
install: 95 (30 days), 242 (90 days), 737 (365 days)
install_on_request: 94 (30 days), 241 (90 days), 734 (365 days)
build_error: 0 (30 days)
``` 
						
						
					 
					
						2019-11-22 09:10:29 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							7ae87373ed 
							
						 
					 
					
						
						
							
							info: raise on invalid category for formula analytics  
						
						
						
						
					 
					
						2019-11-21 11:45:50 -05:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							4cd2775d4f 
							
						 
					 
					
						
						
							
							info: use hyphenated category names for formula analytics  
						
						
						
						
					 
					
						2019-11-20 20:47:05 -05:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							1ab86acb0f 
							
						 
					 
					
						
						
							
							move methods to analytics_table function  
						
						
						
						
					 
					
						2019-11-15 01:25:54 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							af59951c0e 
							
						 
					 
					
						
						
							
							fix style  
						
						
						
						
					 
					
						2019-11-13 23:00:32 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							1afd271a13 
							
						 
					 
					
						
						
							
							check whether args is valid  
						
						... 
						
						
						
						whether args days is in valid_days and args category is in valid_categories 
						
						
					 
					
						2019-11-13 22:51:57 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							8244a869f6 
							
						 
					 
					
						
						
							
							add empty line after guard clause  
						
						
						
						
					 
					
						2019-11-09 13:11:55 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							ff94e64ee6 
							
						 
					 
					
						
						
							
							info --analytics handle days and category args  
						
						
						
						
					 
					
						2019-11-09 13:08:28 +09:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							b1d0c61fea 
							
						 
					 
					
						
						
							
							Update Gems.  
						
						
						
						
					 
					
						2019-10-03 09:22:44 +02:00