-
Notifications
You must be signed in to change notification settings - Fork 1k
dep double clones goconvey #843
Comments
hi @skisulli - thanks for the issue! Looks like we do have a bug here, but it's in the glide importer. Sorta, at least. Constraints must be declared on a project root, and What really sucks is that I apparently forgot about getting the validation in to make sure that we only allow project roots in |
@sdboyer thanks for the update. I was able to get it working by switching the constraint in the |
We ran into the same problem with the glide importer at gophercon. I have a fix locally that I just need to add tests for and then submit the PR. |
Hey @carolynvs! Could you share the fix? Maybe someone would write the tests for you. |
Oops, this was fixed in #898 and I forgot to close this issue. Are you still running into this problem on the latest build of dep? |
No, I didn't test! It works fine now. Thanks! |
When converting to using glide to dep with a repo that uses goconvey for testing, dep appears to be cloning goconvey incorrectly. I created an example repo here: https://github.com/skisulli/dep-issue.
What version of Go (
go version
) anddep
(git describe --tags
) are you using?What
dep
command did you run?I replaced the real absolute paths with
$GOPATH
in the output.What did you expect to see?
I expected my tests to pass as they did when ran with a vendor directory built with glide.
What did you see instead?
My tests failed. When looking into the error, the issue seems to stem from dep cloning
github.com/smartystreets/goconvey
into two places, /vendor/github.com/smartystreets/goconvey and /vendor/github.com/smartystreets/goconvey/convey.The text was updated successfully, but these errors were encountered: