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

cannot update submodules #6

Closed
phuslu opened this issue Apr 16, 2019 · 3 comments · Fixed by #7
Closed

cannot update submodules #6

phuslu opened this issue Apr 16, 2019 · 3 comments · Fixed by #7

Comments

@phuslu
Copy link
Contributor

phuslu commented Apr 16, 2019

I ran into following issue when try update submodules

$ git clone https://github.com/marten-seemann/qpack
$ cd qpack
$ git submodule update --init --recursive
Submodule 'integrationtests/interop/qifs' (git@github.com:qpackers/qifs.git) registered for path 'integrationtests/interop/qifs'
Cloning into 'integrationtests/interop/qifs'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:qpackers/qifs.git' into submodule path 'integrationtests/interop/qifs' failed

And I found use https scheme could cure this problem.

diff --git a/.gitmodules b/.gitmodules
index 10a7000..5ac16f0 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "integrationtests/interop/qifs"]
        path = integrationtests/interop/qifs
-       url = git@github.com:qpackers/qifs.git
+       url = https://github.com/qpackers/qifs.git

So Is reasonable apply this change?

@phuslu
Copy link
Contributor Author

phuslu commented Apr 16, 2019

Indeed, I see such error/issue via

go get -x -u github.com/lucas-clemente/quic-go

@marten-seemann
Copy link
Member

Does this change fix the problem? If so, would you mind sending a PR?

@phuslu
Copy link
Contributor Author

phuslu commented Apr 16, 2019

Yes. And I sent a PR 😄

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 a pull request may close this issue.

2 participants