-
Notifications
You must be signed in to change notification settings - Fork 61
Conversation
Might relate to golang/go#27455 and golang/go#30185 |
I think merge flyteorg/flytestdlib#50 and release a new |
@@EngHabu Could you please take a look at this as well? Thanks. |
I compiled |
Don't understand why it adds all those |
generate_mocks.sh
Outdated
|
||
# install outside of current module, workaround https://github.com/golang/go/issues/30515 | ||
# we need to copy go.mod and go.sum because we have a mockery fork | ||
go_get_mockery () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason we cannot turn off module and install is that we need the replace statement in go.mod because we are installing a mockery fork. Turning it off would result installing the original not the fork.
This reverts commit 106ee8e.
d001c8c
to
57503a9
Compare
883490b
to
1ac0800
Compare
This updates the boilerplate to use go modules instead of dep and follows the changes that have already been made: * flyteorg/datacatalog#21 * flyteorg/flytepropeller#38 * flyteorg/flyteadmin#35 * flyteorg/flyteplugins#36 * flyteorg/flytestdlib#50 * flyteorg/flyteidl#27 (depends on flyteorg/flytestdlib#50 to be merged and released)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm approving, but could you take one more look at the commits I pushed please?
LGTM now but I cannot approve myself. :) |
This updates the boilerplate to use go modules instead of dep and follows the changes that have already been made: * flyteorg/datacatalog#21 * flyteorg/flytepropeller#38 * flyteorg/flyteadmin#35 * flyteorg/flyteplugins#36 * flyteorg/flytestdlib#50 * flyteorg/flyteidl#27 (depends on flyteorg/flytestdlib#50 to be merged and released)
* migrate to go module * install mockery * do not always download pflags * latest version of flytestdlib * refomat * Revert "refomat" This reverts commit b30109297ce71b8f40e9cfab60b2db9d1dd8ad06. * mockery * mockery * sum * test * test * test * test * test * Update .travis.yml * Update Makefile * Update Makefile * move it to the right place * install mockery in a temp folder * add comments * upgrade flytestdlib * go mod tidy * add h1 sum * test * rebase from master * latest flytestdlib * install pflags in tmp folder * change go version back * add comment * incorporate latest boilerplate changes * rely on Makefile to install mockery * updated boilerplate * use install instead * actually adding the new boilerplate entry and updating again * removing unnecessary files * no need for replacement in root go.mod Co-authored-by: Yee Hing Tong <[email protected]>
No description provided.