Make setup and predictable builds easier for contributors by locking to
a set of dependencies. Some of the dependencies have been locked to
specific commits on master in order to accomodate projects that do not
ship releases often such as cobra and gomock (see
https://github.com/spf13/cobra/issues/259 for details).
Change mockgen commands to use a -source flag to explicitly point to
the files in vendor for generating mocks. This, for some reason, fixes
a bug in gomock whereby it uses the vendor path as the import path
which breaks some dependencies.
Make setup and predictable builds easier for contributors by locking to a set of dependencies. Some of the dependencies have been locked to specific commits on master in order to accomodate projects that do not ship releases often such as cobra and gomock (see https://github.com/spf13/cobra/issues/259 for details).
Change mockgen commands to use a -source flag to explicitly point to the files in vendor for generating mocks. This, for some reason, fixes a bug in gomock whereby it uses the vendor path as the import path which breaks some dependencies.
See https://github.com/golang/mock/pull/28 for more details.