Skip to content

Allow pinning for casks #11860

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
cglong opened this issue Aug 15, 2021 · 2 comments
Closed

Allow pinning for casks #11860

cglong opened this issue Aug 15, 2021 · 2 comments
Labels
features New features outdated PR was locked due to age

Comments

@cglong
Copy link
Contributor

cglong commented Aug 15, 2021

Provide a detailed description of the proposed feature

I wish I could use brew pin to pin casks to a specific version rather than only formulae.

What is the motivation for the feature?

I use the mactex cask, which is a ~4GB download. The newest version of the cask has a requirement I can't meet (minimum macOS version), but every brew upgrade call tries to download the new version anyway. I wish I could pin mactex to short-circuit this.

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

Casks are commonly used for proprietary applications. Unlike FOSS, proprietary apps can make huge UX changes that the user cannot revert. Allowing everyone to pin casks would help users ensure they don't suffer any regressions in their favorite apps.

What alternatives to the feature have been considered?

I considered suggesting that cask requirements be evaluated before the download, but this would be relevant for a much smaller segment of users.

@cglong cglong added the features New features label Aug 15, 2021
@miccal
Copy link
Contributor

miccal commented Aug 16, 2021

Please see the discussion in Homebrew/homebrew-cask#90242.

I would suggest that you remove mactex from your brew list --casks by running the command rm -r /usr/local/Caskroom/mactex.

@miccal miccal closed this as completed Aug 16, 2021
@cglong
Copy link
Contributor Author

cglong commented Aug 16, 2021

Got it, makes sense from that discussion. Thank you for the workaround @miccal! 🙂

@github-actions github-actions bot added the outdated PR was locked due to age label Sep 16, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
features New features outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants