DomT4 / homebrew-autoupdate

:tropical_drink: An easy, convenient way to automatically update Homebrew.
BSD 2-Clause "Simplified" License
995 stars 55 forks source link

Limit for auto-upgrades? #1

Closed jgillman closed 9 years ago

jgillman commented 9 years ago

I really like how this works, but I wish I could have it only do brew update without brew upgrade.

Personally, I'm a little leery about automatically upgrading everything I've installed because I know that something will eventually break and it will take forever to hunt down which thing upgraded...

Thoughts?

DomT4 commented 9 years ago

I was thinking about this the other night actually, and I agree brew update is a more normal/useful course of action for most users.

brew upgrade is relatively fine for me, because if it silently breaks something I can dig through Homebrew's commits to find out what it was, and then quickly push a fix for that breakage, but that experience is less than optimal for people who don't actively watch Homebrew so closely.

Will look into making the upgrade element an option add-on to the command here ASAP.

jgillman commented 9 years ago

Great! Appreciate the quick response.

Another related thought, though this is probably more of a v2 kind of thing: If you wanted to go deep users could maintain a whitelist/blacklist of stuff that's okay to auto-upgrade. Personally most of my stuff is fine if it auto-upgrades, but a few things like vips I need to keep an eye on what actually upgrades.

DomT4 commented 9 years ago

https://github.com/DomT4/homebrew-autoupdate/commit/2ba69c31e98d0c90b40c6c38d4dfaa27c25745dd has landed :)

jgillman commented 9 years ago

:+1: Awesome! Thank you :)