Skip to content

Improve the comment for go_sdk.host() in the installation docs#4230

Merged
fmeum merged 1 commit intobazel-contrib:masterfrom
stefanobaghino:bzlmod-installation-host-docs
Jan 15, 2025
Merged

Improve the comment for go_sdk.host() in the installation docs#4230
fmeum merged 1 commit intobazel-contrib:masterfrom
stefanobaghino:bzlmod-installation-host-docs

Conversation

@stefanobaghino
Copy link
Copy Markdown
Contributor

What type of PR is this?

Documentation

What does this PR do?

Explicitly call out go_sdk.host() as an alternative to go_sdk.download() in the Bzlmod installation documentation, and point clearly to the nota bene associated with it.

What does this PR do? Why is it needed?

Avoiding people from copying and pasting the code without understanding that go_sdk.host() should be omitted when using go_sdk.download() (as well as making sure that there's a clear pointer to its drawbacks).

Which issues(s) does this PR fix?

N/A

@fmeum fmeum enabled auto-merge (squash) January 15, 2025 16:45
@fmeum fmeum merged commit 141d912 into bazel-contrib:master Jan 15, 2025
@stefanobaghino stefanobaghino deleted the bzlmod-installation-host-docs branch January 15, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants