Skip to content

Commit 6f99732

Browse files
upgrade to latest dependencies
bumping knative.dev/eventing 902f9d3...07d3790: > 07d3790 SinkBinding wrongly enqueues namespaces (# 8184) bumping knative.dev/hack 06f7aff...9724320: > 9724320 Fix premature codegen cleanup exit on 1 (# 397) bumping knative.dev/serving 5f5f6d8...f07e3d6: > f07e3d6 Fix deepcopy gen (# 15492) > 372f5d1 Migrate to kube codegen (# 15491) Signed-off-by: Knative Automation <automation@knative.team>
1 parent 34aef7a commit 6f99732

File tree

5 files changed

+25
-23
lines changed

5 files changed

+25
-23
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ require (
1313
k8s.io/api v0.30.3
1414
k8s.io/apimachinery v0.30.3
1515
k8s.io/client-go v0.30.3
16-
knative.dev/eventing v0.42.1-0.20240830061019-902f9d3c9de1
17-
knative.dev/hack v0.0.0-20240814130635-06f7aff93954
16+
knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8
17+
knative.dev/hack v0.0.0-20240904112633-9724320e463f
1818
knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c
19-
knative.dev/serving v0.42.1-0.20240820122005-5f5f6d820b03
19+
knative.dev/serving v0.42.1-0.20240903112117-f07e3d6f307e
2020
)
2121

2222
require (

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -794,16 +794,16 @@ k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8 h1:1Wof1cGQgA5pqgo8MxKPtf
794794
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8/go.mod h1:Os6V6dZwLNii3vxFpxcNaTmH8LJJBkOTg1N0tOA0fvA=
795795
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A=
796796
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
797-
knative.dev/eventing v0.42.1-0.20240830061019-902f9d3c9de1 h1:ELU/dU3i1jEOUE3svBPzA4KEmgbWT25sCOxf+4ymphk=
798-
knative.dev/eventing v0.42.1-0.20240830061019-902f9d3c9de1/go.mod h1:Clx8z37Nwg321H9+vGNxp5C6bVdo4l4XM5g6T5CgZVI=
799-
knative.dev/hack v0.0.0-20240814130635-06f7aff93954 h1:dGMK5VoL75szvrYQTL9NqhPYHu1f5dGaXx1hJI8fAFM=
800-
knative.dev/hack v0.0.0-20240814130635-06f7aff93954/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
797+
knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8 h1:doFWIRq/Gsoha36qpKBDv6gHqV4/wzlcvtvy2M/MJ74=
798+
knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8/go.mod h1:Clx8z37Nwg321H9+vGNxp5C6bVdo4l4XM5g6T5CgZVI=
799+
knative.dev/hack v0.0.0-20240904112633-9724320e463f h1:UQcD5RVBSEitzbNRQOfoJHJ1Rs29hiii7bzhUvU8s8A=
800+
knative.dev/hack v0.0.0-20240904112633-9724320e463f/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
801801
knative.dev/networking v0.0.0-20240808015019-d4c57cd4a1b3 h1:KfIea0RVx0QfHK0gHruJfacT2kBVb4hZE8Sgzs32KKo=
802802
knative.dev/networking v0.0.0-20240808015019-d4c57cd4a1b3/go.mod h1:QsOtfjxoHEzWvLa8y+mSts95UKUmzTvmgPxWoi7XHMQ=
803803
knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c h1:2crXVk4FG0dSG6WHaIT+WKbUzn7qG2wn0AfYmvA22zs=
804804
knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c/go.mod h1:cI2RPEEHZk+/dBpfHobs0aBdPA1mMZVUVWnGAc8NSzM=
805-
knative.dev/serving v0.42.1-0.20240820122005-5f5f6d820b03 h1:Hf4+sVjiwnSiTyfeT5Z7A6DIYL1rpRPj2g0syRvivWM=
806-
knative.dev/serving v0.42.1-0.20240820122005-5f5f6d820b03/go.mod h1:44XlkEfBXudhAX6jZEbr/VRVI81/TbEUX2elSyub1fs=
805+
knative.dev/serving v0.42.1-0.20240903112117-f07e3d6f307e h1:9jeMRAUZaD3/T8LxH0gLWom7WUMcS2q00GUzqCNEQic=
806+
knative.dev/serving v0.42.1-0.20240903112117-f07e3d6f307e/go.mod h1:44XlkEfBXudhAX6jZEbr/VRVI81/TbEUX2elSyub1fs=
807807
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
808808
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
809809
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/knative.dev/hack/codegen-library.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,18 @@ function restore-changes-if-its-copyright-year-only() {
133133
local difflist
134134
log "Cleaning up generated code"
135135
difflist="$(mktemp)"
136-
git diff --exit-code --name-only > "$difflist"
137-
# list git changes and skip those which differ only in the boilerplate year
138-
while read -r file; do
139-
# check if the file contains just the change in the boilerplate year
140-
if [ "$(LANG=C git diff --exit-code --shortstat -- "$file")" = ' 1 file changed, 1 insertion(+), 1 deletion(-)' ] && \
141-
[[ "$(git diff --exit-code -U1 -- "$file" | grep -Ec '^[+-]\s*[*#]?\s*Copyright 2[0-9]{3}')" -eq 2 ]]; then
142-
# restore changes to that file
143-
git checkout -- "$file"
144-
fi
145-
done < "$difflist"
136+
if ! git diff --exit-code --name-only > /dev/null; then
137+
# list git changes and skip those which differ only in the boilerplate year
138+
git diff --name-only > "$difflist"
139+
while read -r file; do
140+
# check if the file contains just the change in the boilerplate year
141+
if [ "$(LANG=C git diff --exit-code --shortstat -- "$file")" = ' 1 file changed, 1 insertion(+), 1 deletion(-)' ] && \
142+
[[ "$(git diff --exit-code -U1 -- "$file" | grep -Ec '^[+-]\s*[*#]?\s*Copyright 2[0-9]{3}')" -eq 2 ]]; then
143+
# restore changes to that file
144+
git checkout -- "$file"
145+
fi
146+
done < "$difflist"
147+
fi
146148
rm -f "$difflist"
147149
}
148150

vendor/knative.dev/hack/library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ function go_update_deps() {
774774
function __clean_goworksum_if_exists() {
775775
if [ -f "$REPO_ROOT_DIR/go.work.sum" ]; then
776776
log.step 'Cleaning the go.work.sum file'
777-
truncate --size 0 "$REPO_ROOT_DIR/go.work.sum"
777+
truncate -s 0 "$REPO_ROOT_DIR/go.work.sum"
778778
fi
779779
}
780780

vendor/modules.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ k8s.io/utils/pointer
984984
k8s.io/utils/ptr
985985
k8s.io/utils/strings/slices
986986
k8s.io/utils/trace
987-
# knative.dev/eventing v0.42.1-0.20240830061019-902f9d3c9de1
987+
# knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8
988988
## explicit; go 1.22.0
989989
knative.dev/eventing/pkg/adapter/v2
990990
knative.dev/eventing/pkg/adapter/v2/util/crstatusevent
@@ -1075,7 +1075,7 @@ knative.dev/eventing/pkg/observability
10751075
knative.dev/eventing/pkg/observability/client
10761076
knative.dev/eventing/pkg/reconciler/resources
10771077
knative.dev/eventing/pkg/reconciler/source
1078-
# knative.dev/hack v0.0.0-20240814130635-06f7aff93954
1078+
# knative.dev/hack v0.0.0-20240904112633-9724320e463f
10791079
## explicit; go 1.21
10801080
knative.dev/hack
10811081
# knative.dev/networking v0.0.0-20240808015019-d4c57cd4a1b3
@@ -1137,7 +1137,7 @@ knative.dev/pkg/tracker
11371137
knative.dev/pkg/version
11381138
knative.dev/pkg/webhook
11391139
knative.dev/pkg/webhook/certificates/resources
1140-
# knative.dev/serving v0.42.1-0.20240820122005-5f5f6d820b03
1140+
# knative.dev/serving v0.42.1-0.20240903112117-f07e3d6f307e
11411141
## explicit; go 1.22.0
11421142
knative.dev/serving/pkg/apis/autoscaling
11431143
knative.dev/serving/pkg/apis/autoscaling/v1alpha1

0 commit comments

Comments
 (0)