cloudprovider/gce: use golang.org/x/oauth2

code.google.com/p/goauth2 is deprecated.
use golang.org/x/oauth2 instead.

hooks/prepare-commit-msg ignore Godeps
for sh's boilerplate check.
This commit is contained in:
Fumitoshi Ukai
2015-01-15 16:17:28 +09:00
parent b1f5b3f287
commit 54f498acd5
181 changed files with 47310 additions and 3074 deletions

View File

@@ -20,7 +20,7 @@ for file in $(git diff --cached --name-only --diff-filter ACM | grep "\.go" | gr
done
# Check sh files for boilerplate
for file in $(git diff --cached --name-only --diff-filter ACM | grep "\.sh" | grep -v "third_party"); do
for file in $(git diff --cached --name-only --diff-filter ACM | grep "\.sh" | grep -v "third_party" -e "Godeps"); do
# Check for files without the required boilerplate.
boilerplate=$("${KUBE_HOOKS_DIR}/boilerplate.sh" "${file}")
if [[ "$boilerplate" -eq "0" ]]; then