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

flox 1.0.3 (new cask) #170971

Merged
merged 3 commits into from
Apr 15, 2024
Merged

flox 1.0.3 (new cask) #170971

merged 3 commits into from
Apr 15, 2024

Conversation

stahnma
Copy link
Contributor

@stahnma stahnma commented Apr 9, 2024

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:

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • Checked the cask was not already refused.
  • Checked the cask is submitted to the correct repo.
  • 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.

See https://flox.dev for more information.
Copy link
Member

@bevanjkay bevanjkay left a 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.

@stahnma
Copy link
Contributor Author

stahnma commented Apr 10, 2024

Ready for another review pass. I've resolved the comments that were straightforward and answered questions on the remainder.

@chenrui333 chenrui333 changed the title Add Flox as new Cask flox 1.0.3 (new cask) Apr 11, 2024
@stahnma
Copy link
Contributor Author

stahnma commented Apr 15, 2024

@bevanjkay it does look like this also fails. Is going back to early_script an ok option if we've exhausted the others?

@bevanjkay bevanjkay enabled auto-merge April 15, 2024 23:14
@bevanjkay
Copy link
Member

Thank you @stahnma

@bevanjkay bevanjkay merged commit e4509de into Homebrew:master Apr 15, 2024
18 checks passed
@stahnma
Copy link
Contributor Author

stahnma commented Apr 15, 2024

Thank you, @bevanjkay

@stahnma stahnma deleted the add_flox branch April 15, 2024 23:20
github-actions bot pushed a commit to MPLew-is/homebrew-vscodium that referenced this pull request Apr 16, 2024
stahnma added a commit to flox/homebrew-cask that referenced this pull request Apr 16, 2024
`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.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants