From 8c139119285a6e7ab07fdbbb7c66da107cbd3d35 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Wed, 27 Mar 2024 13:14:21 -0400 Subject: [PATCH] upgrade to latest dependencies (#953) bumping knative.dev/hack 7e71024...47368d6: > 47368d6 Check licenses only, but not bundle them (# 376) > b985a5b Update community files (# 377) bumping knative.dev/pkg fd7cc21...1ca1f09: > 1ca1f09 upgrade to latest dependencies (# 2999) > 2d1662a Update community files (# 2998) Signed-off-by: Knative Automation --- go.mod | 4 ++-- go.sum | 8 ++++---- vendor/knative.dev/hack/library.sh | 16 ++-------------- vendor/modules.txt | 4 ++-- 4 files changed, 10 insertions(+), 22 deletions(-) diff --git a/go.mod b/go.mod index 3a6178764..dbb8c9f8e 100644 --- a/go.mod +++ b/go.mod @@ -18,8 +18,8 @@ require ( k8s.io/client-go v0.29.2 k8s.io/code-generator v0.29.2 k8s.io/utils v0.0.0-20240102154912-e7106e64919e - knative.dev/hack v0.0.0-20240327124551-7e71024d29bd - knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a + knative.dev/hack v0.0.0-20240327150553-47368d631660 + knative.dev/pkg v0.0.0-20240327140624-1ca1f09c329e sigs.k8s.io/yaml v1.4.0 ) diff --git a/go.sum b/go.sum index 8c1df412f..2da177a9a 100644 --- a/go.sum +++ b/go.sum @@ -680,10 +680,10 @@ k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/A k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA= k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCfRziVtos3ofG/sQ= k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/hack v0.0.0-20240327124551-7e71024d29bd h1:tSFFAPYhN5d39ze+orScRvg43V85GaaSkUiDdLqZZ3I= -knative.dev/hack v0.0.0-20240327124551-7e71024d29bd/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a h1:17E1oL6VhFTZBmgF4D3DlHt+GH8y9MQNlGCM60Db7fY= -knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a/go.mod h1:Meb7JQFjMOloRJRA2GG2RcRT/JnscMOI8/6KmBaC2/k= +knative.dev/hack v0.0.0-20240327150553-47368d631660 h1:tW6NgyjMnSXBS75+k+Xh5uNiLhJ9TFswS9hrkC3OQOc= +knative.dev/hack v0.0.0-20240327150553-47368d631660/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= +knative.dev/pkg v0.0.0-20240327140624-1ca1f09c329e h1:Cg28hbL35g5Qd3tC0PKSX2FMMD8IZnTYxRr4VLIUgd8= +knative.dev/pkg v0.0.0-20240327140624-1ca1f09c329e/go.mod h1:uYSh5G3A/pFmzgowpvKeyphLbXVkY4x7zEhReKwsVeU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/knative.dev/hack/library.sh b/vendor/knative.dev/hack/library.sh index 6f6a24c8e..e5d21b70e 100644 --- a/vendor/knative.dev/hack/library.sh +++ b/vendor/knative.dev/hack/library.sh @@ -772,8 +772,8 @@ function __go_update_deps_for_module() { remove_broken_symlinks ./vendor fi - group "Updating licenses" - update_licenses third_party/VENDOR-LICENSE "./..." + group "Checking licenses" + check_licenses ) } @@ -809,18 +809,6 @@ function run_kntest() { go_run knative.dev/test-infra/tools/kntest/cmd/kntest@latest "$@" } -# Run go-licenses to update licenses. -# Parameters: $1 - output file, relative to repo root dir. -# $2 - directory to inspect. -function update_licenses() { - local dst=$1 - local dir=$2 - shift - go_run github.com/google/go-licenses@v1.6.0 \ - save "${dir}" --save_path="${dst}" --force || \ - { echo "--- FAIL: go-licenses failed to update licenses"; return 1; } -} - # Run go-licenses to check for forbidden licenses. function check_licenses() { # Check that we don't have any forbidden licenses. diff --git a/vendor/modules.txt b/vendor/modules.txt index 0e5748f6c..38f8cc85a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -716,10 +716,10 @@ k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/hack v0.0.0-20240327124551-7e71024d29bd +# knative.dev/hack v0.0.0-20240327150553-47368d631660 ## explicit; go 1.18 knative.dev/hack -# knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a +# knative.dev/pkg v0.0.0-20240327140624-1ca1f09c329e ## explicit; go 1.21 knative.dev/pkg/apis knative.dev/pkg/apis/duck