Skip to content

Allow pinning casks #12425

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

Closed
rafalkrupinski opened this issue Nov 13, 2021 · 5 comments
Closed

Allow pinning casks #12425

rafalkrupinski opened this issue Nov 13, 2021 · 5 comments
Labels
outdated PR was locked due to age

Comments

@rafalkrupinski
Copy link

rafalkrupinski commented Nov 13, 2021

Provide a detailed description of the proposed feature

As a user of package X, I'd like to be able to mark a version Y of that package as blacklisted for example, when it's buggy or incompatible with my environment.
If version Y is currently installed, it should be either updated (if available), downgraded (if available) or perhaps uninstalled as it's unresolvable.

What is the motivation for the feature?

I use vagrant with virtualbox. The latest release has a bug that makes it not work in headless configuration.
That bug has been fixed in master and will be available in the next release

How will the feature be relevant to at least 90% of Homebrew users?

Bugs and regressions may happen to any package

What alternatives to the feature have been considered?

Manual install

@rafalkrupinski rafalkrupinski added the features New features label Nov 13, 2021
@MikeMcQuaid
Copy link
Member

brew pin provides this behaviour for formulae. We do not have something like this for casks. For both formulae or casks your best bet is to extract the formula or cask into your own external tap where it won't be updated without your intervention.

@rafalkrupinski
Copy link
Author

brew pin provides this behaviour for formulae. We do not have something like this for casks.

I know. Hence the feature request for it.

@carlocab
Copy link
Member

You might be interested in https://github.com/buo/homebrew-cask-upgrade.

@MikeMcQuaid MikeMcQuaid added the help wanted We want help addressing this label Nov 23, 2021
@MikeMcQuaid MikeMcQuaid changed the title Allow blacklisting package version Allow pinning casks Nov 23, 2021
@MikeMcQuaid
Copy link
Member

Reopening as a cask-specific request.

@MikeMcQuaid MikeMcQuaid reopened this Nov 23, 2021
@miccal
Copy link
Contributor

miccal commented Nov 24, 2021

This has been discussed numerous times in the homebrew-cask repository, for example see the discussion in Homebrew/homebrew-cask#90242.

@miccal miccal closed this as completed Nov 24, 2021
@miccal miccal removed help wanted We want help addressing this features New features labels Nov 24, 2021
@github-actions github-actions bot added the outdated PR was locked due to age label Dec 25, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

4 participants