Skip to content

Commit 6088c7d

Browse files
committed
Modify vendoring script to include additional deps to translate paths for
1 parent a1d0092 commit 6088c7d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ module github.com/ipfs/fs-repo-migrations
33
go 1.14
44

55
require golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa
6-

ipfs-10-to-11/gen_vendor.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ DEPS_FILE=deps_file.txt
2525
echo "===> creating $DEPS_FILE"
2626
go list -deps | sed -E -n '/^[^/]+[.].+$/p' | sed '/golang.org\/x\/net/d' | sed '/github.com\/ipfs\/fs-repo-migrations/d' > "$DEPS_FILE"
2727

28+
echo "golang.org/x/sys/windows" >> "$DEPS_FILE"
29+
echo "github.com/alexbrainman/goissue34681" >> "$DEPS_FILE"
30+
echo "github.com/libp2p/go-openssl" >> "$DEPS_FILE"
31+
echo "github.com/libp2p/go-openssl/utils" >> "$DEPS_FILE"
32+
echo "github.com/libp2p/go-sockaddr/net" >> "$DEPS_FILE"
33+
echo "github.com/libp2p/go-sockaddr" >> "$DEPS_FILE"
34+
echo "github.com/libp2p/go-sockaddr/net" >> "$DEPS_FILE"
35+
echo "golang.org/x/crypto/ed25519/internal/edwards25519" >> "$DEPS_FILE"
36+
echo "github.com/spacemonkeygo/spacelog" >> "$DEPS_FILE"
37+
echo "github.com/marten-seemann/qtls" >> "$DEPS_FILE"
38+
2839
# Edit the import path if a .go file imports anything in the _vendor directory
2940
echo "===> modifying import paths in _vendor"
3041
cat "$DEPS_FILE" | while read line; do find _vendor/ -name '*.go' | xargs sed -i "s,\"$line\",\"github.com/ipfs/fs-repo-migrations/ipfs-10-to-11/_vendor/$line\","; done

0 commit comments

Comments
 (0)