You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is distilled from #26594 (comment). It requires a user with a Github registered ssh key.
Note: the following commands modify that user's global git config.
I reproduced the following using a custom version of the CircleCI build container image circleci/golang:1.10.
git config --global url.ssh://git@git.luolix.top.insteadof https://github.com
cd `mktemp -d`
export GOPATH=$(mktemp -d)
mkdir hello
cd hello
go mod init example.com/hello
cat <<EOD > main.go
package main
import _ "github.com/neelance/astrewrite"
func main() {}
EOD
go mod edit -require github.com/neelance/astrewrite@v0.0.0-20160511093645-99348263ae86
go list
Marking this as a release blocker, because CircleCI globally sets url.ssh://git@git.luolix.top.insteadof=https://github.com in its v2 containers, and git v2.11.0 is the default version in those containers. @rsc@bcmills - please do opine on whether you consider this a blocker.
This is not a problem with later git versions, although I'm unclear what the inflection point between bad/good is.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
n/a: working with tip.
What operating system and processor architecture are you using (
go env
)?What did you do?
Also relevant:
This is distilled from #26594 (comment). It requires a user with a Github registered ssh key.
Note: the following commands modify that user's global git config.
I reproduced the following using a custom version of the CircleCI build container image
circleci/golang:1.10
.What did you expect to see?
and zero exit code.
What did you see instead?
and exit code 1.
The reason behind this is explained in #26594 (comment).
Marking this as a release blocker, because CircleCI globally sets
url.ssh://git@git.luolix.top.insteadof=https://github.com
in its v2 containers, andgit
v2.11.0 is the default version in those containers. @rsc @bcmills - please do opine on whether you consider this a blocker.This is not a problem with later git versions, although I'm unclear what the inflection point between bad/good is.
The text was updated successfully, but these errors were encountered: