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

godep get doesn't seem to do anything with vendor #501

Open
unclejack opened this issue Jul 30, 2016 · 1 comment
Open

godep get doesn't seem to do anything with vendor #501

unclejack opened this issue Jul 30, 2016 · 1 comment

Comments

@unclejack
Copy link

Expected behavior

godep get should add the package to vendor just like godep save ./... would.

Actual behavior

godep get looks at the packages, but doesn't add it to vendor and to Godeps.json

Steps to reproduce behavior

  1. set up Godeps with Go 1.6.3 for a project
  2. try to use godep get to add a package to vendor
  3. the package doesn't get added to vendor

I can reproduce this with a simple brand new setup and with existing setups.

godep version output

godep v74 (linux/amd64/go1.6.3)

go version output

go version go1.6.3 linux/amd64

@JoakimSoderberg
Copy link

I was expecting this behavior as well. godep get simply puts the packages into the $GOPATH/src directory.

The only way to put them in vendor instead is to use godep save, but what if I don't want to update them to the latest version?

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