Skip to content

Commit

Permalink
fix: failing to clone from gopkg
Browse files Browse the repository at this point in the history
you need to execute this after pulling a cloned repo
  git submodule sync --recursive

This should fix this issue:
	Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

It looks like it is a known issue: niemeyer/gopkg#63

So we are going around gopkg and cloneing from github directly.
  • Loading branch information
crhntr committed Nov 4, 2022
1 parent 1eb78cd commit 391c16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url = https://go.googlesource.com/net
[submodule "src/gopkg.in/yaml.v2"]
path = src/gopkg.in/yaml.v2
url = https://gopkg.in/yaml.v2
url = https://github.com/go-yaml/yaml
[submodule "src/golang.org/x/text"]
path = src/golang.org/x/text
url = https://go.googlesource.com/text
Expand Down

0 comments on commit 391c16f

Please sign in to comment.