-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
update release-1.23 to go1.19 #113983
update release-1.23 to go1.19 #113983
Commits on Dec 20, 2022
-
Update to golang.org/x/... matching release-1.24
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 golang.org/x/net v0.3.1-0.20221206200815-1e63c2f08a10 golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 golang.org/x/sys v0.3.0 golang.org/x/term v0.3.0 golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 golang.org/x/tools v0.1.12 Mimic commit e6e7a42 with current release-1.24 versions
Configuration menu - View commit details
-
Copy full SHA for 1eeda2b - Browse repository at this point
Copy the full SHA 1eeda2bView commit details -
update golangci-lint to 1.45.0
This should fix Go 1.18 compatibility woes. Cherry-pick of e3ed3ba with conflict resolved Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0a782b4 - Browse repository at this point
Copy the full SHA 0a782b4View commit details -
TestWatchRestartsIfTimeoutNotReached: fix
This fixes the following error: > test/integration/apimachinery/watch_restart_test.go:232:5: call to (*T).Fatalf from a non-test goroutine Update: the previous fix (commit 1ce55e3 that uses panic) looks way too severe; it seems it is enough to call t.Errorf and return from goroutine. The test will time out and fail anyway. Combination of 1ce55e3 and 8820f4d Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com> Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 42931a0 - Browse repository at this point
Copy the full SHA 42931a0View commit details -
Generated by ./hack/update-mocks.sh using go 1.18 Mimic of commit 4513de0
Configuration menu - View commit details
-
Copy full SHA for 3aaa70a - Browse repository at this point
Copy the full SHA 3aaa70aView commit details -
Fix verify: generated-stable-metrics wrt go 1.18
This should fix the following error when running ./hack/update-generated-stable-metrics.sh: 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'. Using `go get` to download gopkg.in/yaml.v2 package into KUBE_EXTRA_GOPATH directory no longer works. Interestingly, main repo already has gopkg.in/yaml.v2@v2.4.0, same version that was installed by that go get. I guess that GOPATH with multiple elements no longer works either, and since this code was the only user of KUBE_EXTRA_GOPATH, let's remove it as well. Combination of 3470453 and d8fdb00 Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com> Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9441767 - Browse repository at this point
Copy the full SHA 9441767View commit details -
hack: integrate logcheck into golangci-lint
Running logcheck as part of golangci-lint has several advantages: - faster checking because finding files and parsing is shared with other linters - gets rid of the complex and buggy hack/verify-structured-logging.sh (kubernetes#106746) - support for // nolint:logcheck - works with Go 1.18 Replay of 17e3c55
Configuration menu - View commit details
-
Copy full SHA for c95a8a1 - Browse repository at this point
Copy the full SHA c95a8a1View commit details -
Some of these changes are cosmetic (repeatedly calling klog.V instead of reusing the result), others address real issues: - Logging a message only above a certain verbosity threshold without recording that verbosity level (if klog.V().Enabled() { klog.Info... }): this matters when using a logging backend which records the verbosity level. - Passing a format string with parameters to a logging function that doesn't do string formatting. All of these locations where found by the enhanced logcheck tool from kubernetes/klog#297. In some cases it reports false positives, but those can be suppressed with source code comments. Partial cherry-pick of edffc70
Configuration menu - View commit details
-
Copy full SHA for 4da1f79 - Browse repository at this point
Copy the full SHA 4da1f79View commit details -
Ignore unstructured log warnings
The fixes to this file included in 1.24 in 0f4d066 rely on multi-line support in klog not present in the version used in 1.23
Configuration menu - View commit details
-
Copy full SHA for 84fde39 - Browse repository at this point
Copy the full SHA 84fde39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6027a - Browse repository at this point
Copy the full SHA 7c6027aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6179de8 - Browse repository at this point
Copy the full SHA 6179de8View commit details -
fix e2e coverage package for go 1.18
Cherry-pick of 5d8f6f1
Configuration menu - View commit details
-
Copy full SHA for 0e2e6b9 - Browse repository at this point
Copy the full SHA 0e2e6b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e2e482 - Browse repository at this point
Copy the full SHA 7e2e482View commit details -
Update golangci-lint to 1.46.2 and fix errors
Cherry-pick of 2bca77a Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ab0f90f - Browse repository at this point
Copy the full SHA ab0f90fView commit details -
Cherry-pick of 27dc8a9 Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 249e05a - Browse repository at this point
Copy the full SHA 249e05aView commit details -
fix patch_test for gofmt issue
Cherry-pick of ea7dff5 Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3cab72a - Browse repository at this point
Copy the full SHA 3cab72aView commit details -
Adjust for os/exec changes in 1.19
https://tip.golang.org/doc/go1.19#os-exec-path Cherry-pick of 1f55703 Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3be2936 - Browse repository at this point
Copy the full SHA 3be2936View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd427d8 - Browse repository at this point
Copy the full SHA fd427d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c54219f - Browse repository at this point
Copy the full SHA c54219fView commit details -
update golangci-lint for go 1.19
Cherry-pick of c8c5539 Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ca22f11 - Browse repository at this point
Copy the full SHA ca22f11View commit details -
delete hardcode go version in golangci-lint config
Cherry-pick of b7bcbf3 Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e55e20e - Browse repository at this point
Copy the full SHA e55e20eView commit details -
- Run hack/update-codegen.sh - Run hack/update-generated-device-plugin.sh - Run hack/update-generated-protobuf.sh - Run hack/update-generated-runtime.sh - Run hack/update-generated-swagger-docs.sh - Run hack/update-openapi-spec.sh - Run hack/update-gofmt.sh Replay of a9593d6
Configuration menu - View commit details
-
Copy full SHA for 203d8ac - Browse repository at this point
Copy the full SHA 203d8acView commit details