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

Feature request: Ability to pin a cask so that it doesn't upgrade #44914

Closed
echosa opened this issue Mar 16, 2018 · 3 comments
Closed

Feature request: Ability to pin a cask so that it doesn't upgrade #44914

echosa opened this issue Mar 16, 2018 · 3 comments

Comments

@echosa
Copy link

echosa commented Mar 16, 2018

Description of feature/enhancement

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.

Example use case

$ brew cask pin vagrant
$ brew cask pin dwarf-fortress
etc.

@usmonster
Copy link

(See also old discussion on Homebrew/brew#1523.)

@bretonics
Copy link

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.

@vitorgalvao
Copy link
Member

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.

@Homebrew Homebrew locked and limited conversation to collaborators Aug 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants