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
x/build/cmd/release: Go 1.11.5 amd64 tarball includes /gocache and /tmp #29906
Comments
Thanks for letting us know. We're currently looking into this. |
I'm sending a fix. |
Change https://golang.org/cl/159257 mentions this issue: |
We have confirmed that the extraneous directories Only We will not be updating the tarballs for this release. The reason is because these directories do not affect functionality, and we do not want to risk the availability of the security release, nor we want to change the contents of already published archives. If you have already extracted the archives, you can optionally remove the unnecessary directories. The following commands can be used to extract only the necessary
These commands will create a Go tree in While investigating we also noticed these directories missing from the tarball due to a change in how tests are run during the release process:
This should not cause any disruption, but it is something we will look into for future releases. |
That CL was submitted too early. |
Change https://golang.org/cl/159320 mentions this issue: |
I do not believe that to be true. |
In release 1.11.5 the golang.tar.gz for some architectures contains others folders than go (see: golang/go#29906) Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
In release 1.11.5 the golang.tar.gz for some architectures contains others folders than go (see: golang/go#29906) Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
* Update golang version to 1.11.5 Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com> * Ensure that only extract the go folder from golang.tar.gz In release 1.11.5 the golang.tar.gz for some architectures contains others folders than go (see: golang/go#29906) Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
Yes, the We will fix this for the next release. |
The go1.11.5 tarballs include extraneous 'gocache' and 'tmp' directories. Protect against that. golang/go#29906
Change https://golang.org/cl/161967 mentions this issue: |
I missed this in CL 159257 when fixing golang/go#29906 the first time. Fixes golang/go#30181 (round two) Change-Id: Iae90b5b19803e1ef7297b57bae7644e16c44efdc Reviewed-on: https://go-review.googlesource.com/c/161967 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Install the LInux amd64 tarball.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
A single go directory.
What did you see instead?
An empty tmp and 63M of gocache.
The text was updated successfully, but these errors were encountered: