-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reintroduce vendoring #384
Comments
Are you proposing this just for Katib or more generally? |
Yeah. we haven't followed consistent style across packages. eg: TF/Pytorch operators are vendored. But, MPI-operator, Katib are not vendored currently. |
I agree, we should follow a consistent standard across our operators and introduce proper vendoring. |
I think we had a discussion #151 We keep the gopkg.lock in the version control system now. Users can restore the vendor using AFAIK, CNCF project https://github.com/vitessio/vitess does not maintain vendor in its vendor dir: https://github.com/vitessio/vitess/tree/master/vendor But, I also think we should follow a consistent standard across all projects. |
What do you think about using |
We are using go module in the common repo: https://github.com/kubeflow/common The only requirement is moving to Golang 1.11 or above. I find it easier than vendoring. |
I think, we can switch to go module when v1alpha2 components will be merge. |
SGTM, but I think we should come to an agreement at the community level. |
we can do it at a later point when all components are merged and before the current release in July. |
/close We have vendor now. |
@gaocegege: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Why vendoring is critical
Especially in the case of many AI companies ~ its pretty critical to be able to build a project without any external dependencies, and makes CI easier.
cc @pdmack @jlewi
Can we do it while still making PRs easy to review ?
Yes:
The text was updated successfully, but these errors were encountered: