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

ENV: fix homebrew_extra_pkg_config_paths #530

Closed
wants to merge 1 commit into from

Conversation

ilovezfs
Copy link
Contributor

@ilovezfs ilovezfs commented Jul 16, 2016

Switch to HOMEBREW_LIBRARY since HOMEBREW_LIBRARY_PATH already includes
"/Homebrew" and HOMEBREW_LIBRARY is less confusing.

Closes Homebrew/homebrew-core#3038.

@BrewTestBot BrewTestBot added the in progress Maintainers are working on this label Jul 16, 2016
@ilovezfs
Copy link
Contributor Author

@MikeMcQuaid this fixes a regression introduced by a02be9e

By the way, this is at least the second time this same thing has happened probably because the variable name is "backwards."

@ilovezfs ilovezfs added the bug Reproducible Homebrew/brew bug label Jul 16, 2016
@xu-cheng
Copy link
Contributor

We probably should avoid to use HOMEBREW_LIBRARY_PATH at all, which is intended to refer to the ruby load path.

As it would be help for readability and avoid misunderstanding, if we only keep HOMEBREW_LIBRARY and remove HOMEBREW_LIBRARY_PATH.

@DomT4
Copy link
Contributor

DomT4 commented Jul 16, 2016

👍 to Xu's comment. Let's try to get this shipped out fairly quickly, leaving things like this broken for longer than discovered is extra pain for us & users.

Switch to HOMEBREW_LIBRARY since HOMEBREW_LIBRARY_PATH already includes
"/Homebrew" and HOMEBREW_LIBRARY is less confusing.
@ilovezfs ilovezfs force-pushed the fix-extra-pkg-config branch from 8832e47 to 3cdddcb Compare July 16, 2016 14:44
@ilovezfs
Copy link
Contributor Author

PR refreshed.

@DomT4
Copy link
Contributor

DomT4 commented Jul 16, 2016

LGTM. I personally wouldn't bother to wait for CI on this one, but up to you.

@ilovezfs ilovezfs closed this in 3560185 Jul 16, 2016
@BrewTestBot BrewTestBot removed the in progress Maintainers are working on this label Jul 16, 2016
@ilovezfs
Copy link
Contributor Author

Ran test-bot locally, and it's fine of course

@UniqMartin
Copy link
Contributor

Thanks for the fix! I agree that the similarity between HOMEBREW_LIBRARY_PATH and HOMEBREW_LIBRARY can cause confusion and thus lead to subtle bugs like these. I'm not sure we can eliminate the former completely, as HOMEBREW_LIBRARY_PATH and HOMEBREW_LIBRARY/"Homebrew" are very different things during brew tests. But we can at least try to find a better name.

Unfortunately, HOMEBREW_LOAD_PATH is already taken and is a list of paths during testing, so cannot be used as a substitute for HOMEBREW_LIBRARY_PATH. Does HOMEBREW_CODE_PATH sound reasonable?

@MikeMcQuaid
Copy link
Member

Sorry for the pain, folks.

Thanks for the fix! I agree that the similarity between HOMEBREW_LIBRARY_PATH and HOMEBREW_LIBRARY can cause confusion and thus lead to subtle bugs like these. I'm not sure we can eliminate the former completely, as HOMEBREW_LIBRARY_PATH and HOMEBREW_LIBRARY/"Homebrew" are very different things during brew tests. But we can at least try to find a better name.

Agreed.

souvik1997 pushed a commit to souvik1997/brew that referenced this pull request Jul 25, 2016
Switch to HOMEBREW_LIBRARY since HOMEBREW_LIBRARY_PATH already includes
"/Homebrew" and HOMEBREW_LIBRARY is less confusing.

Closes Homebrew#530.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
@Homebrew Homebrew locked and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/brew bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants