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
In go 1.11.{34} the handling of packages with symlinks in them changed - they are now not included in zip files, previously they were. This means such zip files nowadays get a different checksum, when generated by Go 1.11.4. Zip files generated by Athens 0.2.0 fail this new checksum (assuming the go.sum was created outside of an Athens env).
"go get" a package with symlinks using Go 1.11.4 and no Athens proxy, so it gets added to go.sum
Remove the mod cache, set GOPROXY to point at Athens
Go build.
Expected behavior
Zip file with identical checksum to when not using proxy.
Environment (please complete the following information):
gomods/athens:v0.2.0 docker image with disk storage
Additional context
This is an annoying issue that I think shouldn't have suddenly been included in a point release of Go even if the previously generated zip files were erroneous... But we are all early adopters. :)
Looking closer at the mechanics I see that this is delegated to the go tool, and that a newer go tool would solve it. The canary docker image works. 👍 All good.
Describe the bug
In go 1.11.{34} the handling of packages with symlinks in them changed - they are now not included in zip files, previously they were. This means such zip files nowadays get a different checksum, when generated by Go 1.11.4. Zip files generated by Athens 0.2.0 fail this new checksum (assuming the
go.sum
was created outside of an Athens env).Error Message
To Reproduce
GOPROXY
to point at AthensExpected behavior
Zip file with identical checksum to when not using proxy.
Environment (please complete the following information):
gomods/athens:v0.2.0
docker image with disk storageAdditional context
This is an annoying issue that I think shouldn't have suddenly been included in a point release of Go even if the previously generated zip files were erroneous... But we are all early adopters. :)
Related issues:
golang/go#29278 (comment)
golang/go#29191
golang/go#27093
The text was updated successfully, but these errors were encountered: