Skip to content
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

package.json: change gopath/goroot/toolsGopath machine-overridable #175

Closed
wants to merge 1 commit into from

Conversation

hyangah
Copy link
Contributor

@hyangah hyangah commented Jun 4, 2020

By setting them machine-overridable, client user values can be
ignored in remote settings and the remote side can pick up the right
value.

I think go.alternateTools should be machine-overridable as well
but will get to it next time.

Manually tested by

  1. setting go.gopath in user settings, vsce package,
    connecting to the remote host, sideloading vsix (do it after connecting,
    so the remote host can pick up the vsix), and checking the GOPATH
    with "Go: Current GOPATH" and also, by reinstalling all tools.

  2. setting go.gopath in workspace settings and checking it's still doable.

Fixes microsoft/vscode-go#2981
Updates microsoft/vscode-go#2576

Change-Id: I3390355d186280c13353d210adb51edfa3858032

By setting them machine-overridable, client user values can be
ignored in remote settings and the remote side can pick up the right
value.

I think go.alternateTools should be machine-overridable as well
but will get to it next time.

Manually tested by

1) setting go.gopath in user settings, vsce package,
connecting to the remote host, sideloading vsix (do it after connecting,
so the remote host can pick up the vsix), and checking the GOPATH
with "Go: Current GOPATH" and also, by reinstalling all tools.

2) setting go.gopath in workspace settings and checking it's still doable.

Fixes microsoft#2981
Updates microsoft#2576

Change-Id: I3390355d186280c13353d210adb51edfa3858032
@googlebot googlebot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label Jun 4, 2020
@gopherbot
Copy link
Collaborator

This PR (HEAD: 0463b84) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/vscode-go/+/236539 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Collaborator

Message from Rebecca Stambler:

Patch Set 2: Code-Review+2


Please don’t reply on this GitHub thread. Visit golang.org/cl/236539.
After addressing review feedback, remember to publish your drafts!

gopherbot pushed a commit that referenced this pull request Jun 4, 2020
By setting them machine-overridable, client user values can be
ignored in remote settings and the remote side can pick up the right
value.

I think go.alternateTools should be machine-overridable as well
but will get to it next time.

Manually tested by

1) setting go.gopath in user settings, vsce package,
connecting to the remote host, sideloading vsix (do it after connecting,
so the remote host can pick up the vsix), and checking the GOPATH
with "Go: Current GOPATH" and also, by reinstalling all tools.

2) setting go.gopath in workspace settings and checking it's still doable.

Fixes microsoft/vscode-go#2981
Updates microsoft/vscode-go#2576

Change-Id: I3390355d186280c13353d210adb51edfa3858032

Change-Id: I3390355d186280c13353d210adb51edfa3858032
GitHub-Last-Rev: 0463b84
GitHub-Pull-Request: #175
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/236539
Reviewed-by: Rebecca Stambler <[email protected]>
@gopherbot
Copy link
Collaborator

This PR is being closed because golang.org/cl/236539 has been merged.

@gopherbot gopherbot closed this Jun 4, 2020
@hyangah hyangah added this to the 0.15.0 milestone Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(golang extensions) Linux<>Linux, uses client home instead of remote home
3 participants