DomT4 / homebrew-autoupdate

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

Unlike the built in autoupdate, Homebrew Autoupdate does not show the list of outdated packages #122

Closed keyansheng closed 7 months ago

keyansheng commented 8 months ago

And when you interact with Homebrew, it doesn't show the list of outdated packages since Homebrew Autoupdate already ran brew update for you and hid the list of packages from you.

This makes it easier to miss updates than using the built in autoupdate, which is the opposite of what Homebrew Autoupdate is trying to achieve.

I know that Homebrew Autoupdate can automate both updates and upgrades, but I would like to manually review upgrades before applying them. All I need from Homebrew Autoupdate is to do the same thing as the built in autoupdate (check for updates and show a list of outdated packages), but in the background.

swissbuechi commented 8 months ago

All I need from Homebrew Autoupdate is to do the same thing as the built in autoupdate (check for updates and show a list of outdated packages), but in the background.

Where would you want the outdated packages to be displayed? In the notification?

This makes it easier to miss updates than using the built in autoupdate, which is the opposite of what Homebrew Autoupdate is trying to achieve.

Couldn't you just run brew outdated before manually starting the upgrade?

keyansheng commented 8 months ago

Upon further investigation, it seems like the problem is due to the notification only showing the last line of the output.

This is what the notification centre looks like when there are outdated packages:

brew-autoupdate Already up-to-date Homebrew has been updated

Upon expanding the notification group, it looks like this:

brew-autoupdate Already up-to-date Homebrew has been updated

brew-autoupdate Already up-to-date Homebrew has been updated

brew-autoupdate or list it with brew outdated. Homebrew has been updated

This is confusing since it's not clear that there are outdated packages, and completely hides You have n outdated formulae installed. from the user, since that message will not be shown on subsequent invocations of brew.

It would be less confusing to show the first line of the output instead (and possibly the list of outdated packages too, if space permits), to make it clear that there are outdated packages.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.