-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use --json=v2 for listing macOS brew casks #59439
Use --json=v2 for listing macOS brew casks #59439
Conversation
293dc93
to
b5be220
Compare
64f34d8
to
d8a0f59
Compare
Please @twangboy, tell me if something is wrong with this issue. I created it more than 1 month ago and no one has commented or approved it. |
2bf709b
to
91a8cb6
Compare
Please @twangboy, tell me if something is wrong with this issue. I created it more than 1 year ago and no one has commented or approved it. |
Excuse me for adding you to this PR @weswhet, but this PR has been open for over a year and no one has approved it or asked for changes. Could you review it, please? |
Hey, @cdalvaro can you bring it up to date with master? otherwise it looks good to me. @garethgreenaway @s0undt3ch could you have a look at this since I don't have permission to approve it. |
Done! Many thanks @weswhet for reviewing it! |
This PR needs to be rebased due to conflicts. Could you take care of it @cdalvaro please? |
f54feb3
to
88ba615
Compare
Due to some directory changes for the file I'm working on recovering them... |
88ba615
to
9f14383
Compare
I think I have recovered all of them ... Tests will fail if I have forgotten something 🤞 |
Done! I think that CI failures are not related with my changes |
Could this PR be merged for the next salt release, please? |
1.5 years since this PR was created |
fd0338c
to
7248f8e
Compare
Please @Ch3LL, could you review this PR? |
7248f8e
to
4339111
Compare
Thanks @Ch3LL !! |
What does this PR do?
It simplifies and improves support for listing macOS brew casks.
Since Homebrew 2.6.0 (Homebrew/brew#8899), all
brew cask
commands have been deprecated in favour ofbrew
commands (with--cask
) when necessary. So now, any cask from official taps can be installed/removed without specifying its corresponding tap.For example:
visual-studio-code: pkg.installed
can be used for installing VS Code instead of using:
homebrew/cask/visual-studio-code: pkg.installed
This PR also adds support for listing casks upgrades (
mac_brew.list_upgrades(include_casks=True)
) and getting casks info (mac_brew.info_installed("cask_name")
)Merge requirements satisfied?
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
This PR closes #24653