Skip to content

[vcpkg_apply_patches] Work around /etc/gitconfig: Permission denied#14848

Merged
strega-nil merged 1 commit intomicrosoft:masterfrom
ras0219:dev/roschuma/gitconfig
Nov 30, 2020
Merged

[vcpkg_apply_patches] Work around /etc/gitconfig: Permission denied#14848
strega-nil merged 1 commit intomicrosoft:masterfrom
ras0219:dev/roschuma/gitconfig

Conversation

@ras0219
Copy link
Copy Markdown
Contributor

@ras0219 ras0219 commented Nov 30, 2020

The current CI system on linux and osx is experiencing issues due to some problems with /etc/gitconfig. This PR works around the issue entirely by instructing git to not read the system config file at all when applying patches.

The environment variable GIT_CONFIG_NOSYSTEM is documented here.

An example PR that hit this issue is #14825.

@strega-nil @JackBoosY

@strega-nil strega-nil merged commit 7c08030 into microsoft:master Nov 30, 2020
@ras0219 ras0219 deleted the dev/roschuma/gitconfig branch November 30, 2020 18:20
@ras0219
Copy link
Copy Markdown
Contributor Author

ras0219 commented Nov 30, 2020

@strega-nil Turns out I was wrong about this being the problem with #14825. I think it's likely a good change regardless, but I've suggested the actual fix on that PR as a review.

@JackBoosY JackBoosY self-assigned this Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants