Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Godep save ./... goes not get all dependencies #475

Open
dhawal55 opened this issue May 18, 2016 · 2 comments
Open

Godep save ./... goes not get all dependencies #475

dhawal55 opened this issue May 18, 2016 · 2 comments

Comments

@dhawal55
Copy link

dhawal55 commented May 18, 2016

➜  godep save ./...
godep: Package (github.com/golang/snappy) not found
➜  go get github.com/golang/snappy
➜  prometheusruleloader git:(master) ✗ godep save ./...               
godep: Package (github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg) not found
➜  prometheusruleloader git:(master) ✗ go get github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
➜  prometheusruleloader git:(master) ✗ godep save ./...                                                       
godep: Package (github.com/syndtr/goleveldb/leveldb) not found
➜  prometheusruleloader git:(master) ✗ go get github.com/syndtr/goleveldb/leveldb
➜  prometheusruleloader git:(master) ✗ godep save ./...                          

When setting up godep godep save ./... fails to get all dependencies. I had to manually go get missing dependencies.

@freeformz
Copy link

godep save looks at existing code to determine what packages should be saved and then copies those packages from your $GOPATH into a vendor directory. It's telling you that those packages aren't available in $GOPATH. godep save does not download any missing dependencies. Maybe a switch to do so would be useful?

@tejasmanohar
Copy link

tejasmanohar commented Jul 27, 2016

@freeformz it would be nice to download missing ones, even if behind a --flag. i find sometimes go get ./... doesn't do the trick w/ all nested deps :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants