You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the checksum from the code in github does not match the checksum saved in sum.golang.org. The v2.0.0 tag of github.com/opensearch-project/opensearch-go might have been retagged after a minor edition on github. Depending upon such inconsistent tag version may result in some unexpected errors as well as build errors due to different proxy settings.
For example, when someone who does not use proxy.golang.org, say GOPROXY=direct, attempts to get github.com/opensearch-project/[email protected], the following errors occur.
So, this is a reminder in the hope that you can get rid of this unreliable version of project github.com/opensearch-project/opensearch-go.
Solution
1. Bump the version of dependency github.com/opensearch-project/opensearch-go
I would recommend bumping the version of github.com/opensearch-project/opensearch-go to a new release to ensure dependency copy in proxy.golang.org and github in sync.
Hi @Ben131-Go and thank you for the very informative and clear issue 👍
I will do my best to prioritize it, (see to-prioritize label), once that label removed it means theres active work on it.
I will update here with PR.
In the mean time is this a blocker for you?
If so, please feel free to open a PR with a fix.
Background
Repo
github.com/Isan-Rivkin/surf
depends ongithub.com/opensearch-project/[email protected]
.https://github.com/Isan-Rivkin/surf/blob/main/go.mod#L24
However, comparing version
v2.0.0
ofgithub.com/opensearch-project/opensearch-go
from proxy.golang.org and github, there are inconsistencies.So the checksum from the code in github does not match the checksum saved in sum.golang.org. The
v2.0.0
tag ofgithub.com/opensearch-project/opensearch-go
might have been retagged after a minor edition on github. Depending upon such inconsistent tag version may result in some unexpected errors as well as build errors due to different proxy settings.For example, when someone who does not use proxy.golang.org, say
GOPROXY=direct
, attempts to getgithub.com/opensearch-project/[email protected]
, the following errors occur.So, this is a reminder in the hope that you can get rid of this unreliable version of project
github.com/opensearch-project/opensearch-go
.Solution
1. Bump the version of dependency
github.com/opensearch-project/opensearch-go
I would recommend bumping the version of
github.com/opensearch-project/opensearch-go
to a new release to ensure dependency copy in proxy.golang.org and github in sync.References
The text was updated successfully, but these errors were encountered: