Go get k8s.io/helm/pkg/helm meet ERROR "github.com/Sirupsen/logrus@v1.4.0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus""
I want to build a Golang project with helm, but when I try to get helm package, I got following error:
go: github.com/Sirupsen/logrus@....0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus"I google it and try to use "replace github.com/Sirupsen/logrus v1.4.0 => github.com/sirupsen/logrus v1.4.0" making package redirect to "sirupsen/logrus@....0". This problem solved but others following behind. I got a lot different errors when get other dependencies.
So I want to know if helm package still be maintained. Thanks in advance :)
As far as we know, dep has a *lot* of issues when it comes to dependency resolution. Helm 2 uses glide, but Helm 3 uses dep. Both are being planned for deprecation (with the former being officially deprecated), but they’re still stable workhorses and will work in a production scenario. I’d suggest trying an alternative package manager entirely. `go mod` is still very early and is why we haven’t migrated over because of issues like this.
Matt
From: <cncf-helm@...> on behalf of "soolaugust via Lists.Cncf.Io" <soolaugust=gmail.com@...>
Reply-To: "soolaugust@..." <soolaugust@...>
Date: Monday, April 1, 2019 at 5:52 PM
To: "cncf-helm@..." <cncf-helm@...>
Cc: "cncf-helm@..." <cncf-helm@...>
Subject: [cncf-helm] Go get k8s.io/helm/pkg/helm meet ERROR "github.com/Sirupsen/logrus@....0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus""
Hi all,
I want to build a Golang project with helm, but when I try to get helm package, I got following error:
go: github.com/Sirupsen/logrus@....0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus"
I google it and try to use "replace github.com/Sirupsen/logrus v1.4.0 => github.com/sirupsen/logrus v1.4.0" making package redirect to "sirupsen/logrus@....0". This problem solved but others following behind. I got a lot different errors
when get other dependencies.
So I want to know if helm package still be maintained. Thanks in advance :)
Sorry, first sentence meant to say `go mod` not dep.
From: Matthew Fisher <Matt.Fisher@...>
Date: Tuesday, April 16, 2019 at 7:57 AM
To: "soolaugust@..." <soolaugust@...>, "cncf-helm@..." <cncf-helm@...>
Subject: Re: [cncf-helm] Go get k8s.io/helm/pkg/helm meet ERROR "github.com/Sirupsen/logrus@....0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus""
As far as we know, dep has a *lot* of issues when it comes to dependency resolution. Helm 2 uses glide, but Helm 3 uses dep. Both are being planned for deprecation (with the former being officially deprecated), but they’re still stable workhorses and will work in a production scenario. I’d suggest trying an alternative package manager entirely. `go mod` is still very early and is why we haven’t migrated over because of issues like this.
Matt
From: <cncf-helm@...> on behalf of "soolaugust via Lists.Cncf.Io" <soolaugust=gmail.com@...>
Reply-To: "soolaugust@..." <soolaugust@...>
Date: Monday, April 1, 2019 at 5:52 PM
To: "cncf-helm@..." <cncf-helm@...>
Cc: "cncf-helm@..." <cncf-helm@...>
Subject: [cncf-helm] Go get k8s.io/helm/pkg/helm meet ERROR "github.com/Sirupsen/logrus@....0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus""
Hi all,
I want to build a Golang project with helm, but when I try to get helm package, I got following error:
go: github.com/Sirupsen/logrus@....0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus"
I google it and try to use "replace github.com/Sirupsen/logrus v1.4.0 => github.com/sirupsen/logrus v1.4.0" making package redirect to "sirupsen/logrus@....0". This problem solved but others following behind. I got a lot different errors
when get other dependencies.
So I want to know if helm package still be maintained. Thanks in advance :)