Kyle Smith 
							
						 
					 
					
						
						
						
						
							
						
						
							7866a4b586 
							
						 
					 
					
						
						
							
							feat: support user-configured Google Analytics reporting  
						
						... 
						
						
						
						Allow users to set a custom Google Analytics tracking ID to report user behaviour
via new environment variable: $HOMEBREW_ADDITIONAL_GOOGLE_ANALYTICS_ID.
If provided, this tracking ID will be used _in addition to_ the default tracking
ID used by <https://brew.sh/analytics/ >. 
						
						
					 
					
						2021-10-19 10:49:43 -05:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b2a504207 
							
						 
					 
					
						
						
							
							Fix API fetch methods in Utils::Analytics  
						
						
						
						
					 
					
						2021-08-09 18:39:49 -04:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							737dd1654b 
							
						 
					 
					
						
						
							
							Refactor API methods  
						
						
						
						
					 
					
						2021-08-06 04:31:27 -04:00 
						 
				 
			
				
					
						
							
							
								Nanda H Krishna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5ccfbcd1d2 
							
						 
					 
					
						
						
							
							Autocorrect style issues with brew style --fix  
						
						
						
						
					 
					
						2021-07-08 12:36:39 +05:30 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
						
						
							
						
						
							4b8477ba70 
							
						 
					 
					
						
						
							
							Completions, Settings: move to Homebrew namespace  
						
						
						
						
					 
					
						2021-01-13 11:20:28 -05:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
						
						
							
						
						
							f1f3fdc315 
							
						 
					 
					
						
						
							
							settings: add module for managing git config settings  
						
						
						
						
					 
					
						2021-01-12 16:27:25 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8af4895479 
							
						 
					 
					
						
						
							
							Improve submitted analytics data  
						
						... 
						
						
						
						- Use default `custom-prefix` label on macOS ARM (as `/usr/local` is
  not the default).
- Add architecture (or Rosetta) to analytics event label.
- Don't send minor versions on Big Sur.
- Remove defunct `HOMEBREW_OSX_VERSION` reference. 
						
						
					 
					
						2021-01-07 09:28:40 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6750448d95 
							
						 
					 
					
						
						
							
							Fix some auto-correctable type errors.  
						
						
						
						
					 
					
						2020-11-29 21:23:54 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							8598b1186a 
							
						 
					 
					
						
						
							
							Handle macOS versions >= 11.1 correctly.  
						
						
						
						
					 
					
						2020-11-23 13:46:15 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							da9289eff0 
							
						 
					 
					
						
						
							
							Add more type signatures.  
						
						
						
						
					 
					
						2020-11-13 12:26:36 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							8b97c27c21 
							
						 
					 
					
						
						
							
							brew style manual fixes  
						
						
						
						
					 
					
						2020-09-01 14:26:45 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							e09147fe75 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2020-09-01 14:26:45 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							fd3225c89c 
							
						 
					 
					
						
						
							
							Document Analytics.  
						
						
						
						
					 
					
						2020-08-26 03:13:59 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							490e503b1b 
							
						 
					 
					
						
						
							
							Replace Homebrew.args with Context.  
						
						
						
						
					 
					
						2020-08-06 16:13:14 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6c050492ee 
							
						 
					 
					
						
						
							
							Pass args to Analytics instead of using global args.  
						
						
						
						
					 
					
						2020-07-25 03:57:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ebb1c2885 
							
						 
					 
					
						
						
							
							Merge pull request  #7580  from tharun208/brew-cask-analytics  
						
						... 
						
						
						
						Added analytics for cask info 
						
						
					 
					
						2020-05-20 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Tharun 
							
						 
					 
					
						
						
						
						
							
						
						
							7186600a5c 
							
						 
					 
					
						
						
							
							renamed get_formulae_api  
						
						
						
						
					 
					
						2020-05-19 14:59:43 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9f493a7f6 
							
						 
					 
					
						
						
							
							Pass FormulaInstaller#display_options to BuildError.  
						
						... 
						
						
						
						This should improve the output in analytics. 
						
						
					 
					
						2020-05-18 12:46:25 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f5b6a90fd0 
							
						 
					 
					
						
						
							
							utils/analytics: fix options reporting.  
						
						... 
						
						
						
						Check we have a non-empty `options` and convert them all to human
readable strings. 
						
						
					 
					
						2020-05-18 08:50:51 +01:00 
						 
				 
			
				
					
						
							
							
								Tharun 
							
						 
					 
					
						
						
						
						
							
						
						
							2a62be0875 
							
						 
					 
					
						
						
							
							Refractored analytics to support analytics for cask  
						
						
						
						
					 
					
						2020-05-17 01:38:11 +05:30 
						 
				 
			
				
					
						
							
							
								Tharun 
							
						 
					 
					
						
						
						
						
							
						
						
							139ca1d374 
							
						 
					 
					
						
						
							
							Updated analytics method name for cask info  
						
						
						
						
					 
					
						2020-05-17 00:31:12 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3381cbf5c7 
							
						 
					 
					
						
						
							
							Use Homebrew::EnvConfig.  
						
						
						
						
					 
					
						2020-04-07 09:58:26 +01:00 
						 
				 
			
				
					
						
							
							
								Vítor Galvão 
							
						 
					 
					
						
						
						
						
							
						
						
							2e8aa3eb97 
							
						 
					 
					
						
						
							
							Use long --disable instead of short -q in curl  
						
						
						
						
					 
					
						2020-03-29 20:04:37 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8f98b2bcc4 
							
						 
					 
					
						
						
							
							analytics: tweak behaviour.  
						
						... 
						
						
						
						- Use separate method for `not_this_run?` so we can still set the
  analytics message as seen when set.
- Clarify when analytics message is printed that we haven't sent any
  analytics yet. 
						
						
					 
					
						2020-02-22 17:13:51 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6d6d2c0bbf 
							
						 
					 
					
						
						
							
							utils/analytics: fix refactoring rename.  
						
						... 
						
						
						
						Fixes a bug from #6639 . 
						
						
					 
					
						2019-11-22 10:39:16 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a9f585ebb 
							
						 
					 
					
						
						
							
							Move more code to utils/analytics.  
						
						
						
						
					 
					
						2019-11-22 09:10:29 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4f72312ce 
							
						 
					 
					
						
						
							
							Fixup brew style failures.  
						
						
						
						
					 
					
						2019-04-30 09:19:18 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							234e4aec96 
							
						 
					 
					
						
						
							
							Improve use of default_prefix? in tests.  
						
						
						
						
					 
					
						2019-01-21 14:33:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							699d543ecd 
							
						 
					 
					
						
						
							
							Use Homebrew.default_prefix? in more places.  
						
						
						
						
					 
					
						2019-01-21 12:37:42 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c2d23838d0 
							
						 
					 
					
						
						
							
							analytics: fix display of build error options.  
						
						... 
						
						
						
						Currently these are all like `wget #<Options:0x0000000101171658>`. 
						
						
					 
					
						2018-10-13 15:09:03 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							6bd0379449 
							
						 
					 
					
						
						
							
							Utils::Analytics.custom_prefix_label: Fix typo  
						
						... 
						
						
						
						Change generic-prefix to custom-prefix. 
						
						
					 
					
						2018-09-18 09:49:19 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b9ea49a1 
							
						 
					 
					
						
						
							
							Update to RuboCop 0.59.1.  
						
						
						
						
					 
					
						2018-09-17 03:45:59 +02:00 
						 
				 
			
				
					
						
							
							
								Chongyu Zhu 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							93cac4ccee 
							
						 
					 
					
						
						
							
							utils/analytics: make curl respect HOMEBREW_CURLRC  
						
						
						
						
					 
					
						2018-09-14 18:50:03 +08:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							f6093961ef 
							
						 
					 
					
						
						
							
							Add Homebrew::DEFAULT_PREFIX for Linux  
						
						... 
						
						
						
						The default prefix is /usr/local on macOS
and /home/linuxbrew/.linuxbrew on Linux. 
						
						
					 
					
						2018-09-11 09:57:08 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							83cca40fc9 
							
						 
					 
					
						
						
							
							RuboCop 0.53.0 manual fixes.  
						
						
						
						
					 
					
						2018-03-08 14:10:02 +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 
						 
				 
			
				
					
						
							
							
								mansimarkaur 
							
						 
					 
					
						
						
						
						
							
						
						
							1dd7e9d95b 
							
						 
					 
					
						
						
							
							Modified clear_anonymous_os_prefix_ci_cache  
						
						
						
						
					 
					
						2017-08-29 16:36:46 +05:30 
						 
				 
			
				
					
						
							
							
								mansimarkaur 
							
						 
					 
					
						
						
						
						
							
						
						
							413d35b82f 
							
						 
					 
					
						
						
							
							Added clear_anonymous_os_prefix_ci_cache  
						
						
						
						
					 
					
						2017-08-29 16:24:19 +05:30 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							99c897acad 
							
						 
					 
					
						
						
							
							BuildError: report options to analytics.  
						
						... 
						
						
						
						Without this it's not easy to make much sense of these failures. 
						
						
					 
					
						2017-06-09 14:53:01 +03:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							5367f1b408 
							
						 
					 
					
						
						
							
							analytics: remove unused analytics.  
						
						... 
						
						
						
						We didn't end up using the `screenview` and `exception` analytics as
much as expected so let's remove them and focus on stuff that's
formula-specific. 
						
						
					 
					
						2017-06-07 16:34:54 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							a3bffe70bc 
							
						 
					 
					
						
						
							
							Use docs.brew.sh links.  
						
						
						
						
					 
					
						2017-01-04 11:13:41 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							ebe45490b6 
							
						 
					 
					
						
						
							
							analytics: don't raise if tap doesn't exist.  
						
						
						
						
					 
					
						2016-12-11 13:43:32 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b85ee1cb8f 
							
						 
					 
					
						
						
							
							Update documentation links.  
						
						
						
						
					 
					
						2016-09-20 10:41:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							3982950e61 
							
						 
					 
					
						
						
							
							rubocop --auto-correct all hash-rocket usage.  
						
						
						
						
					 
					
						2016-09-17 16:14:13 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							18e933016c 
							
						 
					 
					
						
						
							
							analytics.rb: URL encode reported data.  
						
						
						
						
					 
					
						2016-08-09 19:41:30 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							2e360112e4 
							
						 
					 
					
						
						
							
							analytics.*: use curl --data for readability.  
						
						
						
						
					 
					
						2016-08-09 19:41:30 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							222b730415 
							
						 
					 
					
						
						
							
							analytics.*: output curl command in debug mode.  
						
						
						
						
					 
					
						2016-08-09 19:41:30 +01:00