Skip to content

Conversation

@CaddyDz
Copy link
Owner

@CaddyDz CaddyDz commented Mar 13, 2025

Add function to intercept brew upgrade commands and display a warning instead of executing them. This helps prevent system breakage from unexpected dependency changes during package upgrades.

  • Blocks brew upgrade command
  • Blocks brew update && brew upgrade --greedy pattern
  • Provides instructions on how to bypass if really needed

Add function to intercept brew upgrade commands and display a warning instead of executing them. This helps prevent system breakage from unexpected dependency changes during package upgrades.

- Blocks `brew upgrade` command
- Blocks `brew update && brew upgrade --greedy` pattern
- Provides instructions on how to bypass if really needed

Signed-off-by: Salim Djerbouh <13698160+CaddyDz@users.noreply.github.com>
@CaddyDz CaddyDz added enhancement New feature or request brew 🍺 Homebrew configuration config Configuration files or variables labels Mar 13, 2025
@CaddyDz CaddyDz self-assigned this Mar 13, 2025
@CaddyDz CaddyDz merged commit 11a922a into master Mar 13, 2025
1 check passed
@CaddyDz CaddyDz deleted the feat/prevent-brew-upgrades branch March 13, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

brew 🍺 Homebrew configuration config Configuration files or variables enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant