Glide is a package manager for Go. Glide v0.12.3 is the latest release. For more details on Glide visit https://glide.sh. Pull requests are welcome.
[0]akutz@red:libstorage$ make deps
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 1385 0 --:--:-- --:--:-- --:--:-- 1384
100 3690k 100 3690k 0 0 1390k 0 0:00:02 0:00:02 --:--:-- 2527k
/home/akutz/go/bin/glide up && touch glide.lock && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for github.com/spf13/viper.
[INFO] --> Fetching updates for github.com/Sirupsen/logrus.
[INFO] --> Fetching updates for github.com/akutz/gofig.
[INFO] --> Fetching updates for github.com/akutz/gotil.
...
[INFO] --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO] --> Fetching updates for golang.org/x/text.
[WARN] Error updating golang.org/x/text/transform: The Remote does not match the VCS endpoint
[WARN] Unable to set version on golang.org/x/text to . Err: The Remote does not match the VCS endpoint
[INFO] --> Fetching updates for github.com/googleapis/gax-go.
[INFO] --> Fetching updates for google.golang.org/grpc.
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for github.com/cesanta/ucl.
[INFO] --> Fetching updates for github.com/gorilla/context.
[INFO] --> Fetching updates for github.com/gorilla/mux.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] Setting references for remaining imports
[ERROR] Failed to set version on golang.org/x/crypto to : The Remote does not match the VCS endpoint
[ERROR] Failed to set version on golang.org/x/text to : The Remote does not match the VCS endpoint
[INFO] Project relies on 53 dependencies.
An Error has occurred
make: *** [Makefile:505: glide.lock] Error 2
[2]akutz@red:libstorage$
glide get
, all of my dependencies are updated, is this the expected behaviour, ideally to me, just the one dependency would be added to keep the commit as a single "add x dependency", whereas now it's "update dependencies and add x"
@bradleyfalzon, even though Glide advertises the interface to update just one dependency, I've never been able to figure out how get it to only touch that one. I understand that it needs to reconsider whether all the preceding constraints can be solved when taking the new dependency into account, but even when the other dependencies seem to be disjoint from the new one, Glide still updates them anyway.
I expect @sdboyer can explain why.