Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: brew upgrade fails with 1 because of advisories that Dorothy already handles #267

Open
balupton opened this issue Dec 20, 2024 · 0 comments
Labels
enhancement Improvement or suggestion

Comments

@balupton
Copy link
Member

Re-running brew upgrade, or rather setup-system update / setup-mac-brew update resolves these issues, as the advisories are not actually errors, and Dorothy already handles the advisories, which is the point.

Based on earlier feedback Dorothy now starts the brew upgrade process with this message:

Brew upgrades can fail sporadically due to changes in the environment (such as when the environment depended on a now upgraded package, in which the environment must be reloaded to make use of the upgraded package). If it fails, open a new terminal and try again which will continue this incremental upgrade process.

However, long upgrades of many packages makes that message non-noticeable in practice.

Instead, we should detect the error status, and if 1 then we should provide a confirmation to the user telling them that unless there is actually an error, it is safe to continue, and would they like to continue?

@balupton balupton added the enhancement Improvement or suggestion label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement or suggestion
Development

No branches or pull requests

1 participant