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

Updated formulas disappear from cask list #316

Closed
shrx opened this issue May 13, 2013 · 7 comments
Closed

Updated formulas disappear from cask list #316

shrx opened this issue May 13, 2013 · 7 comments

Comments

@shrx
Copy link

shrx commented May 13, 2013

terminal screenshot
buu is an alias for brew update; brew upgrade.

@passcod
Copy link
Contributor

passcod commented May 13, 2013

cask list shows the casks that you have installed by checking the formula against the directory it should install to. Old, outdated versions are therefore not shown. This may or may not be expected behaviour.

If it's not, well, now that we're in the Caskroom, we can re-implement that code to simply list the folders in there, and additionally have a cask outdated list fairly easily by comparing these folders to the list we currently get using cask list.

Also, it might be interesting to show the status of casks when performing a search (e.g. a * when it's installed, a ! when there's an update available, and a % if the formula doesn't match the installation ~ i.e. when a formula has been deleted from the repo).

@vitorgalvao
Copy link
Member

I agree that having it show every installed cask (even if outdated) may be less confusing.

I’m not sure if simply listing the directories in the Caskroom would be enough, though, as it seems that (at least currently), doing a brew cask uninstall some-app will remove everything from inside its own directory, but not the directory itself (so that would list uninstalled casks as well). Making the uninstall command remove the directory of the app would not only solve that, it would probably be a more expected behaviour.

I like the idea of showing the status, but maybe it should happen only with a specific call (mainly as a concern to the reliability and predictability of scripts that may interact with that list).

@passcod
Copy link
Contributor

passcod commented Aug 6, 2013

Someone has again gotten confused by this in #880. Maybe we should revisit the idea of showing update status in $ brew cask info and $ brew cask list, optionally behind a flag?

@fuadsaud
Copy link
Contributor

fuadsaud commented Aug 6, 2013

Yes. Showing all the casks on list is way more intuitive, as well as removing the directory itself from the caskroom.

Showing the status is nice, but having a brew cask outdated command would be more homebrew-ish.

@phinze
Copy link
Contributor

phinze commented Aug 6, 2013

Yeah I'm totally in agreement here - we need better tracking around installed versions of casks.

I'll see if I can take a look at this as an update for the next release.

@xgdgsc
Copy link

xgdgsc commented Nov 5, 2013

Oh, hope this strange bug get fixed soon. Any progress?

@vitorgalvao
Copy link
Member

Closing in favour of #2988. Not the exact same issue, but related and will be solved at the same time.

@miccal miccal removed bug Issue describing a reproducible bug. discussion labels Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 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

7 participants