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 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							0ef21ddf87 
							
						 
					 
					
						
						
							
							analytics: move to a class.  
						
						... 
						
						
						
						Global namespaces are good to avoid when possible. 
						
						
					 
					
						2016-05-03 14:21:08 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							05efd70dc3 
							
						 
					 
					
						
						
							
							Analytics: Separate user-supplied and internal-use DISABLE_ANALYTICS ( #155 )  
						
						... 
						
						
						
						This prevents `brew` self-calls from interacting with the stickiness of
HOMEBREW_NO_ANALYTICS being persisted to the brew repo and accidentally
disabling analytics permanently when it should have been for just one run,
while restoring the stickiness of an explicit user-supplied
HOMEBREW_NO_ANALYTICS. 
						
						
					 
					
						2016-04-26 04:28:38 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							1451553188 
							
						 
					 
					
						
						
							
							Ship analytics for Homebrew.  
						
						... 
						
						
						
						For more information and opt-out instructions please read:
https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md#analytics  
						
						
					 
					
						2016-04-23 14:27:09 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							0c85113053 
							
						 
					 
					
						
						
							
							Homebrew (opt-in) Analytics tweaks. ( #57 )  
						
						... 
						
						
						
						- add `HOMEBREW_PRODUCT` global variable
- only differentiate between `/usr/local` and `non-/usr/local` Homebrew
  prefixes to avoid sharing sensitive user information
- note if e.g. build errors are occurring under CI
- Add `HOMEBREW_NO_ANALYTICS` variable (this will be how people opt-out
  when this is enabled for everyone)
- Add `HOMEBREW_ANALYTICS_DEBUG` variable to output all the analytics
  that are sent
- Move Bash analytics code to `Library/Homebrew/utils/analytics.sh`
- Add documentation for our analytics and why/what/when/how and opt-out
- Only official Homebrew commands are reported
- Ruby analytics are now reported in a forked, background process 
						
						
					 
					
						2016-04-12 11:02:22 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							8ab2fb6868 
							
						 
					 
					
						
						
							
							analytics: avoid unnecessary string interpolation  
						
						
						
						
					 
					
						2016-04-07 08:25:41 +02:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							e747648c53 
							
						 
					 
					
						
						
							
							always prefer HOMEBREW_CURL over plain 'curl'  
						
						
						
						
					 
					
						2016-04-07 08:25:41 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos D'Agostino 
							
						 
					 
					
						
						
						
						
							
						
						
							fa3c55aa65 
							
						 
					 
					
						
						
							
							utils/analytics: fix usage of undefined variable.  
						
						
						
						
					 
					
						2016-04-04 17:14:03 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							1238c65ba1 
							
						 
					 
					
						
						
							
							utils: add analytics functions.  
						
						
						
						
					 
					
						2016-04-04 12:27:47 +01:00