make: pkg: don't export globally GITCACHE and GIT_CACHE_DIR vars#14263
Merged
aabadie merged 5 commits intoRIOT-OS:masterfrom Jun 23, 2020
Merged
make: pkg: don't export globally GITCACHE and GIT_CACHE_DIR vars#14263aabadie merged 5 commits intoRIOT-OS:masterfrom
aabadie merged 5 commits intoRIOT-OS:masterfrom
Conversation
19 tasks
Contributor
Author
|
This PR doesn't seem to cause any issue with Murdock. @kaspar030, do you see any issue with the approach ? |
Contributor
and please squash! |
ac384f9 to
47a3f66
Compare
Contributor
Author
|
Rebased and squashed! |
47a3f66 to
d69036f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
Currently
git-cacheis only used inpkg.mkbut the corresponding variables (GITCACHEandGIT_CACHE_DIR) are globally exported by the build system.This PR cleans up this a little:
GITCACHEandGIT_CACHE_DIRvariables inpkg.mkGIT_CACHE_DIRfor the target that clones the packageNote that it's still possible to set custom GITCACHE and GIT_CACHE_DIR values from the command line.
I might have miss something related to the CI.
Testing procedure
./dist/tools/git/git-cache initIssues/PRs references
Ticks one item in #10850