6 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
890e7ab9a8 Finalize XDG support with proper backwards compatibility
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-09 12:58:04 +00:00
copilot-swe-agent[bot]
040fd9cd91 Address reviewer feedback: check XDG mode properly and make lazy
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-09 12:50:51 +00:00
copilot-swe-agent[bot]
3a358905ac Address backwards compatibility concerns and use Pathname#mkpath
- Restore backwards compatibility by checking both XDG and legacy Brewfile paths
- Use existing file when available, only use XDG path for new file creation
- Replace FileUtils.mkdir_p with Pathname#mkpath as requested
- Add comprehensive test coverage for all scenarios

Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-09 12:17:15 +00:00
copilot-swe-agent[bot]
fb65fa9de9 Fix brew bundle dump --global to respect XDG_CONFIG_HOME
- Remove File.exist? check in brewfile.rb to use XDG path even when Brewfile doesn't exist yet
- Add directory creation in dumper.rb to ensure parent directories exist before writing
- Add test case for XDG behavior when Brewfile doesn't exist initially

Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-09-09 07:47:53 +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
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