ipfs-shipyard / git-remote-ipld

MIT License
147 stars 33 forks source link

go-crypto: dependency mismatch #17

Closed EmbeddedAndroid closed 5 years ago

EmbeddedAndroid commented 6 years ago

make install is producing this error:

gx-go rewrites
go get ./...
package gx/ipfs/Qme1boxspcQWR8FBzMxeppqug2fYgYc15diNWmqgDVnvn2/go-crypto/ssh/knownhosts: unrecognized import path "gx/ipfs/Qme1boxspcQWR8FBzMxeppqug2fYgYc15diNWmqgDVnvn2/go-crypto/ssh/knownhosts" (import path does not begin with hostname)
Makefile:9: recipe for target 'deps' failed
make: *** [deps] Error 1

Seems that the knownhosts file doesn't exist @ https://gateway.ipfs.io/ipfs/Qme1boxspcQWR8FBzMxeppqug2fYgYc15diNWmqgDVnvn2/go-crypto/ssh/knownhosts

gx deps --tree

[...]
├─ go-git.v4                     QmSVCWSGNwq9Lr1t4uLSMnytyJe4uL7NW7jZ3uas5BPpbX 1.0.4
│  ├─ go-context                 QmX6DhWrpBB5NtadXmPSXYNdVvuLfJXoFNMvUMoVvP5UJa 0.0.0
│  │  └─ go-net                  QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt 0.0.0
│  │     ├─ go-text              Qmaau1d1WjnQdTYfRYfFVsCS97cgD8ATyrKuNoEfexL7JZ 0.0.0
│  │     └─ go-crypto            Qme1boxspcQWR8FBzMxeppqug2fYgYc15diNWmqgDVnvn2 0.0.0

             ^^^ old `go-crypto` version that doesn't match the other versions
             of this dependency (`QmW7VUmS`)
[...]

cc: @schomatis https://github.com/whyrusleeping/gx/issues/21

magik6k commented 5 years ago

@EmbeddedAndroid I've pushed a fix, can you try if it works for you?

EmbeddedAndroid commented 5 years ago

@magik6k works now, thanks!