-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Process zap.early_script
before uninstall.launchctl
#85498
Comments
As far as I am aware, the |
Hi, according to the
I don't know what more I can add, there's two "modes" that you can uninstall Multipass - non-, and -destructive to user data, so that maps quite nicely to |
So if I understand correctly, you want to call |
That cleanup should be done in
“Those” what? We’re not going to break a Virtualbox installation on the
If that’s what you’re asking, we have no plans to do it. |
No, we'd need things to be called in this order:
So interleave each step of
I'd say the split between
No, the exact case is: we register VMs and VM disks with VirtualBox, |
I understand your request, but I also think it’s too specific to bother with officially. Almost no cask would benefit from it. If you’d be willing to make a PR for it, we can consider it and I’ll ping other maintainers to see if they think the feature has merit and would be willing to review it. But if you’re not willing / able to do the legwork, we can close this now. |
Closing for lack of reply. |
Description of feature/enhancement
When using
brew cask zap …
,uninstall
is implicitly called beforezap
. I believe alluninstall.*
stanzas should be merged with the corresponding ones inzap.*
, and processed together, in the documented order.Justification
Consider the case when
zap
ping a cask requires the service to do some initial cleanup. The implicituninstall.launchctl
processing will remove the service beforezap.early_script
gets invoked.Example use case
Multipass may optionally use VirtualBox as the VM backend, and
brew cask zap multipass
should remove those. But the service is stopped throughuninstall.launchctl
, so even inzap.early_script
it's too late.The text was updated successfully, but these errors were encountered: