-
Notifications
You must be signed in to change notification settings - Fork 1.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
homebrew_cask: fix upgrade_all changed when nothing upgraded #8708
homebrew_cask: fix upgrade_all changed when nothing upgraded #8708
Conversation
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.
Thanks for your contribution!
@johnbyrneio can you take a look at my comments? It would be great to get this merged before the releases coming up on Monday. Thanks! |
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
@felixfontein All set! |
If nobody objects I'll merge this on Monday. |
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #8748 🤖 @patchback |
* homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 76d0222)
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #8749 🤖 @patchback |
@johnbyrneio thanks for your contribution! |
* homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 76d0222)
… changed when nothing upgraded (#8748) homebrew_cask: fix upgrade_all changed when nothing upgraded (#8708) * homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 76d0222) Co-authored-by: John Byrne <6145795+johnbyrneio@users.noreply.github.com>
… changed when nothing upgraded (#8749) homebrew_cask: fix upgrade_all changed when nothing upgraded (#8708) * homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 76d0222) Co-authored-by: John Byrne <6145795+johnbyrneio@users.noreply.github.com>
…-collections#8708) * homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de>
…-collections#8708) * homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de>
…-collections#8708) * homebrew_cask: fix upgrade_all changed when nothing upgraded * Add changelog fragment * Update changelogs/fragments/8708-homebrew_cask-fix-upgrade-all.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Add .strip() to upgrade output check Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: John Byrne <john@jobytech.net> Co-authored-by: Felix Fontein <felix@fontein.de>
SUMMARY
Fixes bug with homebrew_cask upgrade_all where the module always returns 'changed' due to change in output behavior of the
brew
command.Fixes #8707
ISSUE TYPE
COMPONENT NAME
homebrew_cask