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

link: when refusing to link display keg only caveats instead. #4557

Merged
merged 3 commits into from
Jul 26, 2018
Merged

link: when refusing to link display keg only caveats instead. #4557

merged 3 commits into from
Jul 26, 2018

Conversation

MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Jul 26, 2018

These are a bit easier to follow and have been recently improved.

Inspired by conversation in #4441 CC @DomT4 @billinghamj

Also:

  • caveats: tweak keg_only_text

    • make it a public method
    • allow skipping the reason
    • output how to set the various variables in your current shell
  • shell: tweak export_value parameters.

    • Let’s have a default value for shell (considering this isn’t a public API)
      to make it easier to use.
  • 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?


Let’s have a default value for shell (considering this isn’t a public
API) to make it easier to use.
- make it a public method
- allow skipping the reason
- output how to set the various variables in your current shell
These are a bit easier to follow and have been recently improved.

Inspired by conversation in #4441.
@ghost ghost assigned MikeMcQuaid Jul 26, 2018
@ghost ghost added the in progress Maintainers are working on this label Jul 26, 2018
@DomT4
Copy link
Contributor

DomT4 commented Jul 26, 2018

Seems to behave as expected for me locally 👍. Thanks for looking at this! Definitely nicer to be able to lean on the caveat mechanism that already exists rather than duplicating the messaging, IMO.

@MikeMcQuaid MikeMcQuaid merged commit 5d4adea into Homebrew:master Jul 26, 2018
@ghost ghost removed the in progress Maintainers are working on this label Jul 26, 2018
@MikeMcQuaid MikeMcQuaid deleted the no-link-caveats-output branch July 26, 2018 14:03
@lock lock bot added the outdated PR was locked due to age label Aug 25, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 25, 2018
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