-
Notifications
You must be signed in to change notification settings - Fork 5k
spelling: Fix spelling errors with codespell #21273
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
Conversation
/kind improvement |
/ok-to-test |
@@ -75,7 +75,7 @@ func TestGuestEnvironment(t *testing.T) { | |||
mount := mount | |||
t.Run(mount, func(t *testing.T) { | |||
t.Parallel() | |||
rr, err := Run(t, exec.CommandContext(ctx, Targt(), "-p", profile, "ssh", fmt.Sprintf("df -t ext4 %s | grep %s", mount, mount))) |
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.
Not sure how this code compiled before - this is a typo in function name. This file has "iso" build tag:
//go:build iso
Naybe we never build and run this code?
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.
interesting yeah I dont see this getting run or even Skipped in our list of tests in a gopogh report
https://storage.googleapis.com/minikube-builds/logs/21174/40884/KVM_Linux.html
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.
thank you very much I feel like I am personally responsible for 78% of these spelling errors (admit-abliy)
I could see my tendency of using "-" in words like re-use. !!! thats so me
the Prow Build we need to update the Image to an image not hosted in google to fix it |
I also contributed some of the typos :-) |
Fix trivial spelling errors using codespell[1]: codespell --skip '*.yaml,*.tmpl,*.json,*.html,*.patch,go.sum' -w And rejecting some false positives fixes: ./CHANGELOG.md:907: fliter ==> filter ./third_party/go9p/clnt_write.go:48: Writen ==> Written ./third_party/kubeadm/app/features/features.go:69: AtLeast ==> at least ./site/content/en/docs/contrib/translations.md:106: certificats ==> certificates ./site/content/en/docs/contrib/translations.md:113: espace ==> escape ./site/content/en/docs/tutorials/amd.md:75: HSA ==> HAS ./site/content/en/docs/tutorials/amd.md:87: HSA ==> HAS ./pkg/minikube/config/extra_options_test.go:143: expRes ==> express ./pkg/minikube/config/extra_options_test.go:151: expRes ==> express ./pkg/minikube/config/extra_options_test.go:152: expRes ==> express ./pkg/minikube/config/extra_options_test.go:168: expRes ==> express ./pkg/minikube/config/extra_options_test.go:177: expRes ==> express ./pkg/minikube/config/extra_options_test.go:178: expRes ==> express There are more spelling errors that need manual selection: ./CHANGELOG.md:234: issuse ==> issue, issues ./CHANGELOG.md:543: Pris ==> Prise, Prism ./hack/benchmark/time-to-k8s/page.go:73: readin ==> reading, read in ./hack/benchmark/image-build/generate-chart.go:82: INTERATIVE ==> INTERACTIVE, ITERATIVE ./hack/benchmark/image-build/generate-chart.go:87: INTERATIVE ==> INTERACTIVE, ITERATIVE ./hack/benchmark/image-build/generate-chart.go:137: INTERATIVE ==> INTERACTIVE, ITERATIVE ./hack/benchmark/image-build/generate-chart.go:162: interative ==> interactive, iterative ./hack/benchmark/image-build/generate-chart.go:195: INTERATIVE ==> INTERACTIVE, ITERATIVE ./third_party/go9p/fmt.go:132: Tread ==> Thread, Treat ./third_party/go9p/fmt.go:133: Tread ==> Thread, Treat ./third_party/go9p/p9.go:33: Tread ==> Thread, Treat ./third_party/go9p/p9.go:170: Tread ==> Thread, Treat ./third_party/go9p/p9.go:171: Tread ==> Thread, Treat ./third_party/go9p/p9.go:225: Tread ==> Thread, Treat ./third_party/go9p/p9.go:263: Tread ==> Thread, Treat ./third_party/go9p/packt.go:165: Tread ==> Thread, Treat ./third_party/go9p/packt.go:168: Tread ==> Thread, Treat ./third_party/go9p/srv_srv.go:305: Tread ==> Thread, Treat ./third_party/go9p/srv_srv.go:349: Tread ==> Thread, Treat ./third_party/go9p/unpack.go:170: Tread ==> Thread, Treat ./site/content/en/docs/tutorials/multi_control_plane_ha_clusters.md:145: Virual ==> Virtual, Visual, Viral ./pkg/drivers/krunkit/krunkit.go:392: Terminte ==> Terminate, Termite ./pkg/drivers/common/common.go:283: drawin ==> drawing, draw in, drawn ./pkg/drivers/kic/oci/oci.go:175: stroed ==> stored, stroked, strode ./pkg/minikube/out/out.go:412: isT ==> is, it, its, it's, sit, list ./pkg/minikube/out/out.go:413: isT ==> is, it, its, it's, sit, list ./pkg/minikube/out/out.go:414: isT ==> is, it, its, it's, sit, list ./pkg/minikube/shell/shell_test.go:152: writed ==> wrote, written, write, writer ./pkg/minikube/bootstrapper/kubeadm/kubeadm.go:710: wil ==> will, well If we find a way to prevent the false positives we can use this command for spell checking in the CI. [1] https://github.com/codespell-project/codespell
Rebased to consume the docker service fix |
kvm2 driver with docker runtime
Times for minikube start: 47.7s 48.6s 52.2s 53.5s 51.9s Times for minikube (PR 21273) ingress: 16.0s 16.0s 15.6s 15.6s 16.0s docker driver with docker runtime
Times for minikube start: 23.3s 25.6s 25.1s 22.9s 24.0s Times for minikube ingress: 13.3s 13.3s 12.8s 13.8s 13.3s docker driver with containerd runtime
Times for minikube ingress: 23.8s 22.8s 22.8s 23.8s 22.8s Times for minikube start: 21.5s 23.7s 23.0s 20.9s 22.5s |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, nirs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fix trivial spelling errors using codespell[1]: codespell --skip '*.yaml,*.tmpl,*.json,*.html,*.patch,go.sum' -w And rejecting some false positives fixes: ./CHANGELOG.md:907: fliter ==> filter ./third_party/go9p/clnt_write.go:48: Writen ==> Written ./third_party/kubeadm/app/features/features.go:69: AtLeast ==> at least ./site/content/en/docs/contrib/translations.md:106: certificats ==> certificates ./site/content/en/docs/contrib/translations.md:113: espace ==> escape ./site/content/en/docs/tutorials/amd.md:75: HSA ==> HAS ./site/content/en/docs/tutorials/amd.md:87: HSA ==> HAS ./pkg/minikube/config/extra_options_test.go:143: expRes ==> express ./pkg/minikube/config/extra_options_test.go:151: expRes ==> express ./pkg/minikube/config/extra_options_test.go:152: expRes ==> express ./pkg/minikube/config/extra_options_test.go:168: expRes ==> express ./pkg/minikube/config/extra_options_test.go:177: expRes ==> express ./pkg/minikube/config/extra_options_test.go:178: expRes ==> express There are more spelling errors that need manual selection: ./CHANGELOG.md:234: issuse ==> issue, issues ./CHANGELOG.md:543: Pris ==> Prise, Prism ./hack/benchmark/time-to-k8s/page.go:73: readin ==> reading, read in ./hack/benchmark/image-build/generate-chart.go:82: INTERATIVE ==> INTERACTIVE, ITERATIVE ./hack/benchmark/image-build/generate-chart.go:87: INTERATIVE ==> INTERACTIVE, ITERATIVE ./hack/benchmark/image-build/generate-chart.go:137: INTERATIVE ==> INTERACTIVE, ITERATIVE ./hack/benchmark/image-build/generate-chart.go:162: interative ==> interactive, iterative ./hack/benchmark/image-build/generate-chart.go:195: INTERATIVE ==> INTERACTIVE, ITERATIVE ./third_party/go9p/fmt.go:132: Tread ==> Thread, Treat ./third_party/go9p/fmt.go:133: Tread ==> Thread, Treat ./third_party/go9p/p9.go:33: Tread ==> Thread, Treat ./third_party/go9p/p9.go:170: Tread ==> Thread, Treat ./third_party/go9p/p9.go:171: Tread ==> Thread, Treat ./third_party/go9p/p9.go:225: Tread ==> Thread, Treat ./third_party/go9p/p9.go:263: Tread ==> Thread, Treat ./third_party/go9p/packt.go:165: Tread ==> Thread, Treat ./third_party/go9p/packt.go:168: Tread ==> Thread, Treat ./third_party/go9p/srv_srv.go:305: Tread ==> Thread, Treat ./third_party/go9p/srv_srv.go:349: Tread ==> Thread, Treat ./third_party/go9p/unpack.go:170: Tread ==> Thread, Treat ./site/content/en/docs/tutorials/multi_control_plane_ha_clusters.md:145: Virual ==> Virtual, Visual, Viral ./pkg/drivers/krunkit/krunkit.go:392: Terminte ==> Terminate, Termite ./pkg/drivers/common/common.go:283: drawin ==> drawing, draw in, drawn ./pkg/drivers/kic/oci/oci.go:175: stroed ==> stored, stroked, strode ./pkg/minikube/out/out.go:412: isT ==> is, it, its, it's, sit, list ./pkg/minikube/out/out.go:413: isT ==> is, it, its, it's, sit, list ./pkg/minikube/out/out.go:414: isT ==> is, it, its, it's, sit, list ./pkg/minikube/shell/shell_test.go:152: writed ==> wrote, written, write, writer ./pkg/minikube/bootstrapper/kubeadm/kubeadm.go:710: wil ==> will, well If we find a way to prevent the false positives we can use this command for spell checking in the CI. [1] https://github.com/codespell-project/codespell
Fix trivial spelling errors using codespell[1]:
And rejecting some false positives fixes:
There are more spelling errors that need manual selection:
If we find a way to prevent the false positives we can use this command for spell checking in the CI.
[1] https://github.com/codespell-project/codespell