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

All my Casks were removed at TAP_MIGRATION #4312

Closed
rcmdnk opened this issue May 9, 2014 · 2 comments · Fixed by #4343
Closed

All my Casks were removed at TAP_MIGRATION #4312

rcmdnk opened this issue May 9, 2014 · 2 comments · Fixed by #4343

Comments

@rcmdnk
Copy link
Contributor

rcmdnk commented May 9, 2014

Recently I upgraded cask and changed to the new repository.
In this time, all my Casks were removed because they were in previous repository location.

Fortunately, I have my Casks in different place, too, and can recover.

But I think it is better to warn it in TAP_MIGRATION.md before brew upgrade brew-cask.

@rolandwalker
Copy link
Contributor

Hi!

We can certainly put more warnings in the doc and/or code more defensively to make the changes easier on the user.

But I don't quite follow what happened in your case. No state about which Casks are installed is stored in the Tap. In fact very little state about which Casks are installed is stored anywhere. The only info we have to track installed Casks is the directory names under /opt/homebrew-cask/Caskroom. That directory didn't change.

Maybe it would help me understand the specifics if you give me an exact command that gives you a surprising response.

Sorry you had trouble with the migration!

@rcmdnk
Copy link
Contributor Author

rcmdnk commented May 10, 2014

Hi,

What I did is creating my Cask with brew cask create simplefloatingclock command.
So, my Cask files were directly in
/usr/local/Library/Taps/phinze/homebrew-cask/Casks/
which was deleted during the migration (it is actually expected behavior, but I could not be careful on it...).

Applications themselves were kept and I could use them w/o any changes.

In this case, cask show like:

$ brew cask list
alfread bettertouchtool ... simplefloatingclock (!) ...

These applications were shown with (!), then I realized that Cask files were not there.

Actually, it was not a big matter for me, but I think it is more safe if there is one comment on it.

Anyway, thank you for such a useful tool, and extensions such create command are also greatly working!

@rolandwalker rolandwalker self-assigned this May 10, 2014
rolandwalker added a commit to rolandwalker/homebrew-cask that referenced this issue May 12, 2014
@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

Successfully merging a pull request may close this issue.

2 participants