You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With straight brew, we can brew pin <formula> in order to prevent that formula from ever upgrading until it is unpinned. It'd be great to have this same ability for brew cask, something like brew cask pin <formula>.
Justification
Sometimes, we don't want to upgrade a particular program. Pins allow us to avoid doing so.
I agree, this needs to exist. Come casks, say mactex, are massive and it would be beneficial to pin such casks. Other times, keeping a particular version of say java is also desirable.
There’s no way we can enforce pin, because a considerable amount of casks auto update and we neither have control over that, nor do we want to — it’s one of the goals of HBC that the results of our installation is as similar as possible to the results of a manual installation.
Description of feature/enhancement
With straight
brew
, we canbrew pin <formula>
in order to prevent that formula from ever upgrading until it is unpinned. It'd be great to have this same ability forbrew cask
, something likebrew cask pin <formula>
.Justification
Sometimes, we don't want to upgrade a particular program. Pins allow us to avoid doing so.
Example use case
$ brew cask pin vagrant
$ brew cask pin dwarf-fortress
etc.
The text was updated successfully, but these errors were encountered: