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 Install: detect lack of working Git, and note possible vcpkg time outs #2351

Merged
merged 2 commits into from
Oct 7, 2019

Conversation

PhilipOakley
Copy link

While testing out the vs/master branch that should provide a ready-to-go git.sln for compilation with
Visual Studio, I hit a couple of snags.

These ultimately were problems with my local installation, but the sln compilation should offer extra guidance if users fall into the same trap.

The compilation stage that uses the vcpkg download can also fail on slow networks, so a batch file remark is included to inform users who follow-up the error message.

The fixes #2349 (in conjunction with git-for-windows/build-extra#258).

Signed-off-by: Philip Oakley philipoakley@iee.email

The vcpkg_install batch file depends on the availability of a
working Git on the CMD path. This may not be present if the user
has selected the 'bash only' option during Git-for-Windows install.

Detect and tell the user about their lack of a working Git in the CMD
window.

Fixes git-for-windows#2348.
A separate PR git-for-windows/build-extra#258
now highlights the recommended path setting during install.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

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

Apart from the indentation I pointed out, this looks good!

The vcpkg downloads may not succeed. Warn careful readers of the time out.

A simple retry will usually resolve the issue.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho merged commit cd9994f into git-for-windows:master Oct 7, 2019
@dscho dscho added this to the v2.23.0(2) milestone Oct 7, 2019
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 9, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 9, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 9, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 11, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 11, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 11, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 12, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 15, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 15, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 15, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Nov 22, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Nov 22, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Nov 22, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Nov 22, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit to dscho/git that referenced this pull request Nov 25, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Nov 25, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit to dscho/git that referenced this pull request Dec 16, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit to dscho/git that referenced this pull request Dec 16, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit to dscho/git that referenced this pull request Dec 17, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Dec 17, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Dec 19, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Dec 31, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Dec 31, 2024
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 2, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 2, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 2, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 3, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 6, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Jan 6, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
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.

vs/master not building when install-option "Path Option: BashOnly" in use (probably)
3 participants