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

Tolerate dependencies outside the repo when adding to cache #82

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

dfederm
Copy link
Member

@dfederm dfederm commented Aug 20, 2024

Tolerate dependencies outside the repo when adding to cache.

This supports scenarios like NerdBank.GitVersioning which end up adding a projects inside the package to the graph, which ends up getting ignored.

Ignoring project outside the repository: D:\Code.nuget\nerdbank.gitversioning\3.6.139\build\PrivateP2PCaching.proj

Before this change, this would result in all cache misses for repos using NerdBank.GitVersioning.

Note that projects outside of the repo which are built in this manner are not considered at all for cache fingerprinting, so any changes in those projects will not cause projects to rebuild, just like any other file read outside the repo (and outside NuGet packages).

@dfederm dfederm merged commit f4bac71 into main Aug 20, 2024
6 checks passed
@dfederm dfederm deleted the dfederm/support-projects-outside-repo branch August 20, 2024 22:02
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.

1 participant