What is "vendoring" exactly? How would you define this term?
Does it mean the same thing in different programming languages? Conceptually speaking, not looking at the exact implementation.
Vendoring is hard-coding the often forked version of a dependency. This typically involves static linking or some other copy but it doesn't have to. Right or wrong, the term "hard-coding" has an old and bad reputation.
Vendoring is a method of ensuring that all of your 3rd party packages that you use in your Go project are consistent for everyone who develops for your application. When your Go package imports another package, the compiler normally checks $GOPATH/src/ for the path of the imported project.
Based on this answer
Defined here for Go as:
Vendoring is the act of making your own copy of the 3rd party packages your project is using. Those copies are traditionally placed inside each project and then saved in the project repository.
The context of this answer is in the Go language, but the concept still applies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With