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

vcpkg-configuration.json validation failure with wildcards #39259

Closed
Crzyrndm opened this issue Jun 12, 2024 · 0 comments · Fixed by microsoft/vcpkg-tool#1429
Closed

vcpkg-configuration.json validation failure with wildcards #39259

Crzyrndm opened this issue Jun 12, 2024 · 0 comments · Fixed by microsoft/vcpkg-tool#1429
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@Crzyrndm
Copy link

Crzyrndm commented Jun 12, 2024

Using the schema linked by https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-configuration-json

  • "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json"

Since early 2023, vcpkg has supported wildcards in registries[*].packages

This is not currently noted by the linked schema
https://github.com/microsoft/vcpkg-tool/blob/main/docs/vcpkg-schema-definitions.schema.json#L863
e.g. bei* is not a valid port-name
I suspect the same regex with a terminating * would suffice to cover the wildcard case

@WangWeiLin-MV WangWeiLin-MV added category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) category:documentation To resolve the issue, documentation will need to be updated and removed category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) labels Jun 13, 2024
@WangWeiLin-MV WangWeiLin-MV added category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) and removed category:documentation To resolve the issue, documentation will need to be updated labels Jun 17, 2024
@BillyONeal BillyONeal added the requires:tool-release An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof label Jul 25, 2024
@BillyONeal BillyONeal reopened this Jul 25, 2024
@WangWeiLin-MV WangWeiLin-MV removed the requires:tool-release An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants