-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Logs ignore XDG_CACHE_HOME env variable while processing HOMEBREW_CACHE and HOMEBREW_LOGS #16156
Comments
This should be filed in Homebrew/brew since it is about the behaviour of the brew tool, not about a package. Additionally, please don't use images to report terminal output. It makes it much harder to scale and read than just text |
The relevant code is here: Lines 35 to 45 in 97eda64
Lines 78 to 80 in 97eda64
Nothing looks obviously wrong though. |
Probably an env filtering issue |
Yeah, that's exactly it. I assume we don't allow this to pass through because it could affect build reproducibility. We need to at least pass it from |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output" saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I was trying to set homebrew's cache into specific location via
HOMEBREW_CACHE
env, but it's still creates~/.cache/Homebrew
directory for logs which is not a suitable path in my caseWhat happened (include all command output)?
What did you expect to happen?
Logs will be created in
${HOMEBREW_CACHE}/Logs
as man page saysStep-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: