Skip to content

Commit

Permalink
Purge almost all memories of godep
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed May 8, 2020
1 parent fad9e06 commit 04c2b1f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion .generated_files
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ file-name generated.pb.go
file-name generated.proto
file-name types_swagger_doc_generated.go

path-prefix Godeps/
path-prefix vendor/
path-prefix pkg/generated/
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ zz_generated_*_test.go
# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored
!\.drone\.sec

# Godeps workspace
/Godeps/_workspace

/bazel-*
*.pyc

Expand Down
1 change: 0 additions & 1 deletion build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,6 @@ function kube::build::copy_output() {
--prune-empty-dirs \
--filter='- /_temp/' \
--filter='+ /vendor/' \
--filter='+ /Godeps/' \
--filter='+ /staging/***/Godeps/**' \
--filter='+ /_output/dockerized/bin/**' \
--filter='+ zz_generated.*' \
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def file_extension(filename):
return os.path.splitext(filename)[1].split(".")[-1].lower()


skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
skipped_dirs = ['third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
"vendor", "test/e2e/generated/bindata.go", "hack/boilerplate/test",
"staging/src/k8s.io/kubectl/pkg/generated/bindata.go"]

Expand Down
3 changes: 1 addition & 2 deletions hack/make-rules/helpers/cache_go_dirs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ function kfind() {
\( \
-path ./_\* -o \
-path ./.\* -o \
-path ./vendor -o \
-path ./Godeps \
-path ./vendor \
\) -prune \
\) \
\) \
Expand Down

0 comments on commit 04c2b1f

Please sign in to comment.