EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							a427de5bee 
							
						 
					 
					
						
						
							
							capitalization fixes  
						
						... 
						
						
						
						"curl" is the binary, while "cURL" is the umbrella project. 
						
						
					 
					
						2021-01-26 15:36:44 -05:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							571179ff0e 
							
						 
					 
					
						
						
							
							pass second argument to ohai when applicable  
						
						
						
						
					 
					
						2021-01-26 15:36:43 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							cf169e5270 
							
						 
					 
					
						
						
							
							Fix type errors in Sandbox.  
						
						
						
						
					 
					
						2020-11-29 21:23:54 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							da9289eff0 
							
						 
					 
					
						
						
							
							Add more type signatures.  
						
						
						
						
					 
					
						2020-11-13 12:26:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan Chang 
							
						 
					 
					
						
						
						
						
							
						
						
							ab7b757400 
							
						 
					 
					
						
						
							
							rubocop: fix Style/NegatedIfElseCondition  
						
						
						
						
					 
					
						2020-11-10 23:28:31 +11:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							70cfb52158 
							
						 
					 
					
						
						
							
							Document Sandbox.  
						
						
						
						
					 
					
						2020-08-26 03:13:59 +02:00 
						 
				 
			
				
					
						
							
							
								Seeker 
							
						 
					 
					
						
						
						
						
							
						
						
							f03aeb41c7 
							
						 
					 
					
						
						
							
							sandbox: use Dir.home instead of HOME  
						
						
						
						
					 
					
						2020-07-10 08:31:10 -07:00 
						 
				 
			
				
					
						
							
							
								Claudia 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							23cb93ff1c 
							
						 
					 
					
						
						
							
							sandbox: do not assume home is inside /Users  
						
						... 
						
						
						
						It’s not uncommon to use `/var/${USER}` as a home directory, especially
for shared or CLI-only users.
This fixes an issue where a formula that requires `xcodebuild` is
`brew install`ed from such a shared or CLI-only user account.
In that case, `xcodebuild` would fail because it is denied writing to
`/var/${USER}/Library/Developer/Xcode`.
For details, see: https://gist.github.com/claui/17cd89f8f6b4094ac704f142ea811fd8 
Suggested-by: Bo Anderson <mail@boanderson.me> 
						
						
					 
					
						2020-07-03 15:39:41 +02:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0041ea21f5 
							
						 
					 
					
						
						
							
							Change occurrences of "whitelist" to "allowlist"  
						
						
						
						
					 
					
						2020-06-06 22:38:32 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							40ec8e69cc 
							
						 
					 
					
						
						
							
							Cleanup Sandbox code  
						
						... 
						
						
						
						Remove unused code and methods. 
						
						
					 
					
						2020-05-02 13:45:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3381cbf5c7 
							
						 
					 
					
						
						
							
							Use Homebrew::EnvConfig.  
						
						
						
						
					 
					
						2020-04-07 09:58:26 +01:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							acde828a45 
							
						 
					 
					
						
						
							
							ARGV: Replace ARGV.verbose? with Homebrew.args.verbose?  
						
						
						
						
					 
					
						2020-02-02 14:00:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1cd75e4298 
							
						 
					 
					
						
						
							
							sandbox: allow more TTYs.  
						
						... 
						
						
						
						This is needed on Catalina.
Fixes  #6546  
						
						
					 
					
						2019-10-07 14:51:33 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							86f43f79ee 
							
						 
					 
					
						
						
							
							Enable/fix optional Ruby frozen string literal usage  
						
						... 
						
						
						
						Combined with https://github.com/Homebrew/homebrew-test-bot/pull/247 
this will test Homebrew's use of frozen strings in CI. After this we
will then enable it for Homebrew developers and eventually all Homebrew
users. 
						
						
					 
					
						2019-04-19 10:30:41 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1aa8ad09e2 
							
						 
					 
					
						
						
							
							Deprecate macOS versions below Mavericks  
						
						... 
						
						
						
						And remove all dead/unneeded code. 
						
						
					 
					
						2019-01-27 12:27:47 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b9ea49a1 
							
						 
					 
					
						
						
							
							Update to RuboCop 0.59.1.  
						
						
						
						
					 
					
						2018-09-17 03:45:59 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							5b3bbb76c9 
							
						 
					 
					
						
						
							
							Separate staging from download.  
						
						
						
						
					 
					
						2018-07-12 10:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							7762ce32aa 
							
						 
					 
					
						
						
							
							Use more descriptive heredoc names.  
						
						
						
						
					 
					
						2018-07-11 18:15:30 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							83cca40fc9 
							
						 
					 
					
						
						
							
							RuboCop 0.53.0 manual fixes.  
						
						
						
						
					 
					
						2018-03-08 14:10:02 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							9bee9ca575 
							
						 
					 
					
						
						
							
							Use “squiggly” heredocs.  
						
						
						
						
					 
					
						2017-10-18 14:39:09 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							01e9ec9a9f 
							
						 
					 
					
						
						
							
							Rubocop: automatic rule fixes.  
						
						
						
						
					 
					
						2017-09-24 21:23:59 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							12c454822a 
							
						 
					 
					
						
						
							
							sandbox: stop printing message.  
						
						... 
						
						
						
						We’re always using the sandbox where possible now so this is just
noise for the vast majority of our users. 
						
						
					 
					
						2017-08-07 11:16:36 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							fb310c57b1 
							
						 
					 
					
						
						
							
							sandbox: sandbox all taps by default.  
						
						... 
						
						
						
						We've been doing this in `brew test-bot`, for our CI and for
homebrew/core long enough that this is a reasonable default that
provides more protection to our users of non-homebrew/core taps. 
						
						
					 
					
						2017-07-14 17:00:07 +01:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							53a677aba6 
							
						 
					 
					
						
						
							
							sandbox: allow write access to /dev/random  
						
						... 
						
						
						
						This avoids build failure for `root6`.
MacPorts currently avoids the failure with a patch, as their sandbox
doesn't yet allow write access to `/dev/random` either:
7792b2c565/science/root6/Portfile (L73-L75)7792b2c565/science/root6/files/patch-disable-hsimple-macro.diff15673deba5/interpreter/cling/lib/Utils/PlatformPosix.cpp (L63-L82) 
						
						
					 
					
						2017-07-11 01:47:36 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							2d6ae61314 
							
						 
					 
					
						
						
							
							Re-revert "Fix operator spacing."  
						
						
						
						
					 
					
						2017-06-02 19:22:05 +02:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							197392b56d 
							
						 
					 
					
						
						
							
							Revert "Fix operator spacing."  
						
						
						
						
					 
					
						2017-06-01 04:06:40 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							d34ba7395b 
							
						 
					 
					
						
						
							
							Fix operator spacing.  
						
						
						
						
					 
					
						2017-05-31 19:53:41 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							7a38bab333 
							
						 
					 
					
						
						
							
							Fixup all RuboCop warnings.  
						
						
						
						
					 
					
						2017-05-29 18:43:18 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							7055abc436 
							
						 
					 
					
						
						
							
							Allow --interactive to access HOME  
						
						... 
						
						
						
						This may result in a slightly varied build but it’s generally just far
less annoying to be able to access all your e.g. shell configuration. 
						
						
					 
					
						2017-05-09 20:00:11 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							84b2276fd8 
							
						 
					 
					
						
						
							
							Use guard clauses.  
						
						
						
						
					 
					
						2016-11-13 23:00:47 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							536c48e804 
							
						 
					 
					
						
						
							
							sandbox: tweak HOMEBREW_REPOSITORY handling.  
						
						... 
						
						
						
						If we have a HOMEBREW_REPOSITORY and HOMEBREW_PREFIX mismatch (now the
default) then we can block access to the whole of HOMEBREW_REPOSITORY
rather than just the HOMEBREW_LIBRARY and `.git`. 
						
						
					 
					
						2016-09-23 08:29:05 +01:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3bbf62f37a 
							
						 
					 
					
						
						
							
							sandbox: loosen restriction around Xcode caching  
						
						... 
						
						
						
						It doesn't really need to be as tight as it is currently, certainly outside brew
