Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/hashicorp/go-getter to v2 #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/vela-github-release/gh.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"runtime"
"strings"

getter "github.com/hashicorp/go-getter"
getter "github.com/hashicorp/go-getter/v2"
"github.com/sirupsen/logrus"
"github.com/spf13/afero"
)
Expand Down Expand Up @@ -46,7 +46,7 @@

logrus.Infof("downloading gh version from: %s", url)
// send the HTTP request to install gh
err = getter.Get(_ghTmp, url, []getter.ClientOption{}...)

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / test

cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / test

assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / test

undefined: getter.ClientOption

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / build

cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / build

assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / build

undefined: getter.ClientOption

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / diff-review

cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / diff-review

assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / diff-review

undefined: getter.ClientOption (typecheck)

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / build

cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / build

assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / build

undefined: getter.ClientOption

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / test

cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / test

assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / test

undefined: getter.ClientOption

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / full-review

cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / full-review

assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / full-review

undefined: getter.ClientOption (typecheck)

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / golangci

[golangci] cmd/vela-github-release/gh.go#L49

cannot use ... in call to non-variadic getter.Get
Raw output
cmd/vela-github-release/gh.go:49:8: cannot use ... in call to non-variadic getter.Get

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / golangci

[golangci] cmd/vela-github-release/gh.go#L49

assignment mismatch: 1 variable but getter.Get returns 2 values
Raw output
cmd/vela-github-release/gh.go:49:8: assignment mismatch: 1 variable but getter.Get returns 2 values

Check failure on line 49 in cmd/vela-github-release/gh.go

View workflow job for this annotation

GitHub Actions / golangci

[golangci] cmd/vela-github-release/gh.go#L49

undefined: getter.ClientOption (typecheck)
Raw output
cmd/vela-github-release/gh.go:49:41: undefined: getter.ClientOption (typecheck)
// SPDX-License-Identifier: Apache-2.0
if err != nil {
return err
}
Expand Down
32 changes: 4 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,28 @@ go 1.23.0
require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/go-vela/types v0.24.0
github.com/hashicorp/go-getter v1.7.6
github.com/hashicorp/go-getter/v2 v2.2.3
github.com/joho/godotenv v1.5.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/afero v1.11.0
github.com/urfave/cli/v2 v2.27.4
)

require (
cloud.google.com/go v0.110.10 // indirect
cloud.google.com/go/compute v1.23.3 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/storage v1.35.1 // indirect
github.com/aws/aws-sdk-go v1.44.122 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.0 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/stretchr/testify v1.8.1 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.15.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.152.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
)
Loading
Loading