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

cask fetch and upgrade: print caveats #4232

Merged
merged 1 commit into from
Jun 21, 2018
Merged

cask fetch and upgrade: print caveats #4232

merged 1 commit into from
Jun 21, 2018

Conversation

commitay
Copy link
Contributor

@commitay commitay commented May 29, 2018

  • 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?

cc @reitermarkus @vitorgalvao

fetch does not display caveats which may include a license caveat which has been accepted by fetching the cask.

upgrade does not display caveats which would mean a user would not see the caveat if it was added to the cask after it had been installed.

@ghost ghost assigned commitay May 29, 2018
@ghost ghost added the in progress Maintainers are working on this label May 29, 2018
@commitay commitay added the cask Homebrew Cask label May 29, 2018
vitorgalvao
vitorgalvao previously approved these changes May 29, 2018
@@ -10,6 +10,7 @@ def initialize(*)

def run
casks.each do |cask|
Installer.print_caveats
Copy link
Member

Choose a reason for hiding this comment

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

Is this right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. 😴

Also, I'll see if this can be tweaked to print only the relevant license caveat, showing all caveats isn't really needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed my mind on only printing the license caveat for fetch, probably not worth it for what is basically an edge case.

@commitay commitay requested a review from a team June 4, 2018 23:49
@commitay
Copy link
Contributor Author

Ping?

@commitay commitay merged commit 41e2792 into Homebrew:master Jun 21, 2018
@ghost ghost removed the in progress Maintainers are working on this label Jun 21, 2018
@commitay commitay deleted the cask-caveats branch June 21, 2018 01:51
@commitay commitay removed their assignment Jun 21, 2018
@lock lock bot added the outdated PR was locked due to age label Jul 21, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cask Homebrew Cask outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants