From 34e7d13fbc50566bd2370f110a736351eaaa5249 Mon Sep 17 00:00:00 2001 From: Denis Vaumoron Date: Sun, 22 Dec 2024 23:24:19 +0100 Subject: [PATCH] update version to v4 Signed-off-by: Denis Vaumoron --- TENV_AS_LIB.md | 8 +++--- cmd/atmos/atmos.go | 4 +-- cmd/tenv/subcmd.go | 8 +++--- cmd/tenv/tenv.go | 12 ++++----- cmd/tenv/textui.go | 12 ++++----- cmd/terraform/terraform.go | 4 +-- cmd/terragrunt/terragrunt.go | 4 +-- cmd/tf/tf.go | 4 +-- cmd/tofu/tofu.go | 4 +-- config/config.go | 6 ++--- config/remote.go | 4 +-- go.mod | 2 +- pkg/check/cosign/check.go | 2 +- pkg/check/cosign/check_test.go | 4 +-- pkg/check/pgp/check_test.go | 2 +- pkg/check/sha256/check_test.go | 2 +- pkg/cmdproxy/proxy.go | 4 +-- pkg/download/download_test.go | 2 +- pkg/github/github.go | 6 ++--- pkg/github/github_test.go | 4 +-- pkg/htmlquery/html.go | 2 +- pkg/lockfile/lockfile.go | 2 +- pkg/lockfile/lockfile_test.go | 4 +-- pkg/reversecmp/reverse_test.go | 2 +- versionmanager/builder/builder.go | 26 +++++++++---------- versionmanager/lastuse/last.go | 2 +- versionmanager/manager.go | 18 ++++++------- versionmanager/prefix.go | 2 +- versionmanager/proxy/agnostic.go | 10 +++---- .../proxy/detach/detached_others.go | 4 +-- .../proxy/detach/detached_windows.go | 4 +-- versionmanager/proxy/light/light.go | 4 +-- versionmanager/proxy/proxy.go | 12 ++++----- .../retriever/atmos/atmosretriever.go | 16 ++++++------ .../retriever/html/htmlretriever.go | 8 +++--- .../retriever/terraform/api/releaseapi.go | 2 +- .../terraform/api/releaseapi_test.go | 4 +-- .../retriever/terraform/terraformretriever.go | 22 ++++++++-------- .../terragrunt/terragruntretriever.go | 16 ++++++------ versionmanager/retriever/tofu/dl/tofudl.go | 2 +- .../retriever/tofu/tofuretriever.go | 26 +++++++++---------- versionmanager/semantic/finder/finder_test.go | 2 +- .../semantic/parser/asdf/asdfparser.go | 8 +++--- .../semantic/parser/asdf/asdfparser_test.go | 2 +- .../semantic/parser/flat/flatparser.go | 6 ++--- .../semantic/parser/iac/iacparser.go | 6 ++--- .../semantic/parser/terragrunt/gruntparser.go | 6 ++--- .../semantic/parser/toml/tomlparser.go | 6 ++--- versionmanager/semantic/semantic.go | 8 +++--- versionmanager/semantic/semantic_test.go | 2 +- versionmanager/semantic/types/types.go | 4 +-- versionmanager/semantic/uninstall.go | 4 +-- versionmanager/semantic/walker.go | 4 +-- .../tenvlib/examples/dtofuver/ex1.go | 4 +-- versionmanager/tenvlib/examples/ltfver/ex2.go | 8 +++--- versionmanager/tenvlib/lib.go | 12 ++++----- 56 files changed, 184 insertions(+), 184 deletions(-) diff --git a/TENV_AS_LIB.md b/TENV_AS_LIB.md index 15b16791..b86146f6 100644 --- a/TENV_AS_LIB.md +++ b/TENV_AS_LIB.md @@ -11,7 +11,7 @@ `tenvlib` package is available since tenv v3.2 ```console -go get -u github.com/tofuutils/tenv/v3@latest +go get -u github.com/tofuutils/tenv/v4@latest ``` ### Basic example @@ -23,8 +23,8 @@ import ( "context" "fmt" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/versionmanager/tenvlib" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/versionmanager/tenvlib" ) func main() { @@ -43,7 +43,7 @@ func main() { ## Documentation -See the [API documentation on go.dev](https://pkg.go.dev/github.com/tofuutils/tenv/v3/versionmanager/tenvlib) and [examples](https://github.com/tofuutils/tenv/tree/main/versionmanager/tenvlib/examples). +See the [API documentation on go.dev](https://pkg.go.dev/github.com/tofuutils/tenv/v4/versionmanager/tenvlib) and [examples](https://github.com/tofuutils/tenv/tree/main/versionmanager/tenvlib/examples). ### Overview diff --git a/cmd/atmos/atmos.go b/cmd/atmos/atmos.go index 7cb9aa26..c711c713 100644 --- a/cmd/atmos/atmos.go +++ b/cmd/atmos/atmos.go @@ -19,8 +19,8 @@ package main import ( - "github.com/tofuutils/tenv/v3/config/cmdconst" - lightproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/light" + "github.com/tofuutils/tenv/v4/config/cmdconst" + lightproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/light" ) func main() { diff --git a/cmd/tenv/subcmd.go b/cmd/tenv/subcmd.go index ef316f62..5acbacb6 100644 --- a/cmd/tenv/subcmd.go +++ b/cmd/tenv/subcmd.go @@ -30,10 +30,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" ) func newConstraintCmd(versionManager versionmanager.VersionManager) *cobra.Command { diff --git a/cmd/tenv/tenv.go b/cmd/tenv/tenv.go index b78400b2..71c1357a 100644 --- a/cmd/tenv/tenv.go +++ b/cmd/tenv/tenv.go @@ -27,12 +27,12 @@ import ( "github.com/hashicorp/hcl/v2/hclparse" "github.com/spf13/cobra" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager" - "github.com/tofuutils/tenv/v3/versionmanager/builder" - "github.com/tofuutils/tenv/v3/versionmanager/proxy" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager" + "github.com/tofuutils/tenv/v4/versionmanager/builder" + "github.com/tofuutils/tenv/v4/versionmanager/proxy" ) const ( diff --git a/cmd/tenv/textui.go b/cmd/tenv/textui.go index 2860a2e2..870ce9e6 100644 --- a/cmd/tenv/textui.go +++ b/cmd/tenv/textui.go @@ -30,12 +30,12 @@ import ( "github.com/charmbracelet/lipgloss" "github.com/hashicorp/hcl/v2/hclparse" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager" - "github.com/tofuutils/tenv/v3/versionmanager/builder" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager" + "github.com/tofuutils/tenv/v4/versionmanager/builder" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" ) const ( diff --git a/cmd/terraform/terraform.go b/cmd/terraform/terraform.go index 2c40b287..5affd60e 100644 --- a/cmd/terraform/terraform.go +++ b/cmd/terraform/terraform.go @@ -19,8 +19,8 @@ package main import ( - "github.com/tofuutils/tenv/v3/config/cmdconst" - lightproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/light" + "github.com/tofuutils/tenv/v4/config/cmdconst" + lightproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/light" ) func main() { diff --git a/cmd/terragrunt/terragrunt.go b/cmd/terragrunt/terragrunt.go index 10cbff9a..98f1a534 100644 --- a/cmd/terragrunt/terragrunt.go +++ b/cmd/terragrunt/terragrunt.go @@ -19,8 +19,8 @@ package main import ( - "github.com/tofuutils/tenv/v3/config/cmdconst" - lightproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/light" + "github.com/tofuutils/tenv/v4/config/cmdconst" + lightproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/light" ) func main() { diff --git a/cmd/tf/tf.go b/cmd/tf/tf.go index 8a231ed4..fb7e394e 100644 --- a/cmd/tf/tf.go +++ b/cmd/tf/tf.go @@ -19,8 +19,8 @@ package main import ( - "github.com/tofuutils/tenv/v3/config/cmdconst" - lightproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/light" + "github.com/tofuutils/tenv/v4/config/cmdconst" + lightproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/light" ) func main() { diff --git a/cmd/tofu/tofu.go b/cmd/tofu/tofu.go index 3235a90b..7d15abb3 100644 --- a/cmd/tofu/tofu.go +++ b/cmd/tofu/tofu.go @@ -19,8 +19,8 @@ package main import ( - "github.com/tofuutils/tenv/v3/config/cmdconst" - lightproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/light" + "github.com/tofuutils/tenv/v4/config/cmdconst" + lightproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/light" ) func main() { diff --git a/config/config.go b/config/config.go index 73fe5d51..df34a2f0 100644 --- a/config/config.go +++ b/config/config.go @@ -29,9 +29,9 @@ import ( "github.com/hashicorp/go-hclog" "gopkg.in/yaml.v3" - "github.com/tofuutils/tenv/v3/config/cmdconst" - configutils "github.com/tofuutils/tenv/v3/config/utils" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/config/cmdconst" + configutils "github.com/tofuutils/tenv/v4/config/utils" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const ( diff --git a/config/remote.go b/config/remote.go index f1e38037..58dee917 100644 --- a/config/remote.go +++ b/config/remote.go @@ -22,8 +22,8 @@ import ( "errors" "strings" - configutils "github.com/tofuutils/tenv/v3/config/utils" - "github.com/tofuutils/tenv/v3/pkg/download" + configutils "github.com/tofuutils/tenv/v4/config/utils" + "github.com/tofuutils/tenv/v4/pkg/download" ) const ( diff --git a/go.mod b/go.mod index 9d855956..3e1abaec 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tofuutils/tenv/v3 +module github.com/tofuutils/tenv/v4 go 1.23.3 diff --git a/pkg/check/cosign/check.go b/pkg/check/cosign/check.go index f30f27ac..0083ee20 100644 --- a/pkg/check/cosign/check.go +++ b/pkg/check/cosign/check.go @@ -26,7 +26,7 @@ import ( "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const ( diff --git a/pkg/check/cosign/check_test.go b/pkg/check/cosign/check_test.go index 44622111..93b5252c 100644 --- a/pkg/check/cosign/check_test.go +++ b/pkg/check/cosign/check_test.go @@ -22,8 +22,8 @@ import ( _ "embed" "testing" - cosigncheck "github.com/tofuutils/tenv/v3/pkg/check/cosign" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + cosigncheck "github.com/tofuutils/tenv/v4/pkg/check/cosign" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const ( diff --git a/pkg/check/pgp/check_test.go b/pkg/check/pgp/check_test.go index 6e1a6cf7..42741dc5 100644 --- a/pkg/check/pgp/check_test.go +++ b/pkg/check/pgp/check_test.go @@ -22,7 +22,7 @@ import ( _ "embed" "testing" - pgpcheck "github.com/tofuutils/tenv/v3/pkg/check/pgp" + pgpcheck "github.com/tofuutils/tenv/v4/pkg/check/pgp" ) //go:embed testdata/terraform_1.6.6_SHA256SUMS diff --git a/pkg/check/sha256/check_test.go b/pkg/check/sha256/check_test.go index 7f2c811a..a91615cb 100644 --- a/pkg/check/sha256/check_test.go +++ b/pkg/check/sha256/check_test.go @@ -23,7 +23,7 @@ import ( "errors" "testing" - sha256check "github.com/tofuutils/tenv/v3/pkg/check/sha256" + sha256check "github.com/tofuutils/tenv/v4/pkg/check/sha256" ) //go:embed testdata/hello.txt diff --git a/pkg/cmdproxy/proxy.go b/pkg/cmdproxy/proxy.go index 4bca9f60..fa58aedc 100644 --- a/pkg/cmdproxy/proxy.go +++ b/pkg/cmdproxy/proxy.go @@ -29,8 +29,8 @@ import ( "strconv" "strings" - "github.com/tofuutils/tenv/v3/config" - configutils "github.com/tofuutils/tenv/v3/config/utils" + "github.com/tofuutils/tenv/v4/config" + configutils "github.com/tofuutils/tenv/v4/config/utils" ) const rwPerm = 0o600 diff --git a/pkg/download/download_test.go b/pkg/download/download_test.go index ffce1b21..771b2245 100644 --- a/pkg/download/download_test.go +++ b/pkg/download/download_test.go @@ -21,7 +21,7 @@ package download_test import ( "testing" - "github.com/tofuutils/tenv/v3/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/download" ) func TestURLTransformer(t *testing.T) { diff --git a/pkg/github/github.go b/pkg/github/github.go index 1ab6862c..4fe8a32e 100644 --- a/pkg/github/github.go +++ b/pkg/github/github.go @@ -25,9 +25,9 @@ import ( "net/url" "strconv" - "github.com/tofuutils/tenv/v3/pkg/apimsg" - "github.com/tofuutils/tenv/v3/pkg/download" - versionfinder "github.com/tofuutils/tenv/v3/versionmanager/semantic/finder" + "github.com/tofuutils/tenv/v4/pkg/apimsg" + "github.com/tofuutils/tenv/v4/pkg/download" + versionfinder "github.com/tofuutils/tenv/v4/versionmanager/semantic/finder" ) const ( diff --git a/pkg/github/github_test.go b/pkg/github/github_test.go index 62f670dc..5b125c1b 100644 --- a/pkg/github/github_test.go +++ b/pkg/github/github_test.go @@ -25,8 +25,8 @@ import ( "slices" "testing" - "github.com/tofuutils/tenv/v3/pkg/apimsg" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" + "github.com/tofuutils/tenv/v4/pkg/apimsg" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" ) //go:embed testdata/assets.json diff --git a/pkg/htmlquery/html.go b/pkg/htmlquery/html.go index e67a0ddd..db163fb0 100644 --- a/pkg/htmlquery/html.go +++ b/pkg/htmlquery/html.go @@ -25,7 +25,7 @@ import ( "github.com/PuerkitoBio/goquery" - "github.com/tofuutils/tenv/v3/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/download" ) func Request(ctx context.Context, callURL string, selector string, extractor func(*goquery.Selection) string, ro ...download.RequestOption) ([]string, error) { diff --git a/pkg/lockfile/lockfile.go b/pkg/lockfile/lockfile.go index efe71109..33578158 100644 --- a/pkg/lockfile/lockfile.go +++ b/pkg/lockfile/lockfile.go @@ -27,7 +27,7 @@ import ( "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const ( diff --git a/pkg/lockfile/lockfile_test.go b/pkg/lockfile/lockfile_test.go index 0ed02487..775e4e6b 100644 --- a/pkg/lockfile/lockfile_test.go +++ b/pkg/lockfile/lockfile_test.go @@ -26,8 +26,8 @@ import ( "testing" "time" - "github.com/tofuutils/tenv/v3/pkg/lockfile" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/pkg/lockfile" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const rwPerm = 0o600 diff --git a/pkg/reversecmp/reverse_test.go b/pkg/reversecmp/reverse_test.go index 39d4c10f..8e99b33b 100644 --- a/pkg/reversecmp/reverse_test.go +++ b/pkg/reversecmp/reverse_test.go @@ -22,7 +22,7 @@ import ( "cmp" "testing" - "github.com/tofuutils/tenv/v3/pkg/reversecmp" + "github.com/tofuutils/tenv/v4/pkg/reversecmp" ) func TestReverserFalse(t *testing.T) { diff --git a/versionmanager/builder/builder.go b/versionmanager/builder/builder.go index 4af4ab0d..ee03e64a 100644 --- a/versionmanager/builder/builder.go +++ b/versionmanager/builder/builder.go @@ -21,19 +21,19 @@ package builder import ( "github.com/hashicorp/hcl/v2/hclparse" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/versionmanager" - atmosretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/atmos" - terraformretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/terraform" - terragruntretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/terragrunt" - tofuretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/tofu" - asdfparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/asdf" - flatparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/flat" - iacparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/iac" - terragruntparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/terragrunt" - tomlparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/toml" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/versionmanager" + atmosretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/atmos" + terraformretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/terraform" + terragruntretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/terragrunt" + tofuretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/tofu" + asdfparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/asdf" + flatparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/flat" + iacparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/iac" + terragruntparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/terragrunt" + tomlparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/toml" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) var Builders = map[string]Func{ //nolint diff --git a/versionmanager/lastuse/last.go b/versionmanager/lastuse/last.go index e65739e1..2203c95b 100644 --- a/versionmanager/lastuse/last.go +++ b/versionmanager/lastuse/last.go @@ -27,7 +27,7 @@ import ( "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const ( diff --git a/versionmanager/manager.go b/versionmanager/manager.go index e37fdd8d..5d4f4d93 100644 --- a/versionmanager/manager.go +++ b/versionmanager/manager.go @@ -31,15 +31,15 @@ import ( "github.com/hashicorp/go-hclog" "github.com/hashicorp/go-version" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/lockfile" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/pkg/reversecmp" - "github.com/tofuutils/tenv/v3/versionmanager/lastuse" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" - flatparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/flat" - iacparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/iac" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/lockfile" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/pkg/reversecmp" + "github.com/tofuutils/tenv/v4/versionmanager/lastuse" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" + flatparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/flat" + iacparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/iac" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) const ( diff --git a/versionmanager/prefix.go b/versionmanager/prefix.go index a7f660fd..c8817880 100644 --- a/versionmanager/prefix.go +++ b/versionmanager/prefix.go @@ -18,7 +18,7 @@ package versionmanager -import "github.com/tofuutils/tenv/v3/config" +import "github.com/tofuutils/tenv/v4/config" type EnvPrefix string diff --git a/versionmanager/proxy/agnostic.go b/versionmanager/proxy/agnostic.go index 1d6be5b4..3074ab18 100644 --- a/versionmanager/proxy/agnostic.go +++ b/versionmanager/proxy/agnostic.go @@ -26,11 +26,11 @@ import ( "github.com/hashicorp/hcl/v2/hclparse" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - cmdproxy "github.com/tofuutils/tenv/v3/pkg/cmdproxy" - "github.com/tofuutils/tenv/v3/versionmanager/builder" - detachproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/detach" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + cmdproxy "github.com/tofuutils/tenv/v4/pkg/cmdproxy" + "github.com/tofuutils/tenv/v4/versionmanager/builder" + detachproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/detach" ) // Always call os.Exit. diff --git a/versionmanager/proxy/detach/detached_others.go b/versionmanager/proxy/detach/detached_others.go index d9035ec0..acf01d2a 100644 --- a/versionmanager/proxy/detach/detached_others.go +++ b/versionmanager/proxy/detach/detached_others.go @@ -25,8 +25,8 @@ import ( "os/exec" "syscall" - "github.com/tofuutils/tenv/v3/config" - configutils "github.com/tofuutils/tenv/v3/config/utils" + "github.com/tofuutils/tenv/v4/config" + configutils "github.com/tofuutils/tenv/v4/config/utils" ) const msgErr = "Failed to read " + config.TenvDetachedProxyEnvName + " environment variable, disable behavior :" diff --git a/versionmanager/proxy/detach/detached_windows.go b/versionmanager/proxy/detach/detached_windows.go index 0da4a4ce..0a9b531c 100644 --- a/versionmanager/proxy/detach/detached_windows.go +++ b/versionmanager/proxy/detach/detached_windows.go @@ -22,8 +22,8 @@ import ( "fmt" "os/exec" - "github.com/tofuutils/tenv/v3/config" - configutils "github.com/tofuutils/tenv/v3/config/utils" + "github.com/tofuutils/tenv/v4/config" + configutils "github.com/tofuutils/tenv/v4/config/utils" ) const ( diff --git a/versionmanager/proxy/light/light.go b/versionmanager/proxy/light/light.go index 3bf8c482..43b95350 100644 --- a/versionmanager/proxy/light/light.go +++ b/versionmanager/proxy/light/light.go @@ -25,8 +25,8 @@ import ( "os/exec" "os/signal" - "github.com/tofuutils/tenv/v3/config/cmdconst" - detachproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/detach" + "github.com/tofuutils/tenv/v4/config/cmdconst" + detachproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/detach" ) func Exec(execName string) { diff --git a/versionmanager/proxy/proxy.go b/versionmanager/proxy/proxy.go index f48af09b..5abeef7a 100644 --- a/versionmanager/proxy/proxy.go +++ b/versionmanager/proxy/proxy.go @@ -28,12 +28,12 @@ import ( "github.com/hashicorp/hcl/v2/hclparse" - "github.com/tofuutils/tenv/v3/config" - cmdproxy "github.com/tofuutils/tenv/v3/pkg/cmdproxy" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager/builder" - "github.com/tofuutils/tenv/v3/versionmanager/lastuse" - detachproxy "github.com/tofuutils/tenv/v3/versionmanager/proxy/detach" + "github.com/tofuutils/tenv/v4/config" + cmdproxy "github.com/tofuutils/tenv/v4/pkg/cmdproxy" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager/builder" + "github.com/tofuutils/tenv/v4/versionmanager/lastuse" + detachproxy "github.com/tofuutils/tenv/v4/versionmanager/proxy/detach" ) const chdirFlagPrefix = "-chdir=" diff --git a/versionmanager/retriever/atmos/atmosretriever.go b/versionmanager/retriever/atmos/atmosretriever.go index e4963a2c..aeffb85e 100644 --- a/versionmanager/retriever/atmos/atmosretriever.go +++ b/versionmanager/retriever/atmos/atmosretriever.go @@ -28,14 +28,14 @@ import ( "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/apimsg" - sha256check "github.com/tofuutils/tenv/v3/pkg/check/sha256" - "github.com/tofuutils/tenv/v3/pkg/download" - "github.com/tofuutils/tenv/v3/pkg/github" - "github.com/tofuutils/tenv/v3/pkg/winbin" - htmlretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/html" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/apimsg" + sha256check "github.com/tofuutils/tenv/v4/pkg/check/sha256" + "github.com/tofuutils/tenv/v4/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/github" + "github.com/tofuutils/tenv/v4/pkg/winbin" + htmlretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/html" ) const ( diff --git a/versionmanager/retriever/html/htmlretriever.go b/versionmanager/retriever/html/htmlretriever.go index ff917aa9..7c63333f 100644 --- a/versionmanager/retriever/html/htmlretriever.go +++ b/versionmanager/retriever/html/htmlretriever.go @@ -24,10 +24,10 @@ import ( "github.com/PuerkitoBio/goquery" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/download" - "github.com/tofuutils/tenv/v3/pkg/htmlquery" - versionfinder "github.com/tofuutils/tenv/v3/versionmanager/semantic/finder" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/htmlquery" + versionfinder "github.com/tofuutils/tenv/v4/versionmanager/semantic/finder" ) func BuildAssetURLs(baseAssetURL string, assetNames ...string) ([]string, error) { diff --git a/versionmanager/retriever/terraform/api/releaseapi.go b/versionmanager/retriever/terraform/api/releaseapi.go index 356d55ca..68387f34 100644 --- a/versionmanager/retriever/terraform/api/releaseapi.go +++ b/versionmanager/retriever/terraform/api/releaseapi.go @@ -18,7 +18,7 @@ package releaseapi -import "github.com/tofuutils/tenv/v3/pkg/apimsg" +import "github.com/tofuutils/tenv/v4/pkg/apimsg" func ExtractAssetURLs(searchedOs string, searchedArch string, value any) (string, string, string, string, error) { object, _ := value.(map[string]any) diff --git a/versionmanager/retriever/terraform/api/releaseapi_test.go b/versionmanager/retriever/terraform/api/releaseapi_test.go index 6dba72af..3612f97d 100644 --- a/versionmanager/retriever/terraform/api/releaseapi_test.go +++ b/versionmanager/retriever/terraform/api/releaseapi_test.go @@ -24,8 +24,8 @@ import ( "slices" "testing" - releaseapi "github.com/tofuutils/tenv/v3/versionmanager/retriever/terraform/api" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" + releaseapi "github.com/tofuutils/tenv/v4/versionmanager/retriever/terraform/api" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" ) //go:embed testdata/release.json diff --git a/versionmanager/retriever/terraform/terraformretriever.go b/versionmanager/retriever/terraform/terraformretriever.go index 5373bcae..27a77645 100644 --- a/versionmanager/retriever/terraform/terraformretriever.go +++ b/versionmanager/retriever/terraform/terraformretriever.go @@ -27,17 +27,17 @@ import ( "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/apimsg" - pgpcheck "github.com/tofuutils/tenv/v3/pkg/check/pgp" - sha256check "github.com/tofuutils/tenv/v3/pkg/check/sha256" - "github.com/tofuutils/tenv/v3/pkg/download" - "github.com/tofuutils/tenv/v3/pkg/pathfilter" - "github.com/tofuutils/tenv/v3/pkg/winbin" - "github.com/tofuutils/tenv/v3/pkg/zip" - htmlretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/html" - releaseapi "github.com/tofuutils/tenv/v3/versionmanager/retriever/terraform/api" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/apimsg" + pgpcheck "github.com/tofuutils/tenv/v4/pkg/check/pgp" + sha256check "github.com/tofuutils/tenv/v4/pkg/check/sha256" + "github.com/tofuutils/tenv/v4/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/pathfilter" + "github.com/tofuutils/tenv/v4/pkg/winbin" + "github.com/tofuutils/tenv/v4/pkg/zip" + htmlretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/html" + releaseapi "github.com/tofuutils/tenv/v4/versionmanager/retriever/terraform/api" ) const ( diff --git a/versionmanager/retriever/terragrunt/terragruntretriever.go b/versionmanager/retriever/terragrunt/terragruntretriever.go index 40886556..2b93bb03 100644 --- a/versionmanager/retriever/terragrunt/terragruntretriever.go +++ b/versionmanager/retriever/terragrunt/terragruntretriever.go @@ -28,14 +28,14 @@ import ( "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/apimsg" - sha256check "github.com/tofuutils/tenv/v3/pkg/check/sha256" - "github.com/tofuutils/tenv/v3/pkg/download" - "github.com/tofuutils/tenv/v3/pkg/github" - "github.com/tofuutils/tenv/v3/pkg/winbin" - htmlretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/html" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/apimsg" + sha256check "github.com/tofuutils/tenv/v4/pkg/check/sha256" + "github.com/tofuutils/tenv/v4/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/github" + "github.com/tofuutils/tenv/v4/pkg/winbin" + htmlretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/html" ) const ( diff --git a/versionmanager/retriever/tofu/dl/tofudl.go b/versionmanager/retriever/tofu/dl/tofudl.go index 784ee666..ae2da6b9 100644 --- a/versionmanager/retriever/tofu/dl/tofudl.go +++ b/versionmanager/retriever/tofu/dl/tofudl.go @@ -22,7 +22,7 @@ import ( "strings" "text/template" - "github.com/tofuutils/tenv/v3/pkg/apimsg" + "github.com/tofuutils/tenv/v4/pkg/apimsg" ) type artifactDesc struct { diff --git a/versionmanager/retriever/tofu/tofuretriever.go b/versionmanager/retriever/tofu/tofuretriever.go index 96831796..1c85fbba 100644 --- a/versionmanager/retriever/tofu/tofuretriever.go +++ b/versionmanager/retriever/tofu/tofuretriever.go @@ -29,19 +29,19 @@ import ( "github.com/hashicorp/go-hclog" "github.com/hashicorp/go-version" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/apimsg" - cosigncheck "github.com/tofuutils/tenv/v3/pkg/check/cosign" - pgpcheck "github.com/tofuutils/tenv/v3/pkg/check/pgp" - sha256check "github.com/tofuutils/tenv/v3/pkg/check/sha256" - "github.com/tofuutils/tenv/v3/pkg/download" - "github.com/tofuutils/tenv/v3/pkg/github" - "github.com/tofuutils/tenv/v3/pkg/pathfilter" - "github.com/tofuutils/tenv/v3/pkg/winbin" - "github.com/tofuutils/tenv/v3/pkg/zip" - htmlretriever "github.com/tofuutils/tenv/v3/versionmanager/retriever/html" - tofudlmirroring "github.com/tofuutils/tenv/v3/versionmanager/retriever/tofu/dl" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/apimsg" + cosigncheck "github.com/tofuutils/tenv/v4/pkg/check/cosign" + pgpcheck "github.com/tofuutils/tenv/v4/pkg/check/pgp" + sha256check "github.com/tofuutils/tenv/v4/pkg/check/sha256" + "github.com/tofuutils/tenv/v4/pkg/download" + "github.com/tofuutils/tenv/v4/pkg/github" + "github.com/tofuutils/tenv/v4/pkg/pathfilter" + "github.com/tofuutils/tenv/v4/pkg/winbin" + "github.com/tofuutils/tenv/v4/pkg/zip" + htmlretriever "github.com/tofuutils/tenv/v4/versionmanager/retriever/html" + tofudlmirroring "github.com/tofuutils/tenv/v4/versionmanager/retriever/tofu/dl" ) const ( diff --git a/versionmanager/semantic/finder/finder_test.go b/versionmanager/semantic/finder/finder_test.go index 1a87baf1..70e6ebcc 100644 --- a/versionmanager/semantic/finder/finder_test.go +++ b/versionmanager/semantic/finder/finder_test.go @@ -21,7 +21,7 @@ package versionfinder_test import ( "testing" - versionfinder "github.com/tofuutils/tenv/v3/versionmanager/semantic/finder" + versionfinder "github.com/tofuutils/tenv/v4/versionmanager/semantic/finder" ) func TestFindVersionAlphaSlash(t *testing.T) { diff --git a/versionmanager/semantic/parser/asdf/asdfparser.go b/versionmanager/semantic/parser/asdf/asdfparser.go index 016ded37..280f7347 100644 --- a/versionmanager/semantic/parser/asdf/asdfparser.go +++ b/versionmanager/semantic/parser/asdf/asdfparser.go @@ -27,10 +27,10 @@ import ( "strings" "github.com/hashicorp/go-hclog" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) const ToolFileName = ".tool-versions" diff --git a/versionmanager/semantic/parser/asdf/asdfparser_test.go b/versionmanager/semantic/parser/asdf/asdfparser_test.go index f07901c8..bddee9dd 100644 --- a/versionmanager/semantic/parser/asdf/asdfparser_test.go +++ b/versionmanager/semantic/parser/asdf/asdfparser_test.go @@ -23,7 +23,7 @@ import ( _ "embed" "testing" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) //go:embed testdata/.tool-versions diff --git a/versionmanager/semantic/parser/flat/flatparser.go b/versionmanager/semantic/parser/flat/flatparser.go index 346cb065..a61472ef 100644 --- a/versionmanager/semantic/parser/flat/flatparser.go +++ b/versionmanager/semantic/parser/flat/flatparser.go @@ -24,9 +24,9 @@ import ( "io/fs" "os" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) func NoMsg(_ loghelper.Displayer, value string, _ string) string { diff --git a/versionmanager/semantic/parser/iac/iacparser.go b/versionmanager/semantic/parser/iac/iacparser.go index 17b785ab..3c4119bb 100644 --- a/versionmanager/semantic/parser/iac/iacparser.go +++ b/versionmanager/semantic/parser/iac/iacparser.go @@ -28,9 +28,9 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/convert" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) const requiredVersionName = "required_version" diff --git a/versionmanager/semantic/parser/terragrunt/gruntparser.go b/versionmanager/semantic/parser/terragrunt/gruntparser.go index f4c46d44..6d299721 100644 --- a/versionmanager/semantic/parser/terragrunt/gruntparser.go +++ b/versionmanager/semantic/parser/terragrunt/gruntparser.go @@ -29,9 +29,9 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/convert" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) const ( diff --git a/versionmanager/semantic/parser/toml/tomlparser.go b/versionmanager/semantic/parser/toml/tomlparser.go index d5aed6f8..eca89d6a 100644 --- a/versionmanager/semantic/parser/toml/tomlparser.go +++ b/versionmanager/semantic/parser/toml/tomlparser.go @@ -25,9 +25,9 @@ import ( "github.com/BurntSushi/toml" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) const versionName = "version" diff --git a/versionmanager/semantic/semantic.go b/versionmanager/semantic/semantic.go index 9554d82a..b99716ba 100644 --- a/versionmanager/semantic/semantic.go +++ b/versionmanager/semantic/semantic.go @@ -25,10 +25,10 @@ import ( "github.com/hashicorp/go-hclog" "github.com/hashicorp/go-version" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - iacparser "github.com/tofuutils/tenv/v3/versionmanager/semantic/parser/iac" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + iacparser "github.com/tofuutils/tenv/v4/versionmanager/semantic/parser/iac" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) const ( diff --git a/versionmanager/semantic/semantic_test.go b/versionmanager/semantic/semantic_test.go index e54e15d9..d820af0f 100644 --- a/versionmanager/semantic/semantic_test.go +++ b/versionmanager/semantic/semantic_test.go @@ -22,7 +22,7 @@ import ( "slices" "testing" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" ) func TestCmpVersion(t *testing.T) { diff --git a/versionmanager/semantic/types/types.go b/versionmanager/semantic/types/types.go index 132b8886..1a94631d 100644 --- a/versionmanager/semantic/types/types.go +++ b/versionmanager/semantic/types/types.go @@ -19,8 +19,8 @@ package types import ( - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/loghelper" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/loghelper" ) type ConstraintInfo interface { diff --git a/versionmanager/semantic/uninstall.go b/versionmanager/semantic/uninstall.go index 240028c1..5a5c4d3f 100644 --- a/versionmanager/semantic/uninstall.go +++ b/versionmanager/semantic/uninstall.go @@ -27,8 +27,8 @@ import ( "github.com/hashicorp/go-version" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager/lastuse" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager/lastuse" ) const ( diff --git a/versionmanager/semantic/walker.go b/versionmanager/semantic/walker.go index 0362b104..f404f166 100644 --- a/versionmanager/semantic/walker.go +++ b/versionmanager/semantic/walker.go @@ -21,8 +21,8 @@ package semantic import ( "path/filepath" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/versionmanager/semantic/types" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/versionmanager/semantic/types" ) func RetrieveVersion(versionFiles []types.VersionFile, conf *config.Config) (string, error) { diff --git a/versionmanager/tenvlib/examples/dtofuver/ex1.go b/versionmanager/tenvlib/examples/dtofuver/ex1.go index 368a8bd0..73da4418 100644 --- a/versionmanager/tenvlib/examples/dtofuver/ex1.go +++ b/versionmanager/tenvlib/examples/dtofuver/ex1.go @@ -22,8 +22,8 @@ import ( "context" "fmt" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/versionmanager/tenvlib" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/versionmanager/tenvlib" ) func main() { diff --git a/versionmanager/tenvlib/examples/ltfver/ex2.go b/versionmanager/tenvlib/examples/ltfver/ex2.go index ccbd0b85..f5d52cfa 100644 --- a/versionmanager/tenvlib/examples/ltfver/ex2.go +++ b/versionmanager/tenvlib/examples/ltfver/ex2.go @@ -22,10 +22,10 @@ import ( "context" "fmt" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/config/cmdconst" - "github.com/tofuutils/tenv/v3/versionmanager/semantic" - "github.com/tofuutils/tenv/v3/versionmanager/tenvlib" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/config/cmdconst" + "github.com/tofuutils/tenv/v4/versionmanager/semantic" + "github.com/tofuutils/tenv/v4/versionmanager/tenvlib" ) func main() { diff --git a/versionmanager/tenvlib/lib.go b/versionmanager/tenvlib/lib.go index fa4cc904..82438f7f 100644 --- a/versionmanager/tenvlib/lib.go +++ b/versionmanager/tenvlib/lib.go @@ -25,12 +25,12 @@ import ( "github.com/hashicorp/hcl/v2/hclparse" - "github.com/tofuutils/tenv/v3/config" - "github.com/tofuutils/tenv/v3/pkg/cmdproxy" - "github.com/tofuutils/tenv/v3/pkg/loghelper" - "github.com/tofuutils/tenv/v3/versionmanager" - "github.com/tofuutils/tenv/v3/versionmanager/builder" - "github.com/tofuutils/tenv/v3/versionmanager/proxy" + "github.com/tofuutils/tenv/v4/config" + "github.com/tofuutils/tenv/v4/pkg/cmdproxy" + "github.com/tofuutils/tenv/v4/pkg/loghelper" + "github.com/tofuutils/tenv/v4/versionmanager" + "github.com/tofuutils/tenv/v4/versionmanager/builder" + "github.com/tofuutils/tenv/v4/versionmanager/proxy" ) var errNoBuilder = errors.New("no builder for this tool")