Skip to content

Commit

Permalink
chore: Remove OWNERS files in vendor/ when updating deps (knative#867)
Browse files Browse the repository at this point in the history
* chore: Remove OWNERS files in vendor/ when updating deps

* chore: Remove OWNERS also in build.sh
rhuss authored Jun 2, 2020
1 parent bcf2ec3 commit b7fc4c3
Showing 30 changed files with 11 additions and 362 deletions.
3 changes: 3 additions & 0 deletions hack/build.sh
Original file line number Diff line number Diff line change
@@ -188,6 +188,9 @@ update_deps() {
echo "🚒 Update"
go mod tidy
go mod vendor

# Cleanup
find "./vendor" \( -name "OWNERS" -o -name "*_test.go" \) -print0 | xargs -0 rm -f
}

generate_docs() {
8 changes: 8 additions & 0 deletions hack/update-deps.sh
Original file line number Diff line number Diff line change
@@ -54,3 +54,11 @@ fi
# Prune modules.
go mod tidy
go mod vendor

# Cleanup
find "${ROOT_DIR}/vendor" \( -name "OWNERS" -o -name "*_test.go" \) -print0 | xargs -0 rm -f

export GOFLAGS=-mod=vendor
update_licenses "${ROOT_DIR}/third_party/VENDOR-LICENSE" "./..."

remove_broken_symlinks "${ROOT_DIR}/vendor"
26 changes: 0 additions & 26 deletions vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS

This file was deleted.

27 changes: 0 additions & 27 deletions vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS

This file was deleted.

33 changes: 0 additions & 33 deletions vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/k8s.io/apimachinery/pkg/util/mergepatch/OWNERS

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/k8s.io/apimachinery/pkg/util/strategicpatch/OWNERS

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/k8s.io/client-go/pkg/apis/clientauthentication/OWNERS

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp/OWNERS

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/OWNERS

This file was deleted.

26 changes: 0 additions & 26 deletions vendor/k8s.io/client-go/rest/OWNERS

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/k8s.io/client-go/tools/auth/OWNERS

This file was deleted.

51 changes: 0 additions & 51 deletions vendor/k8s.io/client-go/tools/cache/OWNERS

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/k8s.io/client-go/tools/metrics/OWNERS

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/k8s.io/client-go/transport/OWNERS

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/k8s.io/client-go/util/cert/OWNERS

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/k8s.io/client-go/util/keyutil/OWNERS

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/k8s.io/client-go/util/retry/OWNERS

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/k8s.io/klog/OWNERS

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/k8s.io/kube-openapi/pkg/util/proto/OWNERS

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/knative.dev/pkg/apis/OWNERS

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/knative.dev/pkg/apis/duck/OWNERS

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/knative.dev/pkg/configmap/OWNERS

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/knative.dev/pkg/kmeta/OWNERS

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/knative.dev/pkg/logging/OWNERS

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/knative.dev/serving/pkg/apis/autoscaling/OWNERS

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/knative.dev/serving/pkg/apis/networking/OWNERS

This file was deleted.

27 changes: 0 additions & 27 deletions vendor/sigs.k8s.io/yaml/OWNERS

This file was deleted.

0 comments on commit b7fc4c3

Please sign in to comment.