Open pawelrosada opened 2 years ago
A fix on this would be much appreciated. The README has to be fixed too, to point to https://github.com/keilerkonzept instead of https://github.com/sgreben and to use go install
instead of go get -u
(or may need both: one for go < 1.17 and another for g >= 1.17).
@schollii MR waiting for accept and merge, for now I used version from https://github.com/keilerkonzept/terraform-module-versions/pull/90 and works fine
@keilerkonzept Is this project still maintained?
After PR https://github.com/keilerkonzept/terraform-module-versions/pull/87 was merged this build to release 3.1.14 failed to upload release packages
https://github.com/keilerkonzept/terraform-module-versions/actions/runs/2806618579
We can see releases for previous versions but not for 3.1.14
For now, I would install 3.1.13
go install github.com/keilerkonzept/terraform-module-versions@3.1.13
There is also a new fork of this code that maybe more actively maintained.
I tried installing 3.1.13 as suggested and still got the ambiguous import error.
Maybe try an earlier version
$ go version
go version go1.18
$ go install github.com/keilerkonzept/terraform-module-versions@3.1.11
$ which terraform-module-versions
/Users/user/go/bin/terraform-module-versions
This is the build issue in all the recent builds
go: finding github.com/xanzy/ssh-agent v0.3.0
build github.com/keilerkonzept/terraform-module-versions: cannot load cloud.google.com/go/compute/metadata: ambiguous import: found cloud.google.com/go/compute/metadata in multiple modules:
cloud.google.com/go v0.74.0 (/go/pkg/mod/cloud.google.com/go@v0.74.0/compute/metadata)
cloud.google.com/go/compute/metadata v0.2.0 (/go/pkg/mod/cloud.google.com/go/compute/metadata@v0.2.0)
Seems like this issue also causes missing artifacts #92
@sgreben when you have time could you please review pr #90
Despite the installation method not being mentioned in the current README.md
, I've tried it and it's failing with
$ go install github.com/keilerkonzept/terraform-module-versions@latest
...
go: github.com/keilerkonzept/terraform-module-versions imports
github.com/keilerkonzept/terraform-module-versions/pkg/update imports
github.com/keilerkonzept/terraform-module-versions/pkg/versions imports
github.com/go-git/go-git/v5 imports
github.com/imdario/mergo: github.com/imdario/mergo@v1.0.0: parsing go.mod:
module declares its path as: dario.cat/mergo
but was required as: github.com/imdario/mergo
p.s. Is this project still maintained?
Hi all. Sorry about the eternal delays here. I've been rather swamped for a good long while, with barely any cycles to spend on github projects, and I'm just catching up now.
Today the project status is indeed, gotta be honest here, "unmaintained". I'll try to change this within this+next month.
Thanks and kudos to @nitrocode for the thoughtful changes, and keeping the functionality alive on your tfvc
fork! I'll ping you once things are happening here again to check if there's anything that should be merged from/into it.
Hi @sgreben, happy to see you're back. I cannot take credit for tfvc. Just happened to find it when searching for an alternative.
You may want to ping @ryan-jan 😄
lol, oops! Sorry @ryan-jan, and thanks @nitrocode 😅 I meant to thank the author there of course. So -this time correctly addressed- thanks & kudos for tfvc
to @ryan-jan instead 👏
I have problem installing go module from today morning.
What I use: Docker:
golang:latest
I test too on:
go version go version go1.19 darwin/arm64
Same error everywhere:
Error:
Any idea how to solve problem?