Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7d153d34e9 
							
						 
					 
					
						
						
							
							cask/url: accept Class for using.  
						
						... 
						
						
						
						Fixes  #15750 . 
					
						2023-07-25 15:50:49 +01:00 
						 
				 
			
				
					
						
							
							
								apainintheneck 
							
						 
					 
					
						
						
						
						
							
						
						
							c9dea04bd4 
							
						 
					 
					
						
						
							
							cmd/install: upgrade already installed casks  
						
						... 
						
						
						
						Previously, the behavior was to warn users that a cask was already
installed and then skip modifying the installed version. This is
different to how we handled things with formulas. For them we would
upgrade any already installed formulas. This just brings casks in line
with what we already do with formulas.
Changes:
- cmd/install: Upgrade already installed casks if HOMEBREW_NO_INSTALL_UPGRADE
  is not set
- env_config: Update wording of HOMEBREW_NO_INSTALL_UPGRADE to include casks
- remove error that was only used to alert about already installed casks
Note:
- The upgrade command for casks defaults to --greedy when you pass named casks
  to the command which means that this will always default to that behavior
  since you must specify the name of the cask when installing. 
						
						
					 
					
						2023-07-23 18:50:39 -07:00 
						 
				 
			
				
					
						
							
							
								Razvan Azamfirei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c64c834d05 
							
						 
					 
					
						
						
							
							bump-cask-pr: add arch-specific version support 
						
						
						
						
					 
					
						2023-07-21 11:45:34 -04:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							67ecc2452a 
							
						 
					 
					
						
						
							
							Merge pull request  #15602  from donaldducky/cask-support-multiple-headers  
						
						... 
						
						
						
						Cask support multiple headers 
						
						
					 
					
						2023-07-20 21:19:55 +01:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							368dd4d949 
							
						 
					 
					
						
						
							
							Fix other to_json override while we're here  
						
						
						
						
					 
					
						2023-07-18 11:30:46 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c940e15a5c 
							
						 
					 
					
						
						
							
							Use HOMEBREW_CELLAR_PLACEHOLDER  
						
						... 
						
						
						
						Similarly to HOMEBREW_PREFIX_PLACEHOLDER, this allows the substitution
of HOMEBREW_CELLAR in JSON output when using the API.
Fixes  #15668 . 
						
						
					 
					
						2023-07-18 10:59:27 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ba02c669e1 
							
						 
					 
					
						
						
							
							Introduce CoreCaskTap class  
						
						
						
						
					 
					
						2023-07-13 20:33:26 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb6178596b 
							
						 
					 
					
						
						
							
							Merge pull request  #15632  from MikeMcQuaid/deprecate_disable_delete  
						
						... 
						
						
						
						Deprecate/disable/delete code. 
						
						
					 
					
						2023-07-07 07:57:50 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7da934f7e2 
							
						 
					 
					
						
						
							
							Deprecate/disable/delete code.  
						
						... 
						
						
						
						The next release after this is merged will be 4.1.0.
Co-authored-by: Markus Reiter <me@reitermark.us> 
						
						
					 
					
						2023-07-06 16:56:20 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eadac2fb2a 
							
						 
					 
					
						
						
							
							cask/quarantine: tweak wording.  
						
						
						
						
					 
					
						2023-07-06 14:10:13 +01:00 
						 
				 
			
				
					
						
							
							
								Marcin Floryan 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1b474a508d 
							
						 
					 
					
						
						
							
							App Management message updated  
						
						... 
						
						
						
						With the update of MacOS from Monterey (12) to Ventura (13) the appearance of the System Settings has changes and the "Security & Privacy" category has been renamed to "Privacy & Security".
I am aware that currently Ventura has a very low adoption rate so this change could be premature. 
						
						
					 
					
						2023-07-06 14:43:36 +02:00 
						 
				 
			
				
					
						
							
							
								Don Chea 
							
						 
					 
					
						
						
						
						
							
						
						
							907a9238c2 
							
						 
					 
					
						
						
							
							Always pass headers as array to downloader, if present  
						
						... 
						
						
						
						We still need to support it being named "header" in the Cask url stanza. 
						
						
					 
					
						2023-06-28 11:37:15 -04:00 
						 
				 
			
				
					
						
							
							
								Don Chea 
							
						 
					 
					
						
						
						
						
							
						
						
							8f8d69a203 
							
						 
					 
					
						
						
							
							cask: url stanza support for multiple headers  
						
						
						
						
					 
					
						2023-06-28 11:36:12 -04:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							de7152b7a3 
							
						 
					 
					
						
						
							
							rename Cask::outdated_versions  
						
						
						
						
					 
					
						2023-06-19 22:09:01 +09:00 
						 
				 
			
				
					
						
							
							
								Ismayil Mirzali 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8a52ae2933 
							
						 
					 
					
						
						
							
							cask/quarantine: fix exception not being caught  
						
						... 
						
						
						
						Changes the rescue clause to also handle EPERM.
This fixes the issue of cask upgrades/reinstalls to failing due to
permissions [1]. It's worth noting though, the prompt for allowing App
Management permissions does not seem to occur, so that's something else
to be investigated.
1. https://github.com/Homebrew/homebrew-cask/issues/148253 
Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com> 
						
						
					 
					
						2023-06-05 18:54:44 +03:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89dfe4fc5b 
							
						 
					 
					
						
						
							
							Merge pull request  #15483  from JBYoshi/cask-prompt-permissions  
						
						... 
						
						
						
						Check for App Management permissions before updating apps. 
						
						
					 
					
						2023-05-29 09:15:22 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							98dd8610ae 
							
						 
					 
					
						
						
							
							Tweak code style and documentation wording  
						
						
						
						
					 
					
						2023-05-29 08:59:35 +01: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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							43c6b0ab61 
							
						 
					 
					
						
						
							
							Use sudo for copying xattrs when necessary.  
						
						
						
						
					 
					
						2023-05-24 23:39:18 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							813e639678 
							
						 
					 
					
						
						
							
							Add cask URL location to audit problems.  
						
						
						
						
					 
					
						2023-05-21 16:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7cc1b6191e 
							
						 
					 
					
						
						
							
							Clean up brew audit output.  
						
						
						
						
					 
					
						2023-05-19 19:40:37 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							beb4c044c2 
							
						 
					 
					
						
						
							
							Fix wrong token in Cask::Migrator.  
						
						
						
						
					 
					
						2023-05-18 19:50:06 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							53de9f38a2 
							
						 
					 
					
						
						
							
							Merge pull request  #15430  from reitermarkus/cask-inspect  
						
						... 
						
						
						
						Simplify `Cask#inspect`. 
						
						
					 
					
						2023-05-16 11:08:01 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2f9c1868aa 
							
						 
					 
					
						
						
							
							Don't special-case message for outdated casks that aren't installed.  
						
						
						
						
					 
					
						2023-05-15 11:42:01 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89292f47b5 
							
						 
					 
					
						
						
							
							Simplify Cask#inspect.  
						
						
						
						
					 
					
						2023-05-15 10:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2ae5ae243a 
							
						 
					 
					
						
						
							
							Merge pull request  #15414  from reitermarkus/rmdir-sudo  
						
						... 
						
						
						
						Use `sudo` for `rmdir` if necessary. 
						
						
					 
					
						2023-05-14 21:42:00 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2231086bd 
							
						 
					 
					
						
						
							
							Merge pull request  #15420  from reitermarkus/simulate-system-with  
						
						... 
						
						
						
						Add `SimulateSystem::with`. 
						
						
					 
					
						2023-05-14 21:41:20 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3dabf504bd 
							
						 
					 
					
						
						
							
							Merge pull request  #15176  from reitermarkus/cask-renames  
						
						... 
						
						
						
						Implement cask renames. 
						
						
					 
					
						2023-05-14 19:46:56 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d56b97b07 
							
						 
					 
					
						
						
							
							Add SimulateSystem::with.  
						
						
						
						
					 
					
						2023-05-14 01:45:04 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							935c5efaf8 
							
						 
					 
					
						
						
							
							Use sudo for rmdir if necessary.  
						
						
						
						
					 
					
						2023-05-13 06:46:59 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d7a0e260e8 
							
						 
					 
					
						
						
							
							Improve Cask::Utils.gain_permissions_remove for symlinks.  
						
						
						
						
					 
					
						2023-05-13 03:54:48 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2c71d9dcd8 
							
						 
					 
					
						
						
							
							Use sudo for symlinks if necessary.  
						
						
						
						
					 
					
						2023-05-13 03:42:00 +02:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ad8ce82673 
							
						 
					 
					
						
						
							
							Fix typing on revert_upgrade().  
						
						... 
						
						
						
						Also adds several type signature checks to test for these errors. 
						
						
					 
					
						2023-05-12 14:53:27 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3231a03fa 
							
						 
					 
					
						
						
							
							Implement cask renames.  
						
						
						
						
					 
					
						2023-05-12 21:17:30 +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 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fb31c5d5d6 
							
						 
					 
					
						
						
							
							cask/upgrade: improve error backtraces  
						
						
						
						
					 
					
						2023-05-10 14:46:51 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8274920217 
							
						 
					 
					
						
						
							
							Rename OS::Mac::Version to MacOSVersion.  
						
						
						
						
					 
					
						2023-05-09 05:08:38 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df620ad3ba 
							
						 
					 
					
						
						
							
							Make manual installers easier to open.  
						
						
						
						
					 
					
						2023-05-08 08:25:32 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dfc9d94c5b 
							
						 
					 
					
						
						
							
							Type livecheck.rb.  
						
						
						
						
					 
					
						2023-05-06 03:27:42 +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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3e249a9428 
							
						 
					 
					
						
						
							
							Improve styling.  
						
						
						
						
					 
					
						2023-05-03 11:29:01 -05:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5921aef55c 
							
						 
					 
					
						
						
							
							Fix DownloadError erroring itself  
						
						
						
						
					 
					
						2023-05-02 02:09:53 +01:00 
						 
				 
			
				
					
						
							
							
								JBYoshi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4935a8fbb2 
							
						 
					 
					
						
						
							
							Remove unreachable warning.  
						
						
						
						
					 
					
						2023-04-30 12:29:40 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd683aefa8 
							
						 
					 
					
						
						
							
							Merge pull request  #14629  from Kentzo/sudo-user  
						
						... 
						
						
						
						sudo: explicitly specify the root user where necessary 
						
						
					 
					
						2023-04-29 11:17:21 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							af1961d509 
							
						 
					 
					
						
						
							
							Fix type for nested url blocks.  
						
						
						
						
					 
					
						2023-04-29 03:33:59 +02:00 
						 
				 
			
				
					
						
							
							
								Ilya Kulakov 
							
						 
					 
					
						
						
						
						
							
						
						
							476d97934f 
							
						 
					 
					
						
						
							
							sudo: change sudo_user to sudo_as_root.  
						
						
						
						
					 
					
						2023-04-28 11:22:54 -07:00