mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-19 21:07:21 +08:00
This change was made with the following commands
go mod init
go mod tidy
go mod vendor -v
Revision of github.com/op/go-logging changed because
github.com/anacrolix/torrent requires the current version in its go.mod
# github.com/op/go-logging
yunion.io/x/onecloud/cmd/torrent
github.com/anacrolix/torrent
github.com/elgatito/upnp
github.com/op/go-logging
Content of google.golang.org/grpc changed and it's indeed the case after
checking with the upstream repo. It's very likely that the old content
is wrong.
Some packages like golang.org/x/sys/unix are added because they are
indeeded needed
Some packages are removed as a whole because they are needed anymore
13 lines
381 B
Bash
13 lines
381 B
Bash
#!/bin/bash
|
|
set -e
|
|
set -x
|
|
|
|
if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then
|
|
mkdir -p /tmp/build-golang/src/github.com/json-iterator
|
|
ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go
|
|
fi
|
|
export GOPATH=/tmp/build-golang
|
|
go get -u github.com/golang/dep/cmd/dep
|
|
cd /tmp/build-golang/src/github.com/json-iterator/go
|
|
exec $GOPATH/bin/dep ensure -update
|