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

Fix overlay-ports behavior for manifest customers. #1586

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

BillyONeal
Copy link
Member

@BillyONeal BillyONeal commented Jan 24, 2025

In #1534 I introduced a bug which causes the builtin ports directory to "win" over declared command line --overlay-ports. This was not discovered in testing because the overlay-ports tests don't actually test with names that are also in the builtin ports directory.

Thanks to @AenBleidd for the bug report.

In microsoft#1534 I introduced a bug which causes the builtin ports directory to "win" over declared command line --overlay-ports. This was not discovered in testing because the overlay-ports tests don't actually test with names that are also in the builtin ports directory.
@@ -59,6 +60,11 @@ $manifestRoot = "$TestingRoot/overlays-malformed-shadowing"
Run-Vcpkg install --x-manifest-root=$manifestRoot
Throw-IfFailed

# ... even if that subsequent port is the builtin root
$manifestRoot = "$TestingRoot/overlays-malformed-shadowing-builtin"
Run-Vcpkg install --x-manifest-root=$manifestRoot --x-builtin-ports-root "$manifestRoot/builtin-malformed"
Copy link
Member Author

Choose a reason for hiding this comment

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

Before the fix
image

@BillyONeal BillyONeal merged commit 874e302 into microsoft:main Jan 24, 2025
6 checks passed
@BillyONeal BillyONeal deleted the fix-overlay-ports branch January 24, 2025 10:57
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.

2 participants