-
-
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
flox: update zap stanza #176407
flox: update zap stanza #176407
Conversation
What happens if we run |
Still working on this and open to any ideas. The thought is that the Nix Store remains. Removing it and then downloading various portions is possible, just slow, duplicative, and frustrating for users. It also means that the history of older generations might not be recoverable either. It's a bit like Anaconda (https://github.com/Homebrew/homebrew-cask/blob/d63d8b045ea5f4f96b7c6ceb793d96fa652fb433/Casks/m/miniconda.rb), where much of the content is only removed with zap. |
561a2b3
to
bcc207b
Compare
Updated to transform a |
a94cdf3
to
a204e9b
Compare
Hey Tom, nice to see you again! 👋 Trying to figure out how we should approach this one. Probably too much logic in the Caskfile that should be shunted to the package. I’m not deep into this but: is there a reason these postflight commands can’t be run as part of your installer / uninstall package? For the zap: it would be more amenable to print something to the user to action as a final cleanup step. Again: is there any part of this can that be moved to your package, and leave some minimal more destructive cleanup action to the zap or to the user to run manually? |
👋
The We are also supporting
There are a few steps needed for zap: so something like |
6db37da
to
8776e22
Compare
@krehel I've updated the method to be cleaner and remove the postflight stanzas. There is some more cleanup we can do after 1.1.0 is out as well, but I'd like to have the auto-bump system have a chance to work. |
8776e22
to
6b10002
Compare
Note the 1.0.7 bump was handled in another PR, but I can't edit @tomberek's description. |
Do we need to do something to get this re-reviewed? /cc @krehel @razvanazamfirei |
6b10002
to
e06c08c
Compare
e06c08c
to
9c76646
Compare
Simplified and rebase'd. |
Sorry, going to pass on this. I'm not comfortable adding an entire script inline. |
Move full uninstallation script to "zap".
brew audit --cask --online <cask>
is error-free.brew style --fix <cask>
reports no offenses.Also bump to 1.0.7(edit: merged elsewhere)