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 scripts] Fix command prompt error #43399

Closed
wants to merge 2 commits into from

Conversation

jimwang118
Copy link
Contributor

Fixes #43368

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

Verify that the command output is correct.

@jimwang118 jimwang118 added info:internal This PR or Issue was filed by the vcpkg team. category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly labels Jan 22, 2025
@jimwang118 jimwang118 added category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) and removed category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly labels Jan 22, 2025
@autoantwort
Copy link
Contributor

The right fix would be the addition of a field that specifies the minimum required version and the version that is downloaded.

@@ -70,7 +70,7 @@
{
"name": "git",
"os": "windows",
"version": "2.7.4",
"version": "2.43.0",
Copy link
Member

Choose a reason for hiding this comment

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

This might break Windows customers who have older than 2.43 installed because it forces an extra download on them. We should only do that if there is something vcpkg explicitly needs from a later version.

@jimwang118
Copy link
Contributor Author

Duplicate of microsoft/vcpkg-tool#1583.

@jimwang118 jimwang118 closed this Jan 23, 2025
@jimwang118 jimwang118 deleted the fix-fetch-git branch January 23, 2025 02:39
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/`) info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vcpkg-tool] vcpkg fetch should use correct version for folder names
4 participants