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

fix: Update macOS brew list command for casks #58381

Merged
merged 5 commits into from
Dec 28, 2020

Conversation

cdalvaro
Copy link
Contributor

@cdalvaro cdalvaro commented Sep 4, 2020

What does this PR do?

brew cask --list has been deprecated in favor of brew list --cask (Homebrew/brew#8390).

This PR changes the command in order to avoid the fallowing warning:

❯ brew cask list
Warning: Calling brew cask list is deprecated! Use brew list --cask instead.

and prevents for future errors when the command could fail.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

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.

@cdalvaro cdalvaro requested a review from a team as a code owner September 4, 2020 14:19
@ghost ghost requested review from Akm0d and removed request for a team September 4, 2020 14:19
@cdalvaro cdalvaro force-pushed the update_brew_cask_list_command branch from 8c0ae72 to 8f594b4 Compare September 5, 2020 10:59
Akm0d
Akm0d previously approved these changes Sep 14, 2020
@Akm0d
Copy link
Contributor

Akm0d commented Oct 12, 2020

@cdalvaro Thank you for the PR! Can the merge conflicts be resolved?

…st_command

* github/master: (657 commits)
  Update botocore to the latest 1.16.26 release
  Revert "move_dep_from_module_run (saltstack#58701)" (saltstack#58702)
  move_dep_from_module_run (saltstack#58701)
  Update 3002.rst
  Update 3002.rst
  Update 3002.rst
  Update 3002.rst
  Update 3002.rst
  Update 3002.rst
  Update Releasenotes 3002
  Update Changelog 3002
  Update index.rst
  Update Reference Magnsium
  Skip tests depending on the `ssl_webserver` fixture if on Py < 3.5.3
  Update man-pages to 3002
  Update RC Install Instructions
  Fix rst formatting
  Refresh README; add SECURITY; update logos
  Revert "Set the codepage on windows at import time of `salt/utils/parsers.py`"
  Set the codepage on windows at import time of `salt/utils/parsers.py`
  ...
@cdalvaro
Copy link
Contributor Author

@cdalvaro Thank you for the PR! Can the merge conflicts be resolved?

Done!

@cdalvaro cdalvaro requested a review from Akm0d October 12, 2020 17:27
@cdalvaro
Copy link
Contributor Author

After three months being deprecated this has turned into an error:

[ERROR   ] stderr: Error: Calling brew cask list is disabled! Use brew list [--cask] instead.

@cdalvaro cdalvaro changed the title feat: Update macOS brew list command for casks fix: Update macOS brew list command for casks Dec 21, 2020
@s0undt3ch s0undt3ch added the Aluminium Release Post Mg and Pre Si label Dec 22, 2020
@s0undt3ch s0undt3ch added this to the Aluminium milestone Dec 22, 2020
@s0undt3ch
Copy link
Collaborator

/cc @weswhet

Copy link
Contributor

@SMillerDev SMillerDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a brew maintainer, looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aluminium Release Post Mg and Pre Si
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants