Closed jaklan closed 2 years ago
This seems a valid enough request to me. I'd accept a PR to add a flag & related code changes, or I can try and look at it myself hopefully Sunday sometime.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This option seems to make trouble with the google-cloud-sdk
package. It seems that during the update this package gets partially removed and is broken afterwards only a reinstallation via brew reinstall -f google-cloud-sdk
solves the problem. Removing --greedy
solved the issue for now.
I am using brew autoupdate --start --upgrade --cleanup
.
I completely agree. Every day Firefox.app is shut down while I use it because it's being upgraded due to --greedy
. Firfox is a self-updating app and does not needs to be autoupdated by this tool.
--greedy
should be opt-in for homebrew-autoupdate!
I think something as simple as #81 can fix this issue 😃
This commit introduced
--greedy
flag always when using--upgrade
option:https://github.com/Homebrew/homebrew-autoupdate/blob/24c4193f89280b3ec38722010623ae2971dc5072/lib/autoupdate/start.rb#L17-L21
It shouldn't be the default behaviour, for the same reasons it's not default for
brew
(as described in brew docs).Solution? E.g. additional flag:
--greedy-upgrade
.