-
Notifications
You must be signed in to change notification settings - Fork 256
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
🌱 Remove hack/tools go module #1753
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0ca7dee
to
b0d840e
Compare
7b1287a
to
98fbb06
Compare
98fbb06
to
c65b0d1
Compare
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.
/lgtm
/override metal3-bmo-e2e-test-pull |
@mquhuy: mquhuy unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file. 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. |
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.
LGTM
The advantage of our current approach is that the tooling is bundled together with the software and this is especially helpful in scenarios where vendoring is required. Everything can be built with what's already available in the repo and without downloading further packages and installing more tools. |
@honza do I understand correctly that you have use cases for this for vendoring downstream ? |
c65b0d1
to
fd270a8
Compare
New changes are detected. LGTM label has been removed. |
fd270a8
to
8f50d28
Compare
The hack/tools go module seems to exist just so we could install kustomize and controller-gen. These can be installed now with `go install`, and we have already installed `golangci_lint` that way. Signed-off-by: Huy Mai <[email protected]>
8f50d28
to
0963b73
Compare
/hold Let's finish discussion on vendoring. |
@honza I understand the vendoring use-case, but I wonder if you actually need to vendor hack/tools? It seems to me that golangci-lint already breaks this anyway. |
We build our images in CI without internet access so this would break us. I'm happy to work around this but I just wanted to point out the implications in case others had similar requirements. |
PR needs rebase. 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. |
Hi @honza, we have discussed a bit and decided that we will not merge this PR for the time being. Could you please let us know if/when you no longer need this module? :) |
Sure thing, thanks! |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
@Rozzii: The 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-sigs/prow repository. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
The hack/tools go module seems to exist just so we could install
kustomize
andcontroller-gen
. These can be installed now withgo install
, and we have already installedgolangci_lint
that way.