buo / homebrew-cask-upgrade

A command line tool for upgrading every outdated app installed by Homebrew Cask
MIT License
2.44k stars 90 forks source link

Skipping casks when upgrading all #72

Closed ckesc closed 5 years ago

ckesc commented 7 years ago

In cask there is option brew pin wich prevents brew upgrade from updating some cask. (more info here https://github.com/Homebrew/legacy-homebrew/issues/35714)

I manually pinned cask via brew pin caskroom/cask/jing but brew cu still trying to update it!

Maybe skip pinned casks?

reagle commented 7 years ago

Yes, this would be handy!

disrupted commented 7 years ago

with the release of Java 9 I would love a feature like this to keep my installed version.

reagle commented 7 years ago

I want it for CarbonCopyCloner. I'm happy with version 4, but version 5 auto-upgrades and requires a new purchase.

ondrejfuhrer commented 6 years ago

I'm not sure if that is possible. Does the pinning of the cask actually do the pin? Since I tried it to test it out, but even after running brew pin caskroom/cask/something the cask did not appear in brew list --pinned. And I didn't find any functionality that allows me to list / get a list of pinned casks.

Did you manage to do it somehow? There are discussions in Homebrew (in the upgrade thread, etc) about that, but so far no solution.

The only possible solution I see ATM is to build the whole pinning thing in this repo.

reagle commented 6 years ago

I never got any pinning to work.

kdb424 commented 6 years ago

This is now an issue for open source synergy users as well as the version that it upgrades to is paid only.

ondrejfuhrer commented 6 years ago

@kdb424 Hello, the only solution I see here ATM is to ask guys in the Homebrew Cask repository to split the casks into two versions, one free and one paid. Not sure if they will do it, but if it is really a problem for you, it's worth asking.