-
Notifications
You must be signed in to change notification settings - Fork 18.1k
cmd/go mishandles build metadata separator #28647
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
Comments
The issue is due to the Have a small fix, just want to confirm this isn't expected (doesn't appear to be looking at the function and similar function |
Change https://golang.org/cl/148835 mentions this issue: |
Per https://semver.org/#spec-item-10, build metadata may include a series of dot separated identifiers. Fixes #28647 Change-Id: I98655c62584a822953df71fba32b4a2cafe7a04b Reviewed-on: https://go-review.googlesource.com/c/148835 Reviewed-by: Bryan C. Mills <[email protected]>
@mellis The behavior here changed again recently in #31713. It would be interesting to hear if you now see behavior that works for you if try tip. (An easy way to get tip is Also, did you have an example of a public repository where this was a problem, or was it a private repo where you first saw this as a problem? |
I originally noticed the behaviour when experimenting with module support for our internal repositories and build system. We've changed strategies since then though, so this particular issue isn't affecting us any more. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Note the build metadata is not ignored when attempting to retrieve the info file.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: