-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
ENV: move to new paths. #507
Conversation
I briefly checked all scripts, But git and svn symlink in superenv will have to be updated accordingly. |
@xu-cheng Thanks, fixed. |
You fixed super/git script but broke scm/git in the process. To check it, you can add May I suggest to put scm folder inside |
I think we could have a |
Thanks, fixed. I see they assumed they were at the same level before so I've fixed that. |
@BrewTestBot test this please |
Will wait and see what @UniqMartin thinks about this (but no rush there, Martin). |
@@ -12,7 +12,9 @@ | |||
|
|||
# Paths pointing into the Homebrew code base that persist across test runs | |||
HOMEBREW_LIBRARY_PATH = Pathname.new(File.expand_path("../../..", __FILE__)) | |||
HOMEBREW_ENV_PATH = HOMEBREW_LIBRARY_PATH.parent+"ENV" | |||
HOMEBREW_ENV_PATH = \ | |||
HOMEBREW_LIBRARY_PATH.parent+"Homebrew/env" |
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.
Why does this line need to be wrapped, but the line directly underneath doesn't (though it has the exact same line length when unwrapped)? I think if we wanted to conserve some vertical space here, we'd be better off just dropping the unnecessary whitespace between the constant and the assignment operator.
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.
Bad edits. Will fix 👍
👍 on the general cleanup and relocation of
👍 on having (I haven't thoroughly checked the necessary code changes. I'd prefer to wait with checking whether any of the wrapper scripts are broken after we have agreed on a directory layout.)
Thanks, this is much appreciated—also in the other related PR! ❤️ |
I think mainly because I don't think they actually relate to
I'm 👍 on wrappers and 👎 on support. Other names:
Agreed. |
Although I guess technically the |
I'm not convinced the The |
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
@UniqMartin Done! |
Look like it causes error when migrating old version of Homebrew to v0.9.9:
|
Thanks @andyli, will fix. |
brew install php55-redis: |
@bilibiliwwhh Please report that to Homebrew PHP. |
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
brew tests
with your changes locally?Move some stuff formerly in
Library/ENV
around:Library/ENV/$XCODE_VERSION
toLibrary/Homebrew/env/super
as they areall superenv wrappers and all symlinks to the same version. We never needed
the "separate shims for separate versions" functionality and it just adds
confusion.
Library/ENV/pkgconfig
toLibrary/Homebrew/env/pkgconfig
to get morethings under
Library/Homebrew
Library/ENV/scm
toLibrary/scm
as these wrappers are not actuallyused by or related to superenv (or stdenv) in any way.