-
Notifications
You must be signed in to change notification settings - Fork 33
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
godl: only use git:// scheme as last option #97
Conversation
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Failure on windows looks unrelated (perhaps we need a longer timeout);
|
@LK4D4 PTAL 🤗 👋 |
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
6728603
to
553ee37
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
The `git://` protocol is insecure (equivalent of `http://`), and GitHub has deprecated support for this, see: https://github.blog/2021-09-01-improving-git-protocol-security-github/ Which causes vendoring with `vndr` to fail: 2022/03/31 09:29:01 Download dependencies 2022/03/31 09:29:02 Starting whole vndr cycle because no package specified fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. This patch moves the `git://` scheme to the end of the list of schemes to try, so that `https://` is used as default. I kept `git://` in the list, to allow it to be used for servers (other than GitHub) that still support it. Signed-off-by: Sebastiaan van Stijn <[email protected]>
553ee37
to
817ae4a
Compare
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Using my version from LK4D4/vndr#97 Signed-off-by: Sebastiaan van Stijn <[email protected]>
oh, fun! I just found that there was a replace rule in our Guess this change in itself wouldn't hurt (to use it as last option instead of the first one) |
Thanks @LK4D4 ! (hope you're doing well! we should catch up!) |
The
git://
protocol is insecure (equivalent ofhttp://
), and GitHub hasdeprecated support for this, see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
Which causes vendoring with
vndr
to fail:This patch moves the
git://
scheme to the end of the list of schemes to try,so that
https://
is used as default. I keptgit://
in the list, to allowit to be used for servers (other than GitHub) that still support it.
Signed-off-by: Sebastiaan van Stijn [email protected]