-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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: Manually Updating Installed Version Numbers #37490
Comments
Having to set a version is wasteful. Might as well just have something like But then again, making it manually is also wasteful. Might as well just make |
I’m not sure what you mean by wasteful, but this seems like the sort of thing that could go horribly wrong if we make too many assumptions. Besides, not everyone will be using this to skip to the latest version. It is not implausible that someone would revert to an earlier version of a program manually, for instance. |
Agree with @vitorgalvao, this would be better handled by
We don't support this. |
You mean you can’t do that with Homebrew-Cask? That’s why it would be done manually, without using HBC at all. |
I don't understand? |
Let’s say someone updated a Cask, only to find that doing so broke something. In order to fix it, they’d download an older version of the application and install it directly, overwriting the Cask-installed newer version. |
Easier to:
|
Closing in favour of #29301 |
Description of feature/enhancement
Add a command that allows users to manually set a Cask’s installed version, without changing anything else or necessitating a reinstall.
Justification
The current approach to auto-updating applications is to leave them be, and I gather this will be the plan after
brew cask upgrade
is implemented as well. This presents an extremely irritating problem: an application that is installed through Homebrew-Cask, but updated externally, is still listed as having the original version. Being able to manually correct the listed version would be easy to implement, so I think that is the best approach to reduce confusion.For many Casks, it might even be possible to automatically update the installed version by checking the application itself. This would have to be enabled on a case-by-case basis, since some Cask versions do not correspond with the application’s version in order to ease downloading.
Example use case
brew cask version [cask-token] [new-version]
brew cask version vlc 2.2.6
The text was updated successfully, but these errors were encountered: