Skip to content

Fix version database consistency check.#51408

Merged
BillyONeal merged 1 commit intomicrosoft:masterfrom
BillyONeal:fix-version-db-validation
Apr 27, 2026
Merged

Fix version database consistency check.#51408
BillyONeal merged 1 commit intomicrosoft:masterfrom
BillyONeal:fix-version-db-validation

Conversation

@BillyONeal
Copy link
Copy Markdown
Member

In #51374 I broke the consistency check if there are edits to ports/ which aren't in the user's branch because their branch is out of date.

Demonstration of it being broken: #51187

This fixes that.

In microsoft#51374 I broke the consistency check if there are edits to ports/ which aren't in the user's branch because their branch is out of date.

Demonstration of it being broken: microsoft#51187

This fixes that.

Co-authored-by: Copilot <[email protected]>
git clean -fd -- versions
./vcpkg x-add-version --all --skip-formatting-check | grep -E '^warning:|instead of "version-string"' | tee .github-pr.version-string.out || true
# check for version format errors separately by running x-add-version --all, recording problems it generates
./vcpkg x-add-version --all | grep -E '^warning:|instead of "version-string"' | tee .github-pr.version-string.out || true
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I got rid of --skip-formatting-check because it's unnecessary. We already ran format-manifest --all above.

Copy link
Copy Markdown
Member

@vicroms vicroms left a comment

Choose a reason for hiding this comment

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

LGTM

@BillyONeal BillyONeal merged commit 4607b57 into microsoft:master Apr 27, 2026
16 checks passed
@BillyONeal BillyONeal deleted the fix-version-db-validation branch April 27, 2026 22:17
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