Skip to content

Display updated casks when running brew update#7101

Merged
MikeMcQuaid merged 3 commits intoHomebrew:masterfrom
MichelleNguy:display-updated-casks
Mar 3, 2020
Merged

Display updated casks when running brew update#7101
MikeMcQuaid merged 3 commits intoHomebrew:masterfrom
MichelleNguy:display-updated-casks

Conversation

@MichelleNguy
Copy link
Copy Markdown
Contributor

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew tests with your changes locally?

This pull request adds an additional report for modified casks to the reporter class and also adds the printout to the dump method as requested in issue #7011.

This is my first open source pull request and first pull request on Homebrew. I see what you want tests, but not sure which kind of tests are needed for this. I would love some direction.

Brew tests does not pass locally, but I suspect it will pass on CI. The same tests that are failing now were failing when I started on the feature and I could not figure out how to get them to pass.

@MichelleNguy MichelleNguy force-pushed the display-updated-casks branch from baf0d7a to 27e4532 Compare March 2, 2020 22:17
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Looks great so far! A few suggest comments.

Comment thread Library/Homebrew/cmd/update-report.rb Outdated
Comment thread Library/Homebrew/cmd/update-report.rb
@MichelleNguy MichelleNguy requested a review from MikeMcQuaid March 3, 2020 15:05
@MichelleNguy
Copy link
Copy Markdown
Contributor Author

Also, any suggestions on meatier issues that need a look?

MichelleNguy and others added 2 commits March 3, 2020 13:45
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
@MichelleNguy MichelleNguy force-pushed the display-updated-casks branch from 879503a to 352774e Compare March 3, 2020 18:46
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Looks great!
Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @MichelleNguy!

@MikeMcQuaid MikeMcQuaid merged commit 486d498 into Homebrew:master Mar 3, 2020
@ghost
Copy link
Copy Markdown

ghost commented Mar 4, 2020

@MichelleNguy Thank you for this. It seemed to work fine for me, except installed casks didn't get highlighted like normal formula do when an update for them is found.

@lock lock bot added the outdated PR was locked due to age label Apr 4, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated PR was locked due to age

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants