quic-go / qpack

a (minimal) QPACK (RFC 9204) implementation in Go
MIT License
29 stars 8 forks source link

cannot update submodules #6

Closed phuslu closed 5 years ago

phuslu commented 5 years ago

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 commented 5 years ago

Indeed, I see such error/issue via

go get -x -u github.com/lucas-clemente/quic-go
marten-seemann commented 5 years ago

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

phuslu commented 5 years ago

Yes. And I sent a PR 😄