-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix hack/update-toc.sh #1175
Fix hack/update-toc.sh #1175
Conversation
We mostly switched to go.mod, but hack/update-toc.sh was not updated. We now don't really need to install the binary, we can simply `go run` it (it can be slower, but for the one-off use case it shouldn't much matter). Rather than having each script `go get` at a particular SHA, it seems easier just to use go.mod / go.sum.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: justinsb 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 |
This made me think of this: kubernetes/test-infra#13645 |
fixed in #1181 |
(granted the fix in #1181 does not involve adding a go.mod / go.sum but those also would have been clobbered by editors without a tools.go etc...) |
@justinsb: 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. |
/priority important-soon |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. 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. |
@justinsb: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
@justinsb -- Could you rebase this? |
@justinsb -- Closing this to tidy up. If you want to come back to it, please reopen. |
@justaugustus: Closed this PR. 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. |
We mostly switched to go.mod, but hack/update-toc.sh was not updated.
We now don't really need to install the binary, we can simply
go run
it (it can be slower, but for the one-off use case it shouldn't much
matter).
Rather than having each script
go get
at a particular SHA, it seemseasier just to use go.mod / go.sum.