Skip to content

Commit e369024

Browse files
committed
Removes vendoring of dependencies
Vendoring dependencies makes more sense for product code vs a utility package such as crossplane.
1 parent 6d041c6 commit e369024

File tree

188 files changed

+3
-67984
lines changed

Some content is hidden

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

188 files changed

+3
-67984
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ __pycache__/
1616
*.out
1717
coverage.*
1818

19-
# Kubernetes Generated files - skip generated files, except for vendored files
20-
!vendor/**/zz_generated.*
21-
2219
# editor and IDE paraphernalia
2320
.idea
2421
.vscode

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ linters:
4040
run:
4141
# 10 minute timeout for analysis
4242
timeout: 10m
43-
modules-download-mode: vendor
43+
modules-download-mode: mod
4444
skip-dirs-use-default: true
4545

4646
# Specific linter settings

Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PACKAGE = $(notdir $(patsubst %/,%,$(dir $(realpath $(lastword $(MAKEFILE_LIST))))))
22
OUT_DIR ?= build
3-
VENDOR_DIR ?= vendor
43
RESULTS_DIR ?= results
54
DOCKER_REGISTRY ?= local
65
DOCKER_TAG ?= latest
@@ -25,7 +24,6 @@ deps:
2524
go mod download
2625
go mod tidy
2726
go mod verify
28-
go mod vendor
2927

3028
deps-upgrade:
3129
GOFLAGS="" go get -u ./...
@@ -36,7 +34,7 @@ deps-upgrade:
3634
#######################################
3735
fmt:
3836
$(info Running goimports...)
39-
@goimports -w -e $$(find . -type f -name '*.go' -not -path "./vendor/*")
37+
@goimports -w -e $$(find . -type f -name '*.go')
4038

4139
test:
4240
$(info Running unit tests...)
@@ -60,7 +58,7 @@ lint-docker:
6058
docker run --rm -v "${PWD}":/app -w /app golangci/golangci-lint:v1.51.2 golangci-lint run
6159

6260
lint-shell:
63-
shellcheck -x $$(find . -name "*.sh" -type f -not -path "./vendor/*")
61+
shellcheck -x $$(find . -name "*.sh" -type f)
6462

6563
gen:
6664
go generate -x ./...

vendor/github.com/davecgh/go-spew/LICENSE

-15
This file was deleted.

vendor/github.com/davecgh/go-spew/spew/bypass.go

-145
This file was deleted.

vendor/github.com/davecgh/go-spew/spew/bypasssafe.go

-38
This file was deleted.

0 commit comments

Comments
 (0)