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

Support XDG_CACHE_HOME as used by Coursier #639

Merged
merged 3 commits into from Apr 20, 2022
Merged

Support XDG_CACHE_HOME as used by Coursier #639

merged 3 commits into from Apr 20, 2022

Conversation

ghost
Copy link

@ghost ghost commented Dec 22, 2021

Coursier respects $XDG_CACHE_HOME as a replacement for $HOME/.cache
outside of Windows and macOS.

Resolves #638.

Coursier respects `$XDG_CACHE_HOME` as a replacement for `$HOME/.cache`
outside of Windows and macOS.

Resolves #638.
@ghost ghost requested review from c-parsons, cheister, jin and shs96c as code owners December 22, 2021 21:44
shs96c
shs96c previously requested changes Dec 23, 2021
Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

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

This looks really useful, but it looks like the change breaks the CI builds. Once that's fixed, it would be a pleasure to land this PR. Thank you for taking the time to put this together.

tests/bazel_run_tests.sh Outdated Show resolved Hide resolved
@ghost ghost requested a review from shs96c December 23, 2021 15:10
jin
jin previously requested changes Jan 24, 2022
Copy link
Member

@jin jin left a comment

Choose a reason for hiding this comment

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

Add XDG_CACHE_HOME to the environ parameter here to ensure that the repo rule re-runs when it changes

environ = [

@cheister cheister dismissed stale reviews from jin and shs96c April 20, 2022 01:19

author addressed review

@cheister cheister merged commit 30cf568 into bazelbuild:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants