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

Visual indicator to show outdated casks & option to upgrade --greedy #348

Closed
ianjukes opened this issue Jun 12, 2024 · 5 comments
Closed
Labels
Enhancement New feature or request

Comments

@ianjukes
Copy link

There is no visual indicator if a cask is outdated, and the update/upgrade process does not work on casks that have in-application updates. It would be great to see which casks are out of date, and then have the option to brew upgrade the cask by choice (i.e. a --greedy).

Hope that makes sense!

@ianjukes ianjukes added the Enhancement New feature or request label Jun 12, 2024
@buresdv
Copy link
Owner

buresdv commented Jun 16, 2024

Hey, thanks for the input!

Concerning the Casks with in-app updates, (as far as I know) those will never work in Cork, because they don't work in Homebrew itself, either. If I understand it correctly, Casks that have in-app updates have a special entry in their definition, auto_updates, which completely opts them out of the Homebrew updating mechanism. When I was first creating the Cask entry for Cork, I accidentaly turned this on for Cork, and it completely opted it out of the Homebrew updating mechanism.

Also, could you please tell me more about the --greedy flag? I have never used it, so I'd like to know your use case :)

@ianjukes
Copy link
Author

Hi @buresdv. Apologies for the late reply.

Actually, you can update casks with in-app updates in Homebrew. I do it all the time, and that is the use case I was asking to support. You are correct in your understanding that casks with the auto_updates entry in their definition opts them out of the Homebrew updating mechanism. However, the --greedy flag ignores this and updates them anyway, even if auto_updates is set.

When I install any macOS app via a Homebrew cask, I switch off auto updating inside that app via its settings in macOS. I then use the Homebrew process to do the updates -- and it works great. I don't think I'm the only one to do this. It means I can update all my non Mac App Store apps in one go -- rather than having to launch each one individually.

Does that make sense??

What I would love to see in Cork is a setting (maybe in preferences?) that allows me to add the --greedy flag for cask updates. And I would love to see a visual icon in the sidebar next to any formulae or cask that is out-of-date and in need of an update.

Thanks!

@buresdv
Copy link
Owner

buresdv commented Jul 16, 2024

I think I understand. That's an interesting use case I'll look into.

Speaking of the outdated indicator, that has been implemented 1.4.3, check it out in the changelog: https://blog.corkmac.app/p/cork-143-out-bugfixes-and-optimizations 👍

@ianjukes
Copy link
Author

Speaking of the outdated indicator, that has been implemented 1.4.3, check it out in the changelog: https://blog.corkmac.app/p/cork-143-out-bugfixes-and-optimizations 👍

Ahhhh!!!! I had missed this. Fantastic. I think because the icon is so subtle I visually missed them. I was expecting to see something like a ⚠️ or ‼️

@buresdv
Copy link
Owner

buresdv commented Jul 17, 2024

Could you please direct the discussion to #362? I created it so that it's only about the --greedy flag and not the outdated package indicator :)

@buresdv buresdv closed this as completed Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants