-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
0 / 10 of 1 issue completedOpen
0 / 10 of 1 issue completed
Copy link
Labels
kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
About
During development, execute the internal CLI binary without installing it locally, but rather via go tool.
Specifically, consolidate the installation and execution of binaries run via makefiles, shell scripts, etc., into a single CLI call through go tool
This eliminates the need to install binaries via go install each time, and can potentially prevent issues like using outdated versions of tools installed in your computer's GOBIN.
How to migrate
- Since each CLI tool is called from shell scripts,
go generate, or Makefiles, replace the invocations withgo tool BINARY_NAME. - Locate and remove all instances where CLI tools are being
go installed. - Verify that the CLI can be called
Tools List
in repo tools
- gorepomod introduce go tool directive #5963
- mdtogo
- pluginator
external tools
- golangci-lint
- mdrip
- stringer
- goimports
- mdtogo
- addlicense
- kind
- controller-gen
- embedmd
- go-bindata
- go-apidiff
- gh
- kubeval
Sub-issues
Metadata
Metadata
Assignees
Labels
kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.