From 805091dfa63e619cc3901d16891ab1ad4bc18682 Mon Sep 17 00:00:00 2001 From: Erik Skultety Date: Fri, 25 Oct 2024 17:01:40 +0200 Subject: [PATCH] docs: gomod: Document --force-gomod-tidy deprecation Resolves: https://github.com/containerbuildsystem/cachi2/issues/713 --- docs/gomod.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/gomod.md b/docs/gomod.md index 5c641d91f..396bc49c4 100644 --- a/docs/gomod.md +++ b/docs/gomod.md @@ -90,12 +90,12 @@ by Cachi2 anyway. The `cachi2 fetch-deps` command accepts the following gomod-related flags: * [--cgo-disable](#--cgo-disable) -* [--force-gomod-tidy](#--force-gomod-tidy) ### Deprecated flags * `--gomod-vendor` (deprecated in _v0.11.0_) * `--gomod-vendor-check` (deprecated in _v0.11.0_) +* `--force-gomod-tidy` (deprecated in _v0.13.0_) All of them are deprecated and will have no effect when set. They are only kept for backwards compatibility reasons and will be removed in future releases. @@ -109,12 +109,6 @@ disable cgo in your build (nor should you disable it yourself if you rely on C). Disabling cgo should not prevent Cachi2 from fetching your Go dependencies as usual. Note that Cachi2 will not make any attempts to fetch missing C libraries. If required, you would need to get them through other means. -### --force-gomod-tidy - -Makes Cachi2 run `go mod tidy` after downloading dependencies. - -⚠ This flag is questionable and may be removed in the future. - ## Vendoring Go supports [vendoring](https://go.dev/ref/mod#vendoring) to store the source code of all dependencies in the vendor/