Commit Graph

36 Commits (dependabot/go_modules/github.com/spf13/pflag-1.0.7)

Author SHA1 Message Date
Nir Soffer 62529ec03e
spelling: Fix spelling errors with codespell (#21273)
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
2025-08-11 11:27:20 -07:00
Steven Powell 040229b316 Fix go vet issues 2024-02-20 13:42:45 -08:00
Medya Ghazizadeh ad4acb0186
Merge pull request #16611 from testwill/fmt
chore: use log.Printf
2023-06-16 13:57:38 -07:00
guoguangwu 629f6134a9 fix: compile error and add '\n' 2023-06-07 16:46:16 +08:00
guoguangwu 7ac039fac6 chore: use log.Printf 2023-06-01 10:29:19 +08:00
guoguangwu 4d5265bba9 fix: io/ioutil deprecated 2023-05-31 16:38:55 +08:00
Steven Powell a81b0d11c1 Bump github.com/docker/docker from 23.0.6+incompatible to 24.0.0+incompatible 2023-05-18 14:03:30 -07:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
Steven Powell 8d7a636bfe don't output Docker performance issues when user wants JSON 2021-12-09 14:38:18 -08:00
Medya Gh 0d4b61ea24 remove test files 2021-12-07 14:20:07 -08:00
Medya Gh 0a27ee5d73 add more clear documentation 2021-12-07 14:20:07 -08:00
Medya Gh 44dfdfccb9 fork relevent files from kubeadm 2021-12-07 14:20:07 -08:00
Medya Gh 89a5010f7d add readme how to update this 2021-12-07 14:20:07 -08:00
Steven Powell 8c4f907b7b try fixing bad mount error 2021-11-22 17:13:37 -08:00
Steven Powell 1ee39d2f41 add new build tags to go9p 2021-11-09 11:14:32 -05:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Medya Ghazizadeh 41bbb4f6c5
Merge pull request #11164 from afbjorklund/build-rebase
Add re-implementation of the build command
2021-04-24 21:03:30 -07:00
Anders F Björklund 9ef5d255d2 Add support for build directory and Dockerfile
Will create a temporary tarball, if given a dir

Some code from github.com/fsouza/go-dockerclient
(but not exported as a library, for some reason)

Upgrade docker client and cherry-pick windows

From v18.09.0 to v19.03.15, plus c3a0a37446
Update go-dockerclient and remove internal deps
2021-04-21 20:26:06 +02:00
Anders F Björklund 24aee007db Check for uint32 overflow in go9p third party 2021-04-20 08:07:37 +02:00
dddddai 196789f965 Use RWMutex instead of Mutex 2020-07-21 10:39:45 +08:00
Thomas Stromberg e3472b6da0 Add files missing for FreeBSD compilation 2020-03-26 16:23:53 -07:00
Anders F Björklund 65278fcb4d Address some go9p issues adressed by SonarCloud 2019-10-06 20:07:20 +02:00
yuxiaobo 7f1cb86734 Correct grammar and words 2019-09-24 17:49:02 +08:00
Kyle Bai c5f695e8a0 Better comment syntax 2019-07-05 11:17:10 +08:00
Anders F Björklund 6d96a67456 Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
Nicholas Goozeff e5da4db3a6 go fmt 2018-10-31 11:18:03 +01:00
Nicholas Goozeff 3ea3bb1c92 Issue #3044 - set timestamps of mounted files with windows host. 2018-10-31 05:44:19 +01:00
Nicholas Goozeff 14244b3645 Test cases for issue #3044 - timestamps of mounted files incorrect with windows host. 2018-10-31 05:42:27 +01:00
Nate Bessette d203cf4101 Replace 9p mount calls to syscall.Rename with os.Rename, which is capable of renaming on top of existing files. 2018-08-06 09:31:24 -07:00
AdamDang d67ba6e991
Typo fix: occured->occurred
occured->occurred
2018-05-01 13:16:12 +08:00
AdamDang 31aa6e49a6
Update srv_srv.go 2018-04-23 20:12:39 +08:00
AdamDang 6bf2661ca2 Typo fix "file sever"->"file server"
line 87: "file sever" should be replaced with "file server"
2018-03-13 09:12:12 -07:00
Aaron Prindle e23250dcc8 Fixed mtime issue for OSX 2017-06-15 11:44:47 -07:00
Matt Rickard 8f3e87efa1 Update gendocs, disable ufs flag
Removing a debugging flag from the 9p library, since it registers
itself globally in minikube.  Also running `make gendocs` to catch some
older changes.
2017-04-06 15:15:03 -07:00
Aaron Prindle 8e801e3975 Update mount implementation, add mount integration tests, and check that path exists. 2017-04-06 13:39:25 -07:00
Aaron Prindle 60a5910f88 Added 9p server as well as minikube mount command 2017-02-25 10:08:45 -08:00