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

inconsistency between messages and real requests #25339

Closed
cenit opened this issue Jun 20, 2022 · 7 comments
Closed

inconsistency between messages and real requests #25339

cenit opened this issue Jun 20, 2022 · 7 comments
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@cenit
Copy link
Contributor

cenit commented Jun 20, 2022

Describe the bug
This is what's written in a fresh install:

A suitable version of git was not found (required v2.7.4). Downloading portable git v2.7.4...
Downloading git...
  https://github.com/git-for-windows/git/releases/download/v2.35.1.windows.2/PortableGit-2.35.1.2-32-bit.7z.exe -> F:\vcpkg\downloads\PortableGit-2.35.1.2-32-bit.7z.exe

as you can see, the tool writes that it needs git v2.7.4, says it will download v2.7.4, but then downloads v2.35.1

@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Jun 21, 2022
@LilyWangLL LilyWangLL assigned Adela0814 and unassigned JackBoosY Dec 6, 2022
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Dec 21, 2023
@cenit
Copy link
Contributor Author

cenit commented Dec 23, 2023

problem is still there

@dg0yt
Copy link
Contributor

dg0yt commented Dec 23, 2023

<tool name="git" os="windows">
<version>2.7.4</version>
<exeRelativePath>mingw32\bin\git.exe</exeRelativePath>
<url>https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/PortableGit-2.41.0-32-bit.7z.exe</url>
<sha512>e483a890e77b427c20785e7528279338c7d99651e0afbf704bf2ff3cde23d0895c07e961603d133d5d78aea2308a2994e532974de41674e4f334423b1b47bd0e</sha512>
<archiveName>PortableGit-2.41.0-32-bit.7z.exe</archiveName>
</tool>

This data declares minimum version and download URL, but it doesn't declare which version that URL would be for.

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@WangWeiLin-MV
Copy link
Contributor

Not stale.

@MonicaLiu0311
Copy link
Contributor

Fixed by microsoft/vcpkg-tool#1409.

@cenit
Copy link
Contributor Author

cenit commented Feb 22, 2025

A suitable version of git was not found (required v2.7.4).
Downloading https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.2/PortableGit-2.47.1.2-64-bit.7z.exe -> PortableGit-2.47.1.2-64-bit.7z.exe
Successfully downloaded PortableGit-2.47.1.2-64-bit.7z.exe

@MonicaLiu0311 the issue is not fixed at all...

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.

6 participants