-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Go build broken, missing tag v2.0.0-rc.2 #886
Comments
In ipfs-cluster master branch, go.mod has, |
@jin-tron Looks like we've tagged the release incorrectly. I see tag https://github.com/ipfs/ipfs-cluster.git will have to be updated anyway. |
Thank you for your quick response! |
Possibly an old tag was deleted? I have the v2.0.0-rc.2 revision locally but AFAIK no way to tell which commit it belongs to. I think between 1.5.3 and 1.5.4 though. |
Huu, I don't want to be annoying beyond measure, but it seems that the last stable version of |
The branch that had the tag got deleted. This means that our builds are broken. Master of go-ipfs should be fixed soon (see ipfs/kubo#6461). |
Hi there and sorry for the inconvenience! I was the person that deleted that tag since didn't make any sense (we had not release v2.0.0-rc1 so it was kind of weird that we had a tag for rc2!). I already pushed the tag back on pointing to v2.0.0-rc1 and I will keep it there for now. Out of curiosity, how did you end up using that tag, @jin-tron? Thanks for the report, and again sorry for breaking the build! Also, please let me know if pushing that tag again fixed your build, @jin-tron! |
Looks tag has been added back and the ipfs-cluster build fixed. |
I think Go mods is not bad, but that tag should have never existed in the first place. |
I agree that the tag shouldn't have existed. I think what has happened is go modules picked it up as the newest version when we were updating I think it will still cause failed builds on our side but we already resolved these by releasing |
As of now, the stable (that is, frozen) version of
Any chance you would restore the tag to the exact commit ? You might be able to retrieve the hash with |
I was able to find the tag in my own repo: https://github.com/Kubuxu/badger/releases/tag/v2.0-rc1 As you can see it is signed. |
I'm still experiencing this issue.
Running |
Try running proxy.golang.org which will be default in 1.13, contains original source code for the tag that was removed and then re-added. Unfortunately, when the tag was readded it was updated to latest/master which is not compatible with the code that was there before. |
@Kubuxu The proxy seems to have resolved the issue for me. Many thanks! |
See dgraph-io/badger#886 (comment) for more context.
As suggested in dgraph-io/badger#886 (comment)
Broken currently here: go: finding github.com/zippoxer/bow latest go: github.com/dgraph-io/badger@v2.0.0-rc.2+incompatible: go.mod has post-v2 module path "github.com/dgraph-io/badger/v2" at revision v2.0.0-rc.2 go: error loading module requirements Which seems to be related to dgraph-io/badger#886 There's also a recent upstream API change in dgraph-io/badger#874 that requires additional changes.
Broken currently here: go: finding github.com/zippoxer/bow latest go: github.com/dgraph-io/badger@v2.0.0-rc.2+incompatible: go.mod has post-v2 module path "github.com/dgraph-io/badger/v2" at revision v2.0.0-rc.2 go: error loading module requirements Which seems to be related to dgraph-io/badger#886 There's also a recent upstream API change in dgraph-io/badger#874 that requires additional changes.
What version of Go are you using (
go version
)?What version of Badger are you using?
v2.0.0-rc.2
Does this issue reproduce with the latest master?
yes
What are the hardware specifications of the machine (RAM, OS, Disk)?
AWS EC2, x86_64 GNU/Linux
What did you do?
Install ipfs cluster,
git clone https://github.com/ipfs/ipfs-cluster.git
export GO111MODULE=on # optional, if checking out the repository in $GOPATH.
go install ./cmd/ipfs-cluster-service
What did you expect to see?
go install command complete. I did same installation 3 hours ago with no this dependency error.
What did you see instead?
go: github.com/dgraph-io/badger@v2.0.0-rc.2+incompatible: unknown revision v2.0.0-rc.2
Would it be a tag issue in recent a few hours?
Thank you!
The text was updated successfully, but these errors were encountered: