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

[code] Append go env variable 'GOCACHE' to go lsp spawn command. #44864

Merged

Conversation

movie-travel-code
Copy link

Summary

'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/code

Copy link
Contributor

@zfy0701 zfy0701 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path.resolve(goPath, '.cache'); is enough

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@movie-travel-code movie-travel-code merged commit cd968d2 into elastic:master Sep 5, 2019
movie-travel-code pushed a commit to movie-travel-code/kibana that referenced this pull request Sep 5, 2019
…stic#44864)

'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
movie-travel-code pushed a commit to movie-travel-code/kibana that referenced this pull request Sep 5, 2019
…stic#44864)

'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
movie-travel-code pushed a commit that referenced this pull request Sep 5, 2019
) (#44901)

'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
movie-travel-code pushed a commit that referenced this pull request Sep 5, 2019
) (#44902)

'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
jloleysens added a commit to jloleysens/kibana that referenced this pull request Sep 6, 2019
…ete-for-distance_feature

* 'master' of github.com:elastic/kibana: (89 commits)
  Replace TSVB timeseries charts with elastic-charts (elastic#33558)
  [TSVB][Top N aggregation] Unable to deal with negative values (elastic#43581)
  [alerting] Adds Action Type configuration support and whitelisting (elastic#44483)
  FTR: fix WebDriver Actions calls (elastic#44605)
  [Code] add NodeRepositoriesService to watch new repositories on local node (elastic#44677)
  [skip-ci][Maps] Improve Maps intro page (elastic#44721)
  [Maps] Update titles and descriptions for data sources (elastic#44833)
  Types + Extract Integration Util (elastic#44433)
  Downgrade log level from info to debug for cases when we cannot handle authentication attempt. (elastic#44933)
  [Reporting] Remove Chome stdout/stderr observables, Add Browser Logger observable (elastic#44359)
  Update Jest script to output coverage (elastic#44447)
  [ftr] support --kibana-install-dir flag (elastic#44552)
  [WATCHER] Allow user to set a threshold value of 0 (elastic#44810)
  Remove injectI18n in dashboard plugin. (elastic#44580)
  [Graph] Save modal (elastic#44261)
  Use external script for the OIDC Implicit flow handler page. (elastic#44866)
  disable router prefixing with pluginId (elastic#44855)
  [SIEM] Fix bug on url + inspect functionality on hosts/hostDetails page (elastic#44671)
  [ML] File data viz limiting uploaded doc chunk size (elastic#44768)
  [code] Append go env variable 'GOCACHE' to go lsp spawn command. (elastic#44864)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants