-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Component/s: None
-
None
-
Needed
-
Github no longer supports "git://" for git clone. For example:
$ git clone git://github.com/mongodb/mongo-python-driver.git Cloning into 'mongo-python-driver'... 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 is a problem for various drivers because of how we install drivers-evergreen-tools for testing:
[2021/11/02 00:02:50.556] + git clone git://github.com/mongodb-labs/drivers-evergreen-tools.git /data/mci/13e4172f3871f20f85385c686d16eb21/src/../drivers-tools [2021/11/02 00:02:50.557] Cloning into '/data/mci/13e4172f3871f20f85385c686d16eb21/src/../drivers-tools'... [2021/11/02 00:02:50.582] fatal: remote error: [2021/11/02 00:02:50.582] The unauthenticated git protocol on port 9418 is no longer supported. [2021/11/02 00:02:50.582] Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. [2021/11/02 00:02:50.583] Command failed: command encountered problem: error waiting on process '2308aa30-c995-4a50-8c1a-5db7a6298e5d': exit status 128
One fix should be to use https instead:
git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS
According to Github: https://github.blog/2021-09-01-improving-git-protocol-security-github/#when-are-these-changes-effective:
- the first brown out is on November 2, 2021. This explains why it's just started now.
- the next brown out on January 11, 2022.
- finally it will be permanently removed on March 15, 2022.
We'll probably need to make this change in most if not all drivers.
- split to
-
GODRIVER-2215 Use https:// instead of git:// for git clone
- Closed
-
CDRIVER-4216 Github no longer supports "git://" for git clone
- Closed
-
CSHARP-3949 Github no longer supports "git://" for git clone
- Closed
-
CXX-2411 Github no longer supports "git://" for git clone
- Closed
-
JAVA-4386 Github no longer supports "git://" for git clone
- Closed
-
MOTOR-852 Test Failure - git clone: The unauthenticated git protocol on port 9418 is no longer supported
- Closed
-
NODE-3736 Fix Evergreen Cloning Issue for Drivers Tools
- Closed
-
PHPC-1995 Use https:// instead of git:// for git clone
- Closed
-
PHPLIB-758 Use https:// instead of git:// for git clone
- Closed
-
PYTHON-2990 Github no longer supports "git://" for git clone
- Closed
-
RUBY-2839 Github no longer supports "git://" for git clone
- Closed
-
RUST-1092 Github no longer supports "git://" for git clone
- Closed