-
Notifications
You must be signed in to change notification settings - Fork 454
godep save
results in incomplete dependency list
#27
Conversation
github.com/crowdmob/goamz/sqs Resulted in the `godep save` dependency: github.com/crowdmob/goamz/aws ... which is incorrect.
Where did you run the |
It's for a private repo, but I ran it in the root of my git repo -- effectively If this is too vague I can give more specific repro steps using your Heroku godeps example. |
Also, thanks for making Godeps and the buildpack! |
Bear in mind that Godeps.json doesn't just list the direct dependencies Would you feel more comfortable with |
And, you're welcome! :) |
I'd be comfortable with using the RepoRoot. It doesn't guarantee a 1:1 mapping with what is brought in via After looking at #29, I just wanted to clarify that what is being saved to Godeps.json is in fact wrong and causes |
My apologies, I misunderstood the problem here. The save command needs to copy both packages aws |
If you'd like to update this pull request to use the repo root |
Cc @goinggo you were interested in this issue as well. |
Now the entire projects are being brought into the Godeps folder. I didn't realize till just now you were only bring in the source code being used.
|
Steps to reproduce:
This results in the following dependency:
... which is incorrect. The
sqs
directory depends on theaws
directory, but because theaws
is first alphabetically and in the same git repo, thesqs
directory is ignored. This change is probably overkill, since it adds multiple dependencies per git repo, but it at least makesgodep save
work. I'm happy to hear feedback on this PR!