Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ec41f66ee7 
							
						 
					 
					
						
						
							
							cask/artifact/installer: reset UID when running scripts  
						
						
						
						
					 
					
						2024-07-17 06:33:08 +01:00 
						 
				 
			
				
					
						
							
							
								Kevin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3c1528611 
							
						 
					 
					
						
						
							
							Revert "Use cp -c when copying files"  
						
						
						
						
					 
					
						2024-06-17 21:17:10 -07:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa00d2a9fd 
							
						 
					 
					
						
						
							
							cask: fix trash.swift under Xcode 16  
						
						
						
						
					 
					
						2024-06-15 03:09:50 +01:00 
						 
				 
			
				
					
						
							
							
								Daiki Mizukami 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8e8d0c0248 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2024-06-12 12:28:42 +09:00 
						 
				 
			
				
					
						
							
							
								Daiki Mizukami 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							028cfe1ea6 
							
						 
					 
					
						
						
							
							Utils::Cp: Rename to Utils::Copy  
						
						... 
						
						
						
						As per review feedback:
https://github.com/Homebrew/brew/pull/17373#discussion_r1633217748  
						
						
					 
					
						2024-06-11 20:31:34 +09:00 
						 
				 
			
				
					
						
							
							
								Daiki Mizukami 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							67f280eb53 
							
						 
					 
					
						
						
							
							Utils::Cp: Add force_system keyword argument  
						
						... 
						
						
						
						This fixes the test for `UnpackStrategy::Directory`, which needs the
`cp` command. 
						
						
					 
					
						2024-06-09 07:57:56 +09:00 
						 
				 
			
				
					
						
							
							
								Daiki Mizukami 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b2ddeecdd9 
							
						 
					 
					
						
						
							
							Utils::Cp: Remove copy prefix from method name  
						
						... 
						
						
						
						As per review feedback:
https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2104523770 
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2024-06-08 07:58:20 +09:00 
						 
				 
			
				
					
						
							
							
								Daiki Mizukami 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							58852106c1 
							
						 
					 
					
						
						
							
							Utils::Cp: Rename copy* methods to copy*_with_attributes  
						
						... 
						
						
						
						As per review feedback:
https://github.com/Homebrew/brew/pull/17373#pullrequestreview-2103870774  
						
						
					 
					
						2024-06-07 19:03:33 +09:00 
						 
				 
			
				
					
						
							
							
								Daiki Mizukami 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							deaac7ce47 
							
						 
					 
					
						
						
							
							Use Utils::Cp to copy files  
						
						... 
						
						
						
						This replaces `FileUtils.cp` and `system_command! "cp"` with the new
`Utils::Cp` utility where it is expected that the performance
improvement outweighs the cost of the system command invocation. 
						
						
					 
					
						2024-05-27 12:11:41 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6e9288470e 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2024-05-23 17:15:43 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							caf87c0336 
							
						 
					 
					
						
						
							
							Warn about undocumented non-private APIs.  
						
						
						
						
					 
					
						2024-05-01 11:35:20 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f0055ede4 
							
						 
					 
					
						
						
							
							Make documentation @api private by default.  
						
						
						
						
					 
					
						2024-04-26 19:04:20 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c76170a456 
							
						 
					 
					
						
						
							
							Hide #to_s in docs.  
						
						
						
						
					 
					
						2024-04-26 14:04:55 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8baed211a7 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2024-04-08 19:23:33 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							011dfc8f45 
							
						 
					 
					
						
						
							
							cask/artifact/moved: fix permission handling when removing directories  
						
						
						
						
					 
					
						2024-03-15 21:31:37 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3702a28c4 
							
						 
					 
					
						
						
							
							cask/artifact: check the bundle version when using --adopt.  
						
						... 
						
						
						
						This makes `--adopt` considerably faster and more useful for application
bundles by checking the bundle version before failing to adopt the
bundle.
This could be further extended by e.g. checking if auto-updates are
enabled.
While we're here, also allow `adopt` to act a bit more like `force` in
a few other places assuming this initial check passes. 
						
						
					 
					
						2024-03-14 10:31:31 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea2892f8ee 
							
						 
					 
					
						
						
							
							brew.rb: handle missing args.  
						
						
						
						
					 
					
						2024-03-07 16:20:20 +00:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f4218a6316 
							
						 
					 
					
						
						
							
							Fix RuboCop Performance/MapCompact offenses  
						
						... 
						
						
						
						- Rename an iterator variable since it would make the line too long. 
						
						
					 
					
						2024-02-25 22:59:59 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d02aa3313 
							
						 
					 
					
						
						
							
							Merge pull request  #16578  from dnicolson/fix-quick-look  
						
						... 
						
						
						
						Replace “QuickLook” with “Quick Look” 
						
						
					 
					
						2024-02-04 12:09:45 +01:00 
						 
				 
			
				
					
						
							
							
								Dave Nicolson 
							
						 
					 
					
						
						
						
						
							
						
						
							31f09f8d30 
							
						 
					 
					
						
						
							
							Replace “QuickLook” with “Quick Look”  
						
						
						
						
					 
					
						2024-02-03 23:54:04 +01:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							eb7c3e52a0 
							
						 
					 
					
						
						
							
							Require SystemInclude only where needed  
						
						
						
						
					 
					
						2024-01-31 11:42:01 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							f99d39faf9 
							
						 
					 
					
						
						
							
							Vendor CompactBlank cop  
						
						
						
						
					 
					
						2024-01-26 15:03:59 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							86e1c8aacf 
							
						 
					 
					
						
						
							
							Merge pull request  #16463  from dduugg/no-active-support  
						
						... 
						
						
						
						Remove ActiveSupport from runtime 
						
						
					 
					
						2024-01-22 19:22:12 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							8efe73b32c 
							
						 
					 
					
						
						
							
							Add Object#deep_dup to extend/  
						
						
						
						
					 
					
						2024-01-22 10:52:43 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							f6c7eb7124 
							
						 
					 
					
						
						
							
							Add hash/keys to extend/  
						
						
						
						
					 
					
						2024-01-19 13:36:17 -08:00 
						 
				 
			
				
					
						
							
							
								Bevan Kay 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd6ab1d2b8 
							
						 
					 
					
						
						
							
							cask/uninstall: skip quit and signal directives when upgrading or reinstalling  
						
						
						
						
					 
					
						2024-01-19 23:30:25 +11:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							ffd761d2e9 
							
						 
					 
					
						
						
							
							Create dedicated Attrable mixin for attr_ methods  
						
						
						
						
					 
					
						2023-12-28 11:46:27 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							3abbf4447e 
							
						 
					 
					
						
						
							
							Some minor regexp match perf improvements  
						
						
						
						
					 
					
						2023-12-27 13:16:36 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							228b1d62ed 
							
						 
					 
					
						
						
							
							cask/artifact/abstract_uninstall: handle signal failures.  
						
						... 
						
						
						
						If the process is running as another user: this will always fail. 
						
						
					 
					
						2023-12-20 19:43:46 +00:00 
						 
				 
			
				
					
						
							
							
								Patrick Linnane 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9dee80cb2d 
							
						 
					 
					
						
						
							
							various: fix style errors  
						
						
						
						
					 
					
						2023-12-18 09:34:01 -08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5692c8ecbf 
							
						 
					 
					
						
						
							
							Fix style violations under newer RuboCop  
						
						
						
						
					 
					
						2023-12-14 05:47:12 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ff404fe5ab 
							
						 
					 
					
						
						
							
							Merge pull request  #16184  from dduugg/rm-try  
						
						... 
						
						
						
						Remove use of ActiveSupport try 
						
						
					 
					
						2023-11-06 13:11:01 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							75179e9239 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2023-11-05 12:18:31 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							00ba09d73d 
							
						 
					 
					
						
						
							
							Remove use of ActiveSupport try  
						
						
						
						
					 
					
						2023-11-05 09:28:19 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							0191af7899 
							
						 
					 
					
						
						
							
							resolve typecheck errors  
						
						
						
						
					 
					
						2023-11-05 08:55:58 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eb1355e624 
							
						 
					 
					
						
						
							
							Add HOMEBREW_SUDO_THROUGH_SUDO_USER  
						
						... 
						
						
						
						This environment variable allows telling Homebrew to use the `SUDO_USER`
variable to `sudo` through that user when Homebrew (Cask) attempts to
run `sudo`.
While we're here, clarify in some messaging that we're running `sudo`
and that that's the password we're asking for; the specific password is
configuration dependent and not the specific password for the user.
Similarly, remove the `Package installers may write to any location`
output; it's kinda spammy and doesn't feel like the right place. 
						
						
					 
					
						2023-09-29 18:49:44 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							af7d744af0 
							
						 
					 
					
						
						
							
							Fixes for Ruby 3  
						
						
						
						
					 
					
						2023-09-29 05:25:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							58df7885e6 
							
						 
					 
					
						
						
							
							cask/quarantine: sudo correctly during tests.  
						
						... 
						
						
						
						Use `NeverSudoSystemCommand` and pass it through to
`Quarantine.copy_xattrs` so `brew tests` doesn't try to `sudo`.
Fixes  #15958 
Co-authored-by: Bo Anderson <mail@boanderson.me>
Co-authored-by: Kevin <apainintheneck@gmail.com> 
						
						
					 
					
						2023-09-06 10:03:45 -04:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							97b9b61061 
							
						 
					 
					
						
						
							
							Change permission failure from fatal to warning.  
						
						
						
						
					 
					
						2023-05-26 11:13:23 -05:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							40352cb2da 
							
						 
					 
					
						
						
							
							Make Homebrew check for App Management permissions before updating apps.  
						
						
						
						
					 
					
						2023-05-24 22:11:16 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							935c5efaf8 
							
						 
					 
					
						
						
							
							Use sudo for rmdir if necessary.  
						
						
						
						
					 
					
						2023-05-13 06:46:59 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2c71d9dcd8 
							
						 
					 
					
						
						
							
							Use sudo for symlinks if necessary.  
						
						
						
						
					 
					
						2023-05-13 03:42:00 +02:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							84ad387661 
							
						 
					 
					
						
						
							
							Clean up code for feedback.  
						
						
						
						
					 
					
						2023-05-11 13:29:56 -05:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							29c9921726 
							
						 
					 
					
						
						
							
							Also use / above.  
						
						
						
						
					 
					
						2023-05-11 12:47:37 -05:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d0e64e2c57 
							
						 
					 
					
						
						
							
							Use / for path concatenation.  
						
						
						
						
					 
					
						2023-05-11 12:46:05 -05:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2e8232de39 
							
						 
					 
					
						
						
							
							Replace wildcard copy with a loop over children.  
						
						... 
						
						
						
						Fixes one of the errors in https://github.com/orgs/Homebrew/discussions/4498  (specifically "cp: [...].app/*:
No such file or directory"). 
						
						
					 
					
						2023-05-11 11:47:16 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df620ad3ba 
							
						 
					 
					
						
						
							
							Make manual installers easier to open.  
						
						
						
						
					 
					
						2023-05-08 08:25:32 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0e387fee8c 
							
						 
					 
					
						
						
							
							Merge pull request  #15138  from JBYoshi/cask-move-contents  
						
						... 
						
						
						
						Don't remove cask directories when upgrading. 
						
						
					 
					
						2023-05-04 11:43:44 +01:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4935a8fbb2 
							
						 
					 
					
						
						
							
							Remove unreachable warning.  
						
						
						
						
					 
					
						2023-04-30 12:29:40 -05:00 
						 
				 
			
				
					
						
							
							
								Ilya Kulakov 
							
						 
					 
					
						
						
						
						
							
						
						
							476d97934f 
							
						 
					 
					
						
						
							
							sudo: change sudo_user to sudo_as_root.  
						
						
						
						
					 
					
						2023-04-28 11:22:54 -07:00