-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Dependency issue #1791
Comments
Interesting, visiting https://pkg.go.dev/github.com/btcsuite/btcd , but the project name is "bchd" (bchd is an alternative full node bitcoin cash implementation written in Go (golang). |
Do you know if that page is auto generated or something? Because that definitely is not right. |
I don't offhand see a place to request a correction. |
AFAIK, it is auto generated when the first guy pulls ( |
Weird, |
If you click the version and select our latest version it shows up: https://pkg.go.dev/github.com/btcsuite/btcd@v0.22.0-beta Maybe the issue was the |
Actually, if you switch to tag I think that |
This comment has been minimized.
This comment has been minimized.
Oh, I think I know what may have happened. Is it possible a btcd maintainer had a git workspace that had a bchd |
The module proxy feed at index.golang.org does seem to confirm that all the bchd tags were pushed to the btcd repository on Jan 11, 2022. https://index.golang.org/index?since=2022-01-11T03:33:21.831209Z&limit=300 {"Path":"github.com/btcsuite/btcd","Version":"v0.18.1","Timestamp":"2022-01-11T03:33:21.831209Z"}
...
{"Path":"github.com/btcsuite/btcd","Version":"v0.15.0","Timestamp":"2022-01-11T03:34:34.17333Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.6","Timestamp":"2022-01-11T03:34:34.265464Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.16.3","Timestamp":"2022-01-11T03:34:34.385764Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.16.4","Timestamp":"2022-01-11T03:34:34.617725Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.4","Timestamp":"2022-01-11T03:34:37.052558Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.16.5","Timestamp":"2022-01-11T03:34:38.846891Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.7","Timestamp":"2022-01-11T03:34:39.083168Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.2","Timestamp":"2022-01-11T03:34:39.249363Z"}
...
{"Path":"github.com/btcsuite/btcd","Version":"v0.17.1","Timestamp":"2022-01-11T03:34:43.761289Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.15.2","Timestamp":"2022-01-11T03:34:43.817043Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.1","Timestamp":"2022-01-11T03:34:43.979998Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.0","Timestamp":"2022-01-11T03:34:47.38878Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.18.0","Timestamp":"2022-01-11T03:34:48.080115Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.15.1","Timestamp":"2022-01-11T03:34:49.292897Z"}
{"Path":"github.com/hykuan/google-photos-api-client-go/v2","Version":"v2.2.0","Timestamp":"2022-01-11T03:34:51.55728Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.5","Timestamp":"2022-01-11T03:34:52.362006Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.16.2","Timestamp":"2022-01-11T03:34:52.746808Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.16.1","Timestamp":"2022-01-11T03:34:52.78377Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.14.3","Timestamp":"2022-01-11T03:34:54.696364Z"}
{"Path":"github.com/btcsuite/btcd","Version":"v0.17.0","Timestamp":"2022-01-11T03:34:56.895847Z"}
...
{"Path":"github.com/btcsuite/btcd","Version":"v0.16.0","Timestamp":"2022-01-11T03:35:02.196516Z"}
...
{"Path":"github.com/btcsuite/btcd","Version":"v0.22.0-beta.0.20220111032746-97732e52810c","Timestamp":"2022-01-11T03:36:13.701485Z"}
...
{"Path":"github.com/btcsuite/btcd/btcutil","Version":"v1.0.0","Timestamp":"2022-01-11T04:04:57.17875Z"} Since the module sumdb has these recorded in it's transparent log (e.g. https://sum.golang.org/lookup/github.com/btcsuite/btcd@v0.18.1 and https://proxy.golang.org/github.com/btcsuite/btcd/@v/list), I think the only recourse for btcd is to put |
Thanks for digging into this! Yeah I think this is our best option. |
Check out this PR: #1805 |
Should be resolved by: #1805 I think we just need to push a new tag, and the modules proxy will stop serving those old bogus tags? |
I got this problem recently and agree with @Roasbeef to release a new tag |
When doing a dependency update on one of my project where your
btcd
module is one of my indirect dependency, I face the following error trace:My fix so far is to use the following trick (but it's not a good idea in the long run IMO):
The text was updated successfully, but these errors were encountered: