Patrick Linnane 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4513a43d53 
							
						 
					 
					
						
						
							
							Fix RuboCop failures.  
						
						... 
						
						
						
						Co-authored-by: Patrick Linnane <patrick@linnane.io>
Co-authored-by: Carlo Cabrera <github@carlo.cab>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2025-07-14 19:12:38 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2bf23ef70 
							
						 
					 
					
						
						
							
							Merge pull request  #20224  from Homebrew/cask_dumper_old_tokens  
						
						... 
						
						
						
						Support Cask renames when installing/dumping 
						
						
					 
					
						2025-07-10 13:54:26 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8bfa23877 
							
						 
					 
					
						
						
							
							Support Cask renames when installing/dumping  
						
						... 
						
						
						
						This adds support for Cask old tokens used for renames of Casks.
We'll now correctly check these at installation time to avoid repeatedly
installing renamed Casks and dump them in the Brewfile. We also use this
logic to avoid cleaning up renamed Casks. 
						
						
					 
					
						2025-07-10 08:05:36 +00:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50c3181cdb 
							
						 
					 
					
						
						
							
							Rename the brew_{dumper,installer}_spec.rb files  
						
						... 
						
						
						
						- The classes were renamed in 990c1efc16aad71254ae89e0b7983eee97696c72,
  but I forgot to rename the test filenames. 
						
						
					 
					
						2025-07-09 17:47:08 +01:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							990c1efc16 
							
						 
					 
					
						
						
							
							bundle: Rename "brews" to "formulae" for consistency  
						
						... 
						
						
						
						- Homebrew Bundle referred to formulae as "brews". But it referred to
  casks as "casks" and taps as "taps".
- Let's use the same terminology everywhere.
- (I know that `brew "hello"` is the formula syntax in the Brewfile, so
  I'm not changing that (though would be up for it, in a backwards
  compatible manner), just making the code more consistent.) 
						
						
					 
					
						2025-07-04 21:08:37 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							770335f72e 
							
						 
					 
					
						
						
							
							Remove unused --force-auto-update option  
						
						... 
						
						
						
						Remove the `brew tap --force-auto-update` option and the
`force_auto_update` configuration file option from Homebrew Bundles.
Fixes  #19856  
						
						
					 
					
						2025-06-12 14:16:12 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e9f55a8f71 
							
						 
					 
					
						
						
							
							tests: default to API mode enabled.  
						
						... 
						
						
						
						While we're here, also add `brew tests --no-parallel` which I relied
on during testing.
Pretty much anywhere we rely on a stubbed formula on disk to work: we
need to disable the API. 
						
						
					 
					
						2025-06-10 15:53:27 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							418a771d12 
							
						 
					 
					
						
						
							
							bundle: add support for selective cleanup  
						
						
						
						
					 
					
						2025-05-23 06:19:01 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							288984bb0f 
							
						 
					 
					
						
						
							
							bundle/dsl: combine cask_args calls  
						
						
						
						
					 
					
						2025-05-09 08:06:06 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c9a7b62b1d 
							
						 
					 
					
						
						
							
							Homebrew 4.5 deprecations/disables/removals  
						
						... 
						
						
						
						The usual cycle of deprecating, disabling, and removing things in
Homebrew major/minor releases. 
						
						
					 
					
						2025-04-22 17:15:23 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							359b68f827 
							
						 
					 
					
						
						
							
							Improve brew bundle exec/env/sh environment handling  
						
						... 
						
						
						
						- Rather than maintaining a list of Homebrew environment variables to
  delete, delete all Homebrew (and Portable Ruby) internal variables
  that won't be used by other tools.
- When exporting variables, only export variables that have changed.
- When exporting PATH-like variables, ensure the PATH is appending to
  the existing path rather than replacing it and ensure we only include
  newly added paths. 
						
						
					 
					
						2025-04-10 15:23:02 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f2513965e8 
							
						 
					 
					
						
						
							
							Revert "Revert "bundle: handle simultaneous exec --services better""  
						
						... 
						
						
						
						This reverts commit 94db0b2f3408280e20ca3888ed5c91672ab4fca2. 
						
						
					 
					
						2025-04-07 14:10:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							94db0b2f34 
							
						 
					 
					
						
						
							
							Revert "bundle: handle simultaneous exec --services better"  
						
						
						
						
					 
					
						2025-04-04 15:30:47 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ef00cb55f 
							
						 
					 
					
						
						
							
							bundle: handle simultaneous exec --services better  
						
						
						
						
					 
					
						2025-04-04 08:10:11 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3012f427df 
							
						 
					 
					
						
						
							
							bundle: fix up formula name for environment variable.  
						
						... 
						
						
						
						We previously were trying to pass through invalid environment variable
names so let's fix these up and query those instead. 
						
						
					 
					
						2025-04-03 11:05:07 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89d0309b9c 
							
						 
					 
					
						
						
							
							Add brew bundle --upgrade-formulae  
						
						... 
						
						
						
						This flag allows you to specify formulae to upgrade, even if
`$HOMEBREW_BUNDLE_NO_UPGRADE` is set.
This is useful for upgrading specific formulae without upgrading all
formulae.
While we're here, let's add Sorbet signatures to the `Bundle` module
because I needed to add a new method there anyway. 
						
						
					 
					
						2025-04-02 17:15:36 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4254b75cb8 
							
						 
					 
					
						
						
							
							bundle: add tests for exec --services  
						
						
						
						
					 
					
						2025-04-02 16:09:16 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Linnane 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09ae8e93f3 
							
						 
					 
					
						
						
							
							Merge pull request  #19675  from Homebrew/bundle_formula_version  
						
						... 
						
						
						
						bundle: use HOMEBREW_BUNDLE_FORMULA_VERSION_* for formula version. 
						
						
					 
					
						2025-04-01 16:20:15 +00:00 
						 
				 
			
				
					
						
							
							
								Patrick Linnane 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							407d64108c 
							
						 
					 
					
						
						
							
							Merge pull request  #19673  from Homebrew/bundle_tests_coverage  
						
						... 
						
						
						
						test/bundle: add additional test coverage. 
						
						
					 
					
						2025-04-01 16:19:46 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37752e3088 
							
						 
					 
					
						
						
							
							bundle: use HOMEBREW_BUNDLE_FORMULA_VERSION_* for formula version.  
						
						... 
						
						
						
						As this variable is no longer just used for `brew bundle exec`. 
						
						
					 
					
						2025-04-01 15:35:27 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf8835eff7 
							
						 
					 
					
						
						
							
							test/bundle: add additional test coverage.  
						
						... 
						
						
						
						Add missing test coverage, requires, fix a TODO and remove `needs_macos`
from a cask test. 
						
						
					 
					
						2025-04-01 15:17:19 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c72386e3c3 
							
						 
					 
					
						
						
							
							bundle/commands/cleanup: correctly handle .keepme references.  
						
						... 
						
						
						
						Extract the relevant logic from `formula.rb`, moving to `keg.rb` and
then use this logic in `bundle/commands/cleanup.rb` to ensure that we
don't say we need to uninstall formulae that should be still kept. 
						
						
					 
					
						2025-04-01 15:12:12 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f69ff29d93 
							
						 
					 
					
						
						
							
							test/bundle/whalebrew_installer: fix flaky test from missing resets  
						
						
						
						
					 
					
						2025-03-30 19:29:42 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c273d8b467 
							
						 
					 
					
						
						
							
							test/bundle: improve coverage  
						
						
						
						
					 
					
						2025-03-28 05:54:59 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							786ad348a5 
							
						 
					 
					
						
						
							
							bundle: use version env for installer service handling  
						
						
						
						
					 
					
						2025-03-28 05:54:52 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							90712429c0 
							
						 
					 
					
						
						
							
							test/bundle/commands/check_spec: add missing requires.  
						
						... 
						
						
						
						More missing requires that need added. 
						
						
					 
					
						2025-03-25 14:53:41 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2dbce6bac5 
							
						 
					 
					
						
						
							
							Merge pull request  #19579  from Homebrew/bundle_version_file  
						
						... 
						
						
						
						Add `version_file:` DSL to `Brewfile` 
						
						
					 
					
						2025-03-25 10:11:52 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							949aaa78e6 
							
						 
					 
					
						
						
							
							test/bundle: add more missing requires.  
						
						... 
						
						
						
						See https://github.com/Homebrew/brew/actions/runs/14055694149/job/39354629119?pr=19597  
						
						
					 
					
						2025-03-25 09:32:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df0fe8a802 
							
						 
					 
					
						
						
							
							Add version_file: DSL to Brewfile  
						
						... 
						
						
						
						This allows writing to e.g. `.ruby-version` files directly from the
`Brewfile`, making it easy to keep these versions in sync. 
						
						
					 
					
						2025-03-24 17:34:35 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f7ee1902e4 
							
						 
					 
					
						
						
							
							bundle: require more lazily  
						
						... 
						
						
						
						This will hopefully make using `brew bundle` a little bit snappier. 
						
						
					 
					
						2025-03-24 22:48:58 +08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7e64051479 
							
						 
					 
					
						
						
							
							bundle: remove include Kernel references  
						
						
						
						
					 
					
						2025-03-21 04:43:08 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a4f2797612 
							
						 
					 
					
						
						
							
							bundle/exec: fix command PATH lookup  
						
						... 
						
						
						
						We are checking `PATH` for the command too early, since the code below
it mutates `PATH`.
Let's defer the check to later to fix this. 
						
						
					 
					
						2025-03-19 21:55:15 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2b46940876 
							
						 
					 
					
						
						
							
							Merge pull request  #19545  from Homebrew/vscode_variants  
						
						... 
						
						
						
						Look for VSCode variants 
						
						
					 
					
						2025-03-19 12:33:47 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d84fac5af4 
							
						 
					 
					
						
						
							
							Look for VSCode variants  
						
						... 
						
						
						
						We've had requests for this in Homebrew/bundle a few times so let's
implement it both for there and for `brew edit`.
Tested on my machine with `cursor` and working as expected. 
						
						
					 
					
						2025-03-19 11:42:37 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1fa4128112 
							
						 
					 
					
						
						
							
							Merge pull request  #19543  from Homebrew/bundle_services_installed  
						
						... 
						
						
						
						bundle: remove services_installed? 
						
						
					 
					
						2025-03-19 10:50:01 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c7f6fc639b 
							
						 
					 
					
						
						
							
							bundle: remove services_installed?  
						
						... 
						
						
						
						`brew services` is now always "installed". 
						
						
					 
					
						2025-03-19 10:14:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7a57af242e 
							
						 
					 
					
						
						
							
							Cleanup some missing references to Homebrew Bundle.  
						
						... 
						
						
						
						Let's just call it `brew bundle` from now on as it's a normal command.
Also, fix a reference to "Homebrew Services" while we're here. 
						
						
					 
					
						2025-03-19 09:51:39 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bdeca530ff 
							
						 
					 
					
						
						
							
							Migrate Homebrew/bundle to Homebrew/brew  
						
						... 
						
						
						
						Co-authored-by: Bo Anderson <mail@boanderson.me> 
						
						
					 
					
						2025-03-19 06:47:01 +00:00