-
Notifications
You must be signed in to change notification settings - Fork 1k
About dependencies' vendor folder #1075
Comments
That is the expected behavior. Also |
Thanks for answer @carolynvs , I can imagine the reasons behind it but that's not cool, the outcome result of Imagine that you're new gopher and |
hi @kataras - it seems like you have some misconceptions about how nothing about
( of course it is - these are not supposed to be comparable. most importantly, even then,
flattening all dependencies into the top-level vendor directory is the only really safe way of operating - it precludes the possibility of irreconcilable type errors, as well as the risks that come from duplicated state and logic from package-level vars and
this is a foundational design decision for dep, stretching back well over a year. we've considered the options here extensively. i think you'll find, once you better understand the model, that the harms are not what you're currently imagining. |
I know how go dep works... Really appreciated @sdboyer for giving a complete answer to that, new gophers know where to come now to learn about dependencies' dependencies. |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?Go: 1.9
dep: just installed from master
What
dep
command did you run?dep init
Hello, could some one tell me if that is a bug or that's the expected behavior of
dep init
doesn't respects the vendor folder of the packages that is trying to install as dependencies? And if it's the expected behavior, are we sure that this is the best choice?External, relative issues: https://github.com/kataras/iris/issues/731, flosch/pongo2#175
Thank you!
The text was updated successfully, but these errors were encountered: