From 9775a66310415bed7eee2faaa3279b2fe1d5e2d1 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Mon, 10 Jul 2017 09:42:43 +0200 Subject: [PATCH 1/2] godep-save.sh: add verbosity --- hack/godep-save.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hack/godep-save.sh b/hack/godep-save.sh index 8ce6026cc7df..7c0486a30001 100755 --- a/hack/godep-save.sh +++ b/hack/godep-save.sh @@ -52,6 +52,7 @@ pushd "${KUBE_ROOT}" > /dev/null exit 1 fi + echo "Running godep save. This will take around 15 minutes." GOPATH=${GOPATH}:${KUBE_ROOT}/staging godep save "${REQUIRED_BINS[@]}" # create a symlink in vendor directory pointing to the staging client. This @@ -63,4 +64,7 @@ pushd "${KUBE_ROOT}" > /dev/null done popd > /dev/null -echo "Don't forget to run hack/update-godep-licenses.sh if you added or removed a dependency!" +echo +echo "Don't forget to run:" +echo "- hack/update-bazel.sh to recreate the BUILD files" +echo "- hack/update-godep-licenses.sh if you added or removed a dependency!" From cd2552749ff26f3afda632a4723b85cf00668169 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Mon, 10 Jul 2017 09:43:28 +0200 Subject: [PATCH 2/2] godep-save.sh: workaround broken vendor/github.com/docker/docker/project/CONTRIBUTING.md symlink --- hack/godep-save.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hack/godep-save.sh b/hack/godep-save.sh index 7c0486a30001..ef2988ef572b 100755 --- a/hack/godep-save.sh +++ b/hack/godep-save.sh @@ -64,6 +64,9 @@ pushd "${KUBE_ROOT}" > /dev/null done popd > /dev/null +# Workaround broken symlink in docker repo because godep copies the link, but not the target +rm -rf ${KUBE_ROOT}/vendor/github.com/docker/docker/project/ + echo echo "Don't forget to run:" echo "- hack/update-bazel.sh to recreate the BUILD files"