From bf9dc7b46d5aedd746b9f514840cd506240d8e45 Mon Sep 17 00:00:00 2001 From: Michel Blanc Date: Wed, 26 Jun 2024 18:15:57 +0200 Subject: [PATCH] update go version and add support for comp debugging updated to go 1.22 added completion debugging support by setting BASH_COMP_DEBUG_FILE fixed tooling install cache update --- .github/workflows/release_build.yml | 4 +- .github/workflows/update_cache.yml | 4 +- Makefile | 39 +--- cmd/completion.go | 1 - cmd/root.go | 24 +++ distributions/cache.json | 308 +++++++++++++++++++++++++++- go.mod | 4 +- go.sum | 7 + scripts/buildcache.sh | 2 +- 9 files changed, 351 insertions(+), 42 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 752734bf..8c0d62ed 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -16,10 +16,10 @@ jobs: with: fetch-depth: 0 # See: https://goreleaser.com/ci/actions/ - - name: Set up Go 1.19 + - name: Set up Go 1.22 uses: actions/setup-go@v2 with: - go-version: 1.18 + go-version: 1.22 id: go - name: Run GoReleaser diff --git a/.github/workflows/update_cache.yml b/.github/workflows/update_cache.yml index 7f643d94..61f97325 100644 --- a/.github/workflows/update_cache.yml +++ b/.github/workflows/update_cache.yml @@ -19,10 +19,10 @@ jobs: - name: Set up NodeJS uses: actions/setup-node@v1 - - name: Set up Go 1.19 + - name: Set up Go 1.22 uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.22 id: go - name: Build binary diff --git a/Makefile b/Makefile index b4dd19b3..5ceb1c94 100644 --- a/Makefile +++ b/Makefile @@ -95,33 +95,17 @@ e2e: bin ; $(info $(M) runs end2end integration tests (very long)…) @ ## inst $Q echo starting docker $Q docker run -ti --name binenv-e2e -e GITHUB_TOKEN --rm -v $(pwd)/distributions/distributions.yaml:/home/binenv/.config/binenv/distributions.yaml binenv-e2e -# Tools - $(BIN): @mkdir -p $@ -$(BIN)/%: | $(BIN) ; $(info $(M) building $(REPOSITORY)…) - $Q tmp=$$(mktemp -d); \ - env GO111MODULE=off GOPATH=$$tmp GOBIN=$(BIN) $(GO) get $(REPOSITORY) \ - || ret=$$?; \ - rm -rf $$tmp ; exit $$ret - -GOLINT = $(BIN)/golint -$(BIN)/golint: REPOSITORY=golang.org/x/lint/golint - -GOCOVMERGE = $(BIN)/gocovmerge -$(BIN)/gocovmerge: REPOSITORY=github.com/wadey/gocovmerge -GOCOV = $(BIN)/gocov -$(BIN)/gocov: REPOSITORY=github.com/axw/gocov/... - -GOCOVXML = $(BIN)/gocov-xml -$(BIN)/gocov-xml: REPOSITORY=github.com/AlekSi/gocov-xml - -GO2XUNIT = $(BIN)/go2xunit -$(BIN)/go2xunit: REPOSITORY=github.com/tebeka/go2xunit +# Tools -GOMODOUTDATED = $(BIN)/go-mod-outdated -$(BIN)/go-mod-outdated: REPOSITORY=github.com/psampaz/go-mod-outdated +GOLINT = $(GO) run golang.org/x/lint/golint@latest +GOCOVMERGE = $(GO) run github.com/wadey/gocovmerge@latest +GOCOV = $(GO) run github.com/axw/gocov/gocov@latest +GOCOVXML = $(GO) run github.com/AlekSi/gocov-xml@latest +GO2XUNIT = $(GO) run github.com/tebeka/go2xunit@latest +GOMODOUTDATED = $(GO) run github.com/psampaz/go-mod-outdated@latest # Tests @@ -145,10 +129,9 @@ COVERAGE_MODE = atomic COVERAGE_PROFILE = $(COVERAGE_DIR)/profile.out COVERAGE_XML = $(COVERAGE_DIR)/coverage.xml COVERAGE_HTML = $(COVERAGE_DIR)/index.html -.PHONY: test-coverage test-coverage-tools -test-coverage-tools: | $(GOCOVMERGE) $(GOCOV) $(GOCOVXML) +.PHONY: test-coverage test-coverage: COVERAGE_DIR := $(CURDIR)/test/coverage.$(shell date -u +"%Y-%m-%dT%H:%M:%SZ") -test-coverage: fmt lint test-coverage-tools ; $(info $(M) running coverage tests…) @ ## Run coverage tests +test-coverage: fmt lint ; $(info $(M) running coverage tests…) @ ## Run coverage tests $Q mkdir -p $(COVERAGE_DIR)/coverage $Q for pkg in $(TESTPKGS); do \ $(GO) test \ @@ -163,11 +146,11 @@ test-coverage: fmt lint test-coverage-tools ; $(info $(M) running coverage tests $Q $(GOCOV) convert $(COVERAGE_PROFILE) | $(GOCOVXML) > $(COVERAGE_XML) .PHONY: lint -lint: | $(GOLINT) ; $(info $(M) running golint…) @ ## Run golint +lint: ; $(info $(M) running golint…) @ ## Run golint $Q $(GOLINT) -set_exit_status $(PKGS) .PHONY: outdated -outdated: | $(GOMODOUTDATED) ; $(info $(M) running go-mod-outdated…) @ ## Run go-mod-outdated +outdated: ; $(info $(M) running go-mod-outdated…) @ ## Run go-mod-outdated $Q $(GO) list -u -m -json all 2>/dev/null | $(GOMODOUTDATED) -update $Q $(GO) list -u -m -json all 2>/dev/null | $(GOMODOUTDATED) -update -direct diff --git a/cmd/completion.go b/cmd/completion.go index a46fdf3f..b274980f 100644 --- a/cmd/completion.go +++ b/cmd/completion.go @@ -59,6 +59,5 @@ $ binenv completion fish > ~/.config/fish/completions/binenv.fish } }, } - // cmd.Flags().IntVarP(&a.Params.MinLength, "min-length", "m", 16, "Specify minimum password length, must not be less than 8") return cmd } diff --git a/cmd/root.go b/cmd/root.go index 16523d26..fbca0730 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -135,6 +135,7 @@ This is version ` + Version + ` built on ` + BuildDate + `.`, // disable flag parsing if we're called as a shim if !isItMe() { + debugCompletion("binenv called in shim mode for %q\n", strings.Join(os.Args, " ")) rootCmd.DisableFlagParsing = true rootCmd.Args = cobra.ArbitraryArgs rootCmd.SilenceUsage = true @@ -144,6 +145,8 @@ This is version ` + Version + ` built on ` + BuildDate + `.`, return rootCmd } + debugCompletion("binenv called in binenv mode for %q\n", strings.Join(os.Args, " ")) + rootCmd.AddCommand( completionCmd(), expandCmd(a), @@ -202,3 +205,24 @@ func isItMe() bool { return strings.HasSuffix(os.Args[0], "binenv") || // this is us strings.HasSuffix(os.Args[0], "__debug_bin") // for debugging in vscode } + +func isCompletionDebug() bool { + return os.Getenv("BASH_COMP_DEBUG_FILE") != "" +} + +func debugCompletion(msg string, args ...interface{}) { + if !isCompletionDebug() { + return + } + + f, err := os.OpenFile(os.Getenv("BASH_COMP_DEBUG_FILE"), os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) + if err != nil { + fmt.Fprintf(os.Stderr, "unable to open bash completion debug file %s: %v", os.Getenv("BASH_COMP_DEBUG_FILE"), err) + return + } + + defer f.Close() + + fmt.Fprintf(f, msg, args...) + // fmt.Fprintf(os.Stderr, "[DBG] called in completion mode for %s", os.Args[0]) +} diff --git a/distributions/cache.json b/distributions/cache.json index 7b2fd1b6..5c00c054 100644 --- a/distributions/cache.json +++ b/distributions/cache.json @@ -1,5 +1,6 @@ { "act": [ + "0.2.63", "0.2.62", "0.2.61", "0.2.60", @@ -72,6 +73,7 @@ "0.0.1" ], "age": [ + "1.2.0", "1.1.1", "1.1.0", "1.1.0-rc.1", @@ -88,6 +90,7 @@ "1.0.0-beta1" ], "age-keygen": [ + "1.2.0", "1.1.1", "1.1.0", "1.1.0-rc.1", @@ -104,6 +107,9 @@ "1.0.0-beta1" ], "air": [ + "1.52.3", + "1.52.2", + "1.52.1", "1.52.0", "1.51.0", "1.50.0", @@ -248,6 +254,8 @@ "0.1.0" ], "ansible-operator": [ + "1.35.0", + "1.34.2", "1.34.1", "1.34.0", "1.33.0", @@ -359,6 +367,19 @@ "0.0.1" ], "argocd": [ + "2.12.0-rc2", + "2.12.0-rc1", + "2.11.3", + "2.10.12", + "2.9.17", + "2.11.2", + "2.10.11", + "2.9.16", + "2.8.20", + "2.11.1", + "2.10.10", + "2.9.15", + "2.8.19", "2.11.0", "2.10.9", "2.9.14", @@ -739,6 +760,10 @@ "0.1.0" ], "arkade": [ + "0.11.16", + "0.11.15", + "0.11.14", + "0.11.13", "0.11.12", "0.11.11", "0.11.10", @@ -1000,6 +1025,7 @@ "0.0.1" ], "athens": [ + "0.14.1", "0.14.0", "0.13.3", "0.13.2", @@ -1387,7 +1413,6 @@ "0.1.0" ], "binenv": [ - "0.19.1", "0.19.10", "0.19.9", "0.19.8", @@ -1520,6 +1545,7 @@ "0.1.0-alpha-1" ], "broot": [ + "1.39.0", "1.38.0", "1.37.0", "1.36.1", @@ -1784,6 +1810,11 @@ "0.0.1" ], "buildx": [ + "0.15.1", + "0.15.0", + "0.15.0-rc2", + "0.15.0-rc1", + "0.14.1", "0.14.0", "0.14.0-rc2", "0.14.0-rc1", @@ -1838,6 +1869,7 @@ "0.2.0" ], "changie": [ + "1.19.1", "1.19.0", "1.18.0", "1.17.0", @@ -1977,6 +2009,13 @@ "0.4.0" ], "checkip": [ + "0.47.5", + "0.47.4", + "0.47.3", + "0.47.1", + "0.46.6", + "0.46.5", + "0.46.4", "0.46.2", "0.46.1", "0.46.0", @@ -2109,6 +2148,9 @@ "0.1.0" ], "chezmoi": [ + "2.49.1", + "2.49.0", + "2.48.2", "2.48.1", "2.48.0", "2.47.4", @@ -2405,6 +2447,13 @@ "0.1.0" ], "cmctl": [ + "1.14.7", + "1.12.12", + "1.14.6", + "1.12.11", + "1.15.0", + "1.15.0-beta.2", + "1.15.0-beta.1", "1.14.5", "1.13.6", "1.12.10", @@ -2621,6 +2670,8 @@ "0.1.0" ], "consul": [ + "1.19.0", + "1.18.2", "1.18.1", "1.18.0", "1.17.3", @@ -4243,6 +4294,7 @@ "0.1.6" ], "doctl": [ + "1.107.0", "1.106.0", "1.105.0", "1.104.0", @@ -4596,6 +4648,18 @@ "0.0.1" ], "eksctl": [ + "0.183.0", + "0.183.0-rc.0", + "0.182.0", + "0.182.0-rc.0", + "0.181.0", + "0.180.0", + "0.180.0-rc.0", + "0.179.0", + "0.179.0-rc.0", + "0.178.0", + "0.178.0-rc.0", + "0.177.0", "0.177.0-rc.0", "0.176.0", "0.176.0-rc.0", @@ -5615,6 +5679,7 @@ "1.0.3" ], "fzf": [ + "0.53.0", "0.52.1", "0.52.0", "0.51.0", @@ -5674,6 +5739,7 @@ "1.0.0" ], "gdu": [ + "5.29.0", "5.28.0", "5.27.0", "5.26.0", @@ -5758,6 +5824,9 @@ "1.0.0" ], "geesefs": [ + "0.41.1", + "0.41.0", + "0.40.9", "0.40.8", "0.40.7", "0.40.6", @@ -5853,6 +5922,9 @@ "0.24.1" ], "gh": [ + "2.52.0", + "2.51.0", + "2.50.0", "2.49.2", "2.49.1", "2.49.0", @@ -6015,6 +6087,8 @@ "1.0.0" ], "gitleaks": [ + "8.18.4", + "8.18.3", "8.18.2", "8.18.1", "8.18.0", @@ -6174,6 +6248,10 @@ "0.1.0" ], "gitui": [ + "0.26.3", + "0.26.3-rc.1", + "0.26.2", + "0.26.2-rc.1", "0.26.1", "0.26.1-rc1", "0.26.0", @@ -6325,6 +6403,9 @@ "0.1.0" ], "golangci-lint": [ + "1.59.1", + "1.59.0", + "1.58.2", "1.58.1", "1.58.0", "1.57.2", @@ -6460,6 +6541,9 @@ "1.3.3" ], "goreleaser": [ + "2.0.1", + "2.0.0", + "1.26.2", "1.26.1", "1.26.0", "1.25.1", @@ -7078,6 +7162,7 @@ "0.0.1" ], "gowrap": [ + "1.3.10", "1.3.7", "1.3.6", "1.3.5", @@ -7120,6 +7205,7 @@ "0.1.1" ], "grafana-kiosk": [ + "1.0.7", "1.0.6", "1.0.5", "1.0.4", @@ -7149,6 +7235,7 @@ "0.1.0" ], "grizzly": [ + "0.4.3", "0.4.2", "0.4.1", "0.4.0", @@ -7194,6 +7281,9 @@ "0.1.0" ], "grype": [ + "0.79.1", + "0.79.0", + "0.78.0", "0.77.4", "0.77.3", "0.77.2", @@ -7421,6 +7511,8 @@ "1.0.0" ], "havener": [ + "2.2.1", + "2.2.0", "2.1.0", "2.0.8", "2.0.7", @@ -7466,6 +7558,8 @@ "0.1.0-alpha" ], "hcloud": [ + "1.44.1", + "1.44.0", "1.43.1", "1.43.0", "1.42.0", @@ -7542,6 +7636,9 @@ "1.0.0" ], "helm": [ + "3.15.2", + "3.15.1", + "3.15.0", "3.15.0-rc.2", "3.15.0-rc.1", "3.14.4", @@ -7773,6 +7870,8 @@ "0.1.0" ], "helm-operator": [ + "1.35.0", + "1.34.2", "1.34.1", "1.34.0", "1.33.0", @@ -7884,6 +7983,10 @@ "0.0.1" ], "helmfile": [ + "1.0.0-rc.2", + "0.166.0", + "1.0.0-rc.1", + "0.165.0", "1.0.0-rc.0", "0.164.0", "0.163.1", @@ -7917,6 +8020,9 @@ "0.145.0" ], "helmwave": [ + "0.37.1", + "0.37.0", + "0.36.4", "0.36.3", "0.36.2", "0.36.1", @@ -8103,6 +8209,11 @@ "0.1.0" ], "httpx": [ + "1.6.5", + "1.6.4", + "1.6.3", + "1.6.2", + "1.6.1", "1.6.0", "1.5.0", "1.4.0", @@ -8152,6 +8263,11 @@ "0.0.1" ], "httpx-win": [ + "1.6.5", + "1.6.4", + "1.6.3", + "1.6.2", + "1.6.1", "1.6.0", "1.5.0", "1.4.0", @@ -8201,6 +8317,10 @@ "0.0.1" ], "hugo": [ + "0.128.0", + "0.127.0", + "0.126.3", + "0.126.2", "0.126.1", "0.126.0", "0.125.7", @@ -8474,6 +8594,10 @@ "0.7.0" ], "hugo-extended": [ + "0.128.0", + "0.127.0", + "0.126.3", + "0.126.2", "0.126.1", "0.126.0", "0.125.7", @@ -8812,6 +8936,7 @@ "0.1.0-beta" ], "imgpkg": [ + "0.42.2", "0.42.1", "0.42.0", "0.41.1", @@ -8916,6 +9041,7 @@ "0.6.0" ], "infracost": [ + "0.10.37", "0.10.36", "0.10.35", "0.10.34", @@ -9050,6 +9176,10 @@ "0.7.0" ], "juicefs": [ + "1.1.3", + "1.2.0", + "1.2.0-rc1", + "1.2.0-beta2", "1.2.0-beta1", "1.1.2", "1.0.7", @@ -9232,6 +9362,7 @@ "0.0.1" ], "k6": [ + "0.52.0", "0.51.0", "0.50.0", "0.49.0", @@ -9306,6 +9437,7 @@ "0.1.0" ], "k9s": [ + "0.32.5", "0.32.4", "0.32.3", "0.32.2", @@ -9687,6 +9819,7 @@ "0.1.0" ], "kapp": [ + "0.62.1", "0.62.0", "0.61.0", "0.60.1", @@ -9786,6 +9919,7 @@ "0.1.0" ], "kbld": [ + "0.43.2", "0.43.0", "0.42.0", "0.41.0", @@ -9931,6 +10065,7 @@ "0.0.1-rc.1" ], "kdigger": [ + "1.5.1", "1.5.0", "1.4.0", "1.3.0", @@ -9992,6 +10127,7 @@ "0.0.1" ], "kompose": [ + "1.34.0", "1.33.0", "1.32.0", "1.31.2", @@ -10117,6 +10253,8 @@ "0.3.0-pre2" ], "kops": [ + "1.30.0-alpha.1", + "1.29.0", "1.28.5", "1.29.0-beta.1", "1.28.4", @@ -10554,6 +10692,12 @@ "0.1.1" ], "kubectl": [ + "1.31.0-alpha.2", + "1.31.0-alpha.1", + "1.30.2", + "1.29.6", + "1.28.11", + "1.27.15", "1.30.1", "1.29.5", "1.28.10", @@ -11433,6 +11577,7 @@ "0.0.12" ], "kubescape": [ + "3.0.11", "3.0.10", "3.0.9", "3.0.8", @@ -11605,6 +11750,8 @@ "0.0.5" ], "kubeseal": [ + "0.27.0", + "0.26.3", "0.26.2", "0.26.1", "0.26.0", @@ -11708,6 +11855,9 @@ "0.1.0" ], "kubeshark": [ + "52.3.68", + "52.3.62", + "52.3.59", "52.3.0", "52.2.39", "52.2.30", @@ -12230,6 +12380,7 @@ "0.1.0" ], "kustomize": [ + "5.4.2", "5.4.1", "5.4.0", "5.3.0", @@ -12294,6 +12445,15 @@ "3.2.1" ], "kyverno": [ + "1.12.4", + "1.12.4-rc.2", + "1.12.4-rc.1", + "1.12.3", + "1.12.3-rc.1", + "1.12.2", + "1.12.2-rc.3", + "1.12.2-rc.2", + "1.12.2-rc.1", "1.11.5", "1.12.1", "1.12.1-rc.1", @@ -12510,6 +12670,7 @@ "0.1.0" ], "lazydocker": [ + "0.23.3", "0.23.1", "0.23.0", "0.21.1", @@ -12551,6 +12712,7 @@ "0.1.3" ], "lazygit": [ + "0.42.0", "0.41.0", "0.40.2", "0.40.1", @@ -13010,6 +13172,8 @@ "1.0.0" ], "mcfly": [ + "0.9.0", + "0.8.6", "0.8.5", "0.8.4", "0.8.3", @@ -13355,6 +13519,9 @@ "0.1.0" ], "mizu": [ + "52.3.68", + "52.3.62", + "52.3.59", "52.3.0", "52.2.39", "52.2.30", @@ -13844,6 +14011,7 @@ "1.0.1" ], "node-problem-detector": [ + "0.8.19", "0.8.18", "0.8.17", "0.8.16", @@ -13881,6 +14049,9 @@ "0.3.0-alpha.0" ], "nomad": [ + "1.8.1", + "1.8.0", + "1.8.0-rc.1", "1.8.0-beta.1", "1.7.7", "1.6.10", @@ -14075,6 +14246,8 @@ "1.0.0" ], "nuclei": [ + "3.2.9", + "3.2.8", "3.2.7", "3.2.6", "3.2.5", @@ -14236,6 +14409,8 @@ "1.0.0" ], "operator-sdk": [ + "1.35.0", + "1.34.2", "1.34.1", "1.34.0", "1.33.0", @@ -14389,6 +14564,8 @@ "0.1.0" ], "packer": [ + "1.11.0", + "1.11.0-beta", "1.10.3", "1.11.0-alpha2", "1.11.0-alpha", @@ -14582,6 +14759,11 @@ "0.1.7" ], "peirates": [ + "1.1.23", + "1.1.22", + "1.1.22-d", + "1.1.22-c", + "1.1.22-b", "1.1.22-a", "1.1.21", "1.1.21-a", @@ -14712,6 +14894,8 @@ "0.0.3" ], "pint": [ + "0.60.0", + "0.59.0", "0.58.1", "0.58.0", "0.57.3", @@ -14859,6 +15043,7 @@ "0.0.1-alpha" ], "pluto": [ + "5.19.4", "5.19.3", "5.19.2", "5.19.1", @@ -14965,6 +15150,12 @@ "0.1.0" ], "pnpm": [ + "9.4.0", + "9.3.0", + "9.2.0", + "9.1.4", + "9.1.3", + "9.1.2", "9.1.1", "9.1.0", "9.1.0-0", @@ -15897,6 +16088,7 @@ "0.1.0" ], "pomerium": [ + "0.26.0", "0.25.2", "0.25.1", "0.25.0", @@ -16452,6 +16644,11 @@ "0.1.2" ], "pulumi": [ + "3.121.0", + "3.120.0", + "3.119.0", + "3.118.0", + "3.117.0", "3.116.1", "3.116.0", "3.115.2", @@ -16850,6 +17047,7 @@ "0.1.0" ], "saml2aws": [ + "2.36.16", "2.36.15", "2.36.14", "2.36.13", @@ -17557,6 +17755,7 @@ "1.0.0" ], "ssosync": [ + "2.2.6", "2.2.5", "2.2.4", "2.2.3", @@ -17567,8 +17766,6 @@ "2.1.3", "2.1.2", "2.1.1", - "2.1.1", - "2.1.0", "2.0.3", "2.0.2", "2.0.1", @@ -17718,6 +17915,7 @@ "0.2.0" ], "steampipe": [ + "0.23.2", "0.23.1", "0.23.0", "0.23.0-rc.0", @@ -18122,6 +18320,7 @@ "0.0.15" ], "stern": [ + "1.30.0", "1.29.0", "1.28.0", "1.27.0", @@ -18432,6 +18631,7 @@ "1.0.0" ], "tailwindcss": [ + "3.4.4", "3.4.3", "3.4.2", "3.4.1", @@ -18655,6 +18855,8 @@ "0.1.0" ], "tanka": [ + "0.27.1", + "0.27.0", "0.26.0", "0.25.0", "0.24.0", @@ -18843,6 +19045,16 @@ "0.0.3" ], "telepresence": [ + "2.20.0-pro.16", + "2.20.0-pro.15", + "2.20.0-pro.14", + "2.20.0-pro.13", + "2.20.0-pro.12", + "2.20.0-pro.11", + "2.20.0-pro.10", + "2.20.0-pro.9", + "2.20.0-pro.8", + "2.20.0-pro.7", "2.20.0-pro.6", "2.20.0-pro.5", "2.20.0-pro.4", @@ -18850,6 +19062,8 @@ "2.20.0-pro.2", "2.20.0-pro.1", "2.20.0-pro.0", + "2.19.6-pro.1", + "2.19.6-pro.0", "2.19.5-pro.0", "2.19.4-pro.0", "2.19.3-pro.2", @@ -18864,6 +19078,8 @@ "2.19.1-pro.2", "2.19.1-pro.1", "2.19.1-pro.0", + "2.19.0", + "2.19.0-rc.0", "2.19.0-pro.8", "2.19.0-pro.7", "2.19.0-pro.6", @@ -18873,6 +19089,18 @@ "2.19.0-pro.2", "2.19.0-pro.1", "2.19.0-pro.0", + "2.19.0-blackbird.18", + "2.19.0-blackbird.17", + "2.19.0-blackbird.16", + "2.19.0-blackbird.15", + "2.19.0-blackbird.14", + "2.19.0-blackbird.13", + "2.19.0-blackbird.12", + "2.19.0-blackbird.11", + "2.19.0-blackbird.10", + "2.19.0-blackbird.9", + "2.19.0-blackbird.8", + "2.19.0-blackbird.7", "2.19.0-blackbird.6", "2.19.0-blackbird.5", "2.19.0-blackbird.4", @@ -19407,6 +19635,8 @@ "0.0.1" ], "templ": [ + "0.2.707", + "0.2.697", "0.2.680", "0.2.663", "0.2.648", @@ -19471,6 +19701,15 @@ "1.0.0" ], "terraform": [ + "1.9.0-rc3", + "1.10.0-alpha20240619", + "1.9.0-rc2", + "1.9.0-rc1", + "1.10.0-alpha20240606", + "1.8.5", + "1.9.0-beta1", + "1.8.4", + "1.9.0-alpha20240516", "1.8.3", "1.9.0-alpha20240501", "1.8.2", @@ -19774,6 +20013,7 @@ "0.6.0" ], "terraform-docs": [ + "0.18.0", "0.17.0", "0.16.0", "0.15.0", @@ -19823,6 +20063,22 @@ "0.1.0" ], "terragrunt": [ + "0.59.5", + "0.59.4", + "0.59.3", + "0.59.2", + "0.59.1", + "0.59.0", + "0.58.15", + "0.58.14", + "0.58.13", + "0.58.12", + "0.58.11", + "0.58.10", + "0.58.9", + "0.58.8", + "0.58.7", + "0.58.6", "0.58.5", "0.58.4", "0.58.3", @@ -20905,6 +21161,14 @@ "0.0.1" ], "tlsexp": [ + "0.1.6", + "0.1.4", + "0.1.3", + "0.1.2", + "0.1.1", + "0.1.0", + "0.0.10", + "0.0.9", "0.0.7", "0.0.5", "0.0.4", @@ -20913,6 +21177,8 @@ "0.0.1" ], "tofu": [ + "1.8.0-alpha1", + "1.7.2", "1.7.1", "1.7.0", "1.7.0-rc1", @@ -20947,6 +21213,12 @@ "0.2.2" ], "traefik": [ + "3.0.3", + "2.11.5", + "3.0.2", + "2.11.4", + "3.0.1", + "2.11.3", "3.0.0", "3.0.0-rc5", "2.11.2", @@ -21276,6 +21548,11 @@ "1.0.0-beta.211" ], "trivy": [ + "0.52.2", + "0.52.1", + "0.52.0", + "0.51.4", + "0.51.2", "0.51.1", "0.51.0", "0.50.4", @@ -21419,6 +21696,13 @@ "0.0.1" ], "trufflehog": [ + "3.78.2", + "3.78.1", + "3.78.0", + "3.77.0", + "3.76.3", + "3.76.2", + "3.76.1", "3.76.0", "3.75.1", "3.75.0", @@ -21622,6 +21906,9 @@ "0.0.1" ], "updatecli": [ + "0.79.1", + "0.79.0", + "0.78.0", "0.77.0", "0.76.1", "0.76.0", @@ -22009,14 +22296,15 @@ "0.1.0" ], "vault": [ + "1.17.0", + "1.17.0-rc1", + "1.16.3", "1.16.2", "1.16.1", "1.16.0", "1.16.0-rc3", "1.16.0-rc2", "1.16.0-rc1", - "1.15.8+ent", - "1.15.7+ent", "1.15.6", "1.15.5", "1.15.4", @@ -22025,8 +22313,6 @@ "1.15.1", "1.15.0", "1.15.0-rc1", - "1.14.12+ent", - "1.14.11+ent", "1.14.10", "1.14.9", "1.14.8", @@ -22268,6 +22554,10 @@ "0.1.0" ], "velero": [ + "1.14.0", + "1.14.0-rc.3", + "1.14.0-rc.2", + "1.14.0-rc.1", "1.13.2", "1.13.2-rc.1", "1.13.1", @@ -22551,6 +22841,7 @@ "0.3.1" ], "yamlfmt": [ + "0.13.0", "0.12.1", "0.12.0", "0.11.0", @@ -22840,6 +23131,7 @@ "0.0.4" ], "yq": [ + "4.44.2", "4.44.1", "4.43.1", "4.42.1", @@ -22987,7 +23279,9 @@ "0.1.0" ], "ytt": [ + "0.49.1", "0.49.0", + "0.46.5", "0.48.0", "0.47.2", "0.47.0", diff --git a/go.mod b/go.mod index cbed4610..53d95352 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/devops-works/binenv -go 1.19 +go 1.22 require ( github.com/hashicorp/go-version v1.2.1 @@ -35,6 +35,8 @@ require ( github.com/spf13/cast v1.3.0 // indirect github.com/spf13/jwalterweatherman v1.0.0 // indirect github.com/subosito/gotenv v1.2.0 // indirect + golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect golang.org/x/text v0.3.2 // indirect + golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7 // indirect gopkg.in/ini.v1 v1.51.0 // indirect ) diff --git a/go.sum b/go.sum index 62b5331a..0bdbb3e6 100644 --- a/go.sum +++ b/go.sum @@ -210,6 +210,7 @@ golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNmw2api+jEfxLoykJVice/E= golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= @@ -227,10 +228,13 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -294,7 +298,10 @@ golang.org/x/tools v0.0.0-20190828213141-aed303cbaa74/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7 h1:EBZoQjiKKPaLbPrbpssUfuHtwM6KV/vb4U85g/cigFY= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= diff --git a/scripts/buildcache.sh b/scripts/buildcache.sh index 36a6e65a..10c40d31 100755 --- a/scripts/buildcache.sh +++ b/scripts/buildcache.sh @@ -12,7 +12,7 @@ set -eu -export BINENV_GLOBAL=false +export BINENV_GLOBAL=false if [ "$GITHUB_TOKEN" == "" ]; then echo "ERROR: a GITHUB_TOKEN is required but can not be found; exiting"