diff --git a/.goreleaser.yml b/.goreleaser.yml index 302fd63..4c20731 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -33,9 +33,9 @@ snapshot: name_template: '{{ .Tag }}-next' brews: - name: goenv - homepage: 'https://github.com/Spacewalkio/homebrew-tools' + homepage: 'https://github.com/Clevenio/homebrew-tools' tap: - owner: Spacewalkio + owner: Clevenio name: homebrew-tools token: "{{ .Env.TAP_GITHUB_TOKEN }}" commit_author: diff --git a/README.md b/README.md index f7b6cbe..5ea35b4 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@

- Goenv Logo + Goenv Logo

Goenv

Manage Your Applications Go Environment

- - + + - - + + - - + + - - + + - +

@@ -32,23 +32,23 @@ Goenv helps you to work with multiple `golang` versions at the same time whether ## Usage -Download [the latest `goenv` binary](https://github.com/spacewalkio/Goenv/releases). Make it executable from everywhere. +Download [the latest `goenv` binary](https://github.com/clevenio/Goenv/releases). Make it executable from everywhere. ```zsh -$ export GOENV_LATEST_VERSION=$(curl --silent "https://api.github.com/repos/spacewalkio/Goenv/releases/latest" | jq '.tag_name' | sed -E 's/.*"([^"]+)".*/\1/' | tr -d v) +$ export GOENV_LATEST_VERSION=$(curl --silent "https://api.github.com/repos/clevenio/Goenv/releases/latest" | jq '.tag_name' | sed -E 's/.*"([^"]+)".*/\1/' | tr -d v) # For Linux -$ curl -sL https://github.com/spacewalkio/Goenv/releases/download/v{$GOENV_LATEST_VERSION}/goenv_{$GOENV_LATEST_VERSION}_Linux_x86_64.tar.gz | tar xz +$ curl -sL https://github.com/clevenio/Goenv/releases/download/v{$GOENV_LATEST_VERSION}/goenv_{$GOENV_LATEST_VERSION}_Linux_x86_64.tar.gz | tar xz # For Mac -$ curl -sL https://github.com/spacewalkio/Goenv/releases/download/v{$GOENV_LATEST_VERSION}/goenv_{$GOENV_LATEST_VERSION}_Darwin_x86_64.tar.gz | tar xz +$ curl -sL https://github.com/clevenio/Goenv/releases/download/v{$GOENV_LATEST_VERSION}/goenv_{$GOENV_LATEST_VERSION}_Darwin_x86_64.tar.gz | tar xz ``` Or install with homebrew ```zsh -$ brew tap spacewalkio/tools -$ brew install spacewalkio/tools/goenv +$ brew tap clevenio/tools +$ brew install clevenio/tools/goenv ``` Configure the goenv using the following command @@ -106,7 +106,7 @@ $ goenv --help 🐺 Manage Your Applications Go Environment. If you have any suggestions, bug reports, or annoyances please report -them to our issue tracker at +them to our issue tracker at Usage: goenv [command] @@ -177,12 +177,12 @@ When you execute a shim, `goenv` determines which Go version to use by reading i For transparency into our release cycle and in striving to maintain backward compatibility, Goenv is maintained under the [Semantic Versioning guidelines](https://semver.org/) and release process is predictable and business-friendly. -See the [Releases section of our GitHub project](https://github.com/spacewalkio/goenv/releases) for changelogs for each release version of Goenv. It contains summaries of the most noteworthy changes made in each release. Also see the [Milestones section](https://github.com/spacewalkio/goenv/milestones) for the future roadmap. +See the [Releases section of our GitHub project](https://github.com/clevenio/goenv/releases) for changelogs for each release version of Goenv. It contains summaries of the most noteworthy changes made in each release. Also see the [Milestones section](https://github.com/clevenio/goenv/milestones) for the future roadmap. ## Bug tracker -If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/spacewalkio/goenv/issues +If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/clevenio/goenv/issues ## Security Issues diff --git a/bin/release b/bin/release index d950525..df50af8 100755 --- a/bin/release +++ b/bin/release @@ -1,7 +1,7 @@ #!/bin/bash # Fetch latest version -export LATEST_VERSION=$(curl --silent "https://api.github.com/repos/spacewalkio/goenv/releases/latest" | jq '.tag_name' | sed -E 's/.*"([^"]+)".*/\1/') +export LATEST_VERSION=$(curl --silent "https://api.github.com/repos/clevenio/goenv/releases/latest" | jq '.tag_name' | sed -E 's/.*"([^"]+)".*/\1/') # Update go checksum database (sum.golang.org) immediately after release -curl --silent https://sum.golang.org/lookup/github.com/spacewalkio/goenv@{$LATEST_VERSION} +curl --silent https://sum.golang.org/lookup/github.com/clevenio/goenv@{$LATEST_VERSION} diff --git a/cmd/config.go b/cmd/config.go index a85a581..3cbda9b 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/exec.go b/cmd/exec.go index f273f09..fc6eb3e 100644 --- a/cmd/exec.go +++ b/cmd/exec.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/global.go b/cmd/global.go index 8069fa8..36e518b 100644 --- a/cmd/global.go +++ b/cmd/global.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/init.go b/cmd/init.go index 942afd2..7491cff 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -7,7 +7,7 @@ package cmd import ( "fmt" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/install.go b/cmd/install.go index 8be813e..103c7c9 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/local.go b/cmd/local.go index e008afb..6adc3ac 100644 --- a/cmd/local.go +++ b/cmd/local.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/rehash.go b/cmd/rehash.go index 6f07998..428569c 100644 --- a/cmd/rehash.go +++ b/cmd/rehash.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index d964fc9..c191a6c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -18,7 +18,7 @@ var rootCmd = &cobra.Command{ Short: `🐺 Manage Your Applications Go Environment. If you have any suggestions, bug reports, or annoyances please report -them to our issue tracker at `, +them to our issue tracker at `, } // Execute runs cmd tool diff --git a/cmd/satisfy.go b/cmd/satisfy.go index d19552b..d4c280b 100644 --- a/cmd/satisfy.go +++ b/cmd/satisfy.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/uninstall.go b/cmd/uninstall.go index ab4e14c..a8fb645 100644 --- a/cmd/uninstall.go +++ b/cmd/uninstall.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/version.go b/cmd/version.go index bd69da7..61688a8 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/cmd/versions.go b/cmd/versions.go index 03c6cfe..9a8dba7 100644 --- a/cmd/versions.go +++ b/cmd/versions.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/spacewalkio/goenv/core/module" + "github.com/clevenio/goenv/core/module" "github.com/spf13/cobra" ) diff --git a/core/module/charm_select.go b/core/module/charm_select.go index c4993d7..81b413e 100644 --- a/core/module/charm_select.go +++ b/core/module/charm_select.go @@ -17,7 +17,7 @@ import ( // // ``` // import ( -// "github.com/spacewalkio/goenv/core/module" +// "github.com/clevenio/goenv/core/module" // ) // // diff --git a/core/module/charm_spinner.go b/core/module/charm_spinner.go index 2946681..998642d 100644 --- a/core/module/charm_spinner.go +++ b/core/module/charm_spinner.go @@ -16,7 +16,7 @@ import ( // // ``` // import ( -// "github.com/spacewalkio/goenv/core/module" +// "github.com/clevenio/goenv/core/module" // ) // // diff --git a/core/module/golang.go b/core/module/golang.go index 2896b02..7ed871d 100644 --- a/core/module/golang.go +++ b/core/module/golang.go @@ -10,8 +10,8 @@ import ( "path/filepath" "strings" - "github.com/spacewalkio/goenv/core/service" - "github.com/spacewalkio/goenv/core/util" + "github.com/clevenio/goenv/core/service" + "github.com/clevenio/goenv/core/util" ) // Golang type diff --git a/core/module/golang_test.go b/core/module/golang_test.go index 5baa5c0..86f1f1d 100644 --- a/core/module/golang_test.go +++ b/core/module/golang_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/spacewalkio/goenv/pkg" + "github.com/clevenio/goenv/pkg" "github.com/franela/goblin" ) diff --git a/core/service/file_system_test.go b/core/service/file_system_test.go index cc6d8ec..2d61fd0 100644 --- a/core/service/file_system_test.go +++ b/core/service/file_system_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/spacewalkio/goenv/pkg" + "github.com/clevenio/goenv/pkg" "github.com/franela/goblin" ) diff --git a/core/service/installer_test.go b/core/service/installer_test.go index bfcfef5..04efacb 100644 --- a/core/service/installer_test.go +++ b/core/service/installer_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/spacewalkio/goenv/pkg" + "github.com/clevenio/goenv/pkg" "github.com/franela/goblin" ) diff --git a/go.mod b/go.mod index c280aab..a038e89 100644 --- a/go.mod +++ b/go.mod @@ -1,18 +1,18 @@ -module github.com/spacewalkio/goenv +module github.com/clevenio/goenv go 1.19 require ( github.com/charmbracelet/bubbles v0.15.0 github.com/charmbracelet/bubbletea v0.23.2 - github.com/charmbracelet/lipgloss v0.6.0 + github.com/charmbracelet/lipgloss v0.7.1 github.com/franela/goblin v0.0.0-20211003143422-0a4f594942bf github.com/spf13/cobra v1.7.0 ) require ( github.com/atotto/clipboard v0.1.4 // indirect - github.com/aymanbagabas/go-osc52 v1.2.1 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/containerd/console v1.0.3 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect @@ -22,12 +22,12 @@ require ( github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect - github.com/muesli/termenv v0.14.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect github.com/rivo/uniseg v0.2.0 // indirect github.com/sahilm/fuzzy v0.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect + golang.org/x/sys v0.6.0 // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect golang.org/x/text v0.3.7 // indirect ) diff --git a/go.sum b/go.sum index c74954d..041e78e 100644 --- a/go.sum +++ b/go.sum @@ -1,16 +1,18 @@ github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aymanbagabas/go-osc52 v1.0.3/go.mod h1:zT8H+Rk4VSabYN90pWyugflM3ZhpTZNC7cASDfUCdT4= -github.com/aymanbagabas/go-osc52 v1.2.1 h1:q2sWUyDcozPLcLabEMd+a+7Ea2DitxZVN9hTxab9L4E= github.com/aymanbagabas/go-osc52 v1.2.1/go.mod h1:zT8H+Rk4VSabYN90pWyugflM3ZhpTZNC7cASDfUCdT4= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/charmbracelet/bubbles v0.15.0 h1:c5vZ3woHV5W2b8YZI1q7v4ZNQaPetfHuoHzx+56Z6TI= github.com/charmbracelet/bubbles v0.15.0/go.mod h1:Y7gSFbBzlMpUDR/XM9MhZI374Q+1p1kluf1uLl8iK74= github.com/charmbracelet/bubbletea v0.23.1/go.mod h1:JAfGK/3/pPKHTnAS8JIE2u9f61BjWTQY57RbT25aMXU= github.com/charmbracelet/bubbletea v0.23.2 h1:vuUJ9HJ7b/COy4I30e8xDVQ+VRDUEFykIjryPfgsdps= github.com/charmbracelet/bubbletea v0.23.2/go.mod h1:FaP3WUivcTM0xOKNmhciz60M6I+weYLF76mr1JyI7sM= github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao= -github.com/charmbracelet/lipgloss v0.6.0 h1:1StyZB9vBSOyuZxQUcUwGr17JmojPNm87inij9N3wJY= github.com/charmbracelet/lipgloss v0.6.0/go.mod h1:tHh2wr34xcHjC2HCXIlGSG1jaDF0S0atAUvBMP6Ppuk= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARubLw= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -42,8 +44,9 @@ github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= github.com/muesli/termenv v0.11.1-0.20220204035834-5ac8409525e0/go.mod h1:Bd5NYQ7pd+SrtBSrSNoBBmXlcY8+Xj4BMJgh8qcZrvs= github.com/muesli/termenv v0.13.0/go.mod h1:sP1+uffeLaEYpyOTb8pLCUctGcGLnoFjSn4YJK5e2bc= -github.com/muesli/termenv v0.14.0 h1:8x9NFfOe8lmIWK4pgy3IfVEy47f+ppe3tUqdPZG2Uy0= github.com/muesli/termenv v0.14.0/go.mod h1:kG/pF1E7fh949Xhe156crRUrHNyK221IuGO7Ez60Uc8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -60,8 +63,9 @@ golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab h1:2QkjZIsXupsJbJIdSjjUOgWK3aEtzyuh2mPt3l/CkeU= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= diff --git a/goenv.go b/goenv.go index 980041d..6693403 100644 --- a/goenv.go +++ b/goenv.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/spacewalkio/goenv/cmd" + "github.com/clevenio/goenv/cmd" ) var (