you can write to here without any special privileges beside being the user,
and being so can tight can cause issues on clean systems or systems where
Xcode hasn't been used before as exposed by https://github.com/Homebrew/homebrew-core/issues/4892 .
Closes https://github.com/Homebrew/homebrew-core/issues/4892 . 
						
						
					 
					
						2016-09-22 05:11:41 +01:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c7d75bffeb 
							
						 
					 
					
						
						
							
							sandbox: sandbox homebrew/tex by default  
						
						
						
						
					 
					
						2016-09-21 23:34:18 +01:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							713437a5ef 
							
						 
					 
					
						
						
							
							sandbox: sandbox homebrew/devel-only by default  
						
						
						
						
					 
					
						2016-09-21 23:14:14 +01:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							273affabe3 
							
						 
					 
					
						
						
							
							sandbox: sandbox homebrew/fuse by default  
						
						
						
						
					 
					
						2016-09-21 22:14:01 +01:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8ddc6aa2d4 
							
						 
					 
					
						
						
							
							sandbox: sandbox homebrew/dupes by default  
						
						
						
						
					 
					
						2016-09-21 20:10:35 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							3982950e61 
							
						 
					 
					
						
						
							
							rubocop --auto-correct all hash-rocket usage.  
						
						
						
						
					 
					
						2016-09-17 16:14:13 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							6693915399 
							
						 
					 
					
						
						
							
							rubocop --auto-correct all remaining files.  
						
						... 
						
						
						
						But remove some manual `.freeze`s on constants that shouldn't be
constants. 
						
						
					 
					
						2016-09-17 16:14:13 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							af3ad3cb86 
							
						 
					 
					
						
						
							
							disable sandbox for 10.5  
						
						... 
						
						
						
						Although `sandbox-exec` is available in 10.5, it has very limit
support on the DSL for sandbox profile file(.sb file). Therefore,
sandbox for Homebrew on 10.5 is broken.
Closes  #735 .
Signed-off-by: Xu Cheng <git@xuc.me> 
						
						
					 
					
						2016-08-18 13:35:52 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							91c5dee5a0 
							
						 
					 
					
						
						
							
							Sandbox.formula?: allow to disable sandbox by user  
						
						
						
						
					 
					
						2016-08-18 13:35:51 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							6e887fbf5a 
							
						 
					 
					
						
						
							
							sandbox: add formula? method and sandbox core.  
						
						... 
						
						
						
						Add a new `Sandbox.formula?` method to see if a given formula should be
sandboxed. Use the formula to check its tap against a list of
pre-approved taps where we know every formula builds under the sandbox
(currently just homebrew/core). 
						
						
					 
					
						2016-08-15 08:33:58 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							fed96385ac 
							
						 
					 
					
						
						
							
							sandbox: add test? method.  
						
						... 
						
						
						
						Simplify checking if we’re going to sandbox a test with `Sandbox.test?`. 
						
						
					 
					
						2016-08-15 08:33:58 +01:00 
						 
				 
			
				
					
						
							
							
								Tim D. Smith 
							
						 
					 
					
						
						
						
						
							
						
						
							2aad3e052a 
							
						 
					 
					
						
						
							
							Don't report .pyc file writes in sandbox logs  
						
						... 
						
						
						
						These are never fatal and often confusing.
Fixes  #683 . 
						
						
					 
					
						2016-08-14 12:21:50 -07:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							acc9a7ca85 
							
						 
					 
					
						
						
							
							brew test, install, update-test: add --keep-tmp option  
						
						... 
						
						
						
						Also enables sandbox for --interactive and --debug use of install
and test, using automatic retention.
Closes  #66 .
Signed-off-by: Andrew Janke <andrew@apjanke.net> 
						
						
					 
					
						2016-04-18 12:23:08 -04:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							a0372e97d8 
							
						 
					 
					
						
						
							
							sandbox: allow certain processes running without sandbox  
						
						
						
						
					 
					
						2015-09-15 11:48:38 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							77536e39de 
							
						 
					 
					
						
						
							
							sandbox: fix log problem for brew test-bot  
						
						
						
						
					 
					
						2015-08-29 19:36:10 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							3b88c070c6 
							
						 
					 
					
						
						
							
							sandbox: better log output  
						
						... 
						
						
						
						* use syslog filter instead of grep.
* output sandbox log to stdout when verbose and failed.
* output nothing if sandbox log is empty.
Closes  Homebrew/homebrew#43325 .
Signed-off-by: Xu Cheng <xucheng@me.com> 
						
						
					 
					
						2015-08-28 17:33:09 +08:00 
						 
				 
			
				
					
						
							
							
								Alex Dunn 
							
						 
					 
					
						
						
						
						
							
						
						
							9520449823 
							
						 
					 
					
						
						
							
							sandbox: allow writing to /dev/zero  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#43344 . 
					
						2015-08-27 21:46:21 -07:00