8000 Tags · peng3141/rules_go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Tags: peng3141/rules_go

Tags

v0.0.1

Toggle v0.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
make toolchains repo more reproducible (bazel-contrib#4099)

**What type of PR is this?**

Bug fix

**What does this PR do? Why is it needed?**

The versions.json file results from downloading a list of versions from
go.dev. (https://go.dev/dl/?mode=json)
This API is meant to be updated for every Go release and will result in
different outputs when rerun in the future.

By deleting the file, we make the behavior more reproducible: As long as
a specific version is requested, this should result in reproducible
behavior. (This assumes that go.dev does not replace released SDK
artifacts, which should be a fair assumption).

This should help other ecosystems (including Nix) with packaging Bazel,
since we want to depend on the output of `bazel vendor` (and pin it
against an expected hash for a given platform).

**Which issues(s) does this PR fix?**

none

**Other notes for review**
0