Skip to content

Commit e7d09ce

Browse files
authored
Merge pull request kubernetes#75289 from dims/update-http2-dep-go-1.12
Update golang.org/x/net/... dependencies to release-branch.go1.12
2 parents 815086f + 2aa1348 commit e7d09ce

File tree

91 files changed

+5561
-4373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+5561
-4373
lines changed

Godeps/Godeps.json

Lines changed: 32 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/LICENSES

Lines changed: 107 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hack/godep-save.sh

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,23 @@ if [[ -d Godeps ]]; then
5252
mv Godeps "${BACKUP}/Godeps"
5353
fi
5454

55+
## Workaround "httplex" was dropped from golang.org/x/net repo and the code
56+
## was moved to the "golang.org/x/net/http/httpguts" directory, we do not use
57+
## this directly, however many packages we vendor are still using the older
58+
## golang.org/x/net and we need to keep this until all those dependencies
59+
## are switched to newer golang.org/x/net.
60+
IGNORED_PACKAGES=(
61+
"golang.org/x/net/lex/httplex"
62+
)
63+
REQUIRED_BINS=(
64+
"golang.org/x/net/internal/nettest"
65+
"golang.org/x/net/internal/socks"
66+
"golang.org/x/net/internal/sockstest"
67+
)
68+
5569
# Some things we want in godeps aren't code dependencies, so ./...
5670
# won't pick them up.
57-
REQUIRED_BINS=(
71+
REQUIRED_BINS+=(
5872
"github.com/bazelbuild/bazel-gazelle/cmd/gazelle"
5973
"github.com/bazelbuild/buildtools/buildozer"
6074
"github.com/cespare/prettybench"
@@ -74,7 +88,7 @@ kube::log::status "Running godep save - this might take a while"
7488
# This uses $(pwd) rather than ${KUBE_ROOT} because KUBE_ROOT will be
7589
# realpath'ed, and godep barfs ("... is not using a known version control
7690
# system") on our staging dirs.
77-
GOPATH="${GOPATH}:$(pwd)/staging" ${KUBE_GODEP:?} save "${REQUIRED_BINS[@]}"
91+
GOPATH="${GOPATH}:$(pwd)/staging" ${KUBE_GODEP:?} save -i $(IFS=,; echo "${IGNORED_PACKAGES[*]}") "${REQUIRED_BINS[@]}"
7892

7993
# create a symlink in vendor directory pointing to the staging client. This
8094
# let other packages use the staging client as if it were vendored.

staging/src/k8s.io/api/Godeps/Godeps.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apiextensions-apiserver/Godeps/Godeps.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apimachinery/Godeps/Godeps.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)