-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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 1.0.3 (new cask) #170971
flox 1.0.3 (new cask) #170971
Conversation
See https://flox.dev for more information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this @stahnma
I have left a few queries and suggested changes in my review.
Ready for another review pass. I've resolved the comments that were straightforward and answered questions on the remainder. |
@bevanjkay it does look like this also fails. Is going back to |
Thank you @stahnma |
Thank you, @bevanjkay |
flox 1.0.3 (new cask)
`brew uninstall --cask flox` fails if not done immediately following an installation. During review of Homebrew#170971 we saw a failure on uninstall if it happened _right_ after installation since the installation kicks off an indexing job via a process named `pkgdb`. That is killed via `early_script` in the cask. (We tried `quit` and `signal` but neither worked). However, if you want to perform an uninstallation after the index job has completed, there is no `pkgdb` process running. This change adds `must_succeed: false` to the `early_quit` stanza, so in the event the kill doesn't match any process, the uninstallation will continue normally.
See https://flox.dev for more information.
Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.
In the following questions
<cask>
is the token of the cask you're submitting.After making any changes to a cask, existing or new, verify:
brew audit --cask --online <cask>
is error-free.brew style --fix <cask>
reports no offenses.Additionally, if adding a new cask:
brew audit --cask --new <cask>
worked successfully.HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask>
worked successfully.brew uninstall --cask <cask>
worked successfully.