Homebrew now prompts for confirmation by default: topgrade should pass --no-ask
needs PRbreakageA-step
## Checklist
- [x] I have searched the issue tracker for relevant or duplicate issues.
## I want to suggest some general feature
Recent Homebrew (5.1.x) made "ask mode" the default: brew upgrade / brew install now prompt for confirmation before downloading and installing. You disable it with `-y` / `--no-ask` (or `HOMEBREW_NO_ASK=1`).
Because topgrade runs unattended, this confirmation prompt interrupts the brew step. topgrade should pass `--no-ask` to brew upgrade (both formula and cask) so the step stays non-interactive.
Optionally, this could be made configurable, e.g. a `[brew] ask = true` or `[brew] no_ask = false` opt-in for users who want the prompt. Alternatively, we can set up honoring for `misc.assume_yes`.
## More information
- [ ] I am able and willing to implement this feature myself
2 条评论