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] Add option to turn the go dependency download on/off. #43096

Merged

Conversation

movie-travel-code
Copy link

@movie-travel-code movie-travel-code commented Aug 12, 2019

Summary

There are no proper approaches to disable downloading go dependencies
except creating inconsistencies of the running environments of
go-langserver. Given that go language server will do its best to convert
the repos into modules, one of the doable approaches is setting
'GO111MODULE' to false to be incompatible with the moduled repos.

Related issue: https://github.com/elastic/code/issues/1533

Checklist

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

For maintainers

There are no proper approaches to disable downloading go dependencies
except creating inconsistencies of the running environments of
go-langserver. Given that go language server will do its best to convert
the repos into modules, one of the doable approaches is setting
'GO111MODULE' to false to be incompatible with the moduled repos.
@elasticmachine
Copy link
Contributor

Pinging @elastic/code

@@ -88,6 +88,7 @@ export const code = (kibana: any) =>
security: Joi.object({
enableMavenImport: Joi.boolean().default(true),
enableGradleImport: Joi.boolean().default(false),
installGoDependency: Joi.boolean().default(false),
Copy link
Author

Choose a reason for hiding this comment

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

@zfy0701 Do you mean this default value?

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@movie-travel-code movie-travel-code merged commit 6030312 into elastic:master Aug 13, 2019
movie-travel-code pushed a commit to movie-travel-code/kibana that referenced this pull request Aug 13, 2019
…#43096)

There are no proper approaches to disable downloading go dependencies
except creating inconsistencies of the running environments of
go-langserver. Given that go language server will do its best to convert
the repos into modules, one of the doable approaches is setting
'GO111MODULE' to false to be incompatible with the moduled repos.
movie-travel-code pushed a commit that referenced this pull request Aug 13, 2019
…#43165)

There are no proper approaches to disable downloading go dependencies
except creating inconsistencies of the running environments of
go-langserver. Given that go language server will do its best to convert
the repos into modules, one of the doable approaches is setting
'GO111MODULE' to false to be incompatible with the moduled repos.
jloleysens added a commit to jloleysens/kibana that referenced this pull request Aug 13, 2019
…p-metrics-selectall

* 'master' of github.com:elastic/kibana: (27 commits)
  [ML] Data Frames: Analytics job creation. (elastic#43102)
  [Vis Default editor] Fix issue with Rollup (elastic#42430)
  [Vis: Default editor] EUIficate Markdown tab (elastic#42677)
  [New Platform Migration Phase I]: update dateHisogramInterval & parseEsInterval imports (elastic#42917)
  [Infra UI] Add AWS metrics to node detail page (elastic#42153)
  update apm index pattern (elastic#43106)
  [SIEM] Toggle Column / Code Coverage and Cypress (elastic#42766)
  skip failing test (elastic#43163)
  [code] Add option to turn the go dependency download on/off. (elastic#43096)
  disable visual regression jobs
  Removed dead code (elastic#42774)
  fixes csv export of saved searches that have _source field (elastic#43123)
  Export missing Context types (elastic#43051)
  Update dependency supports-color to v7 (elastic#43064)
  switch to icon type string instead of node (elastic#43111)
  [Maps] Enable borders for icon symbols (elastic#43066)
  [ftr] enable visualRegression jobs (elastic#42989)
  [ML] Converting single to multi metric job (elastic#42532)
  fix(NA): dont clean dll module if it is a package json file (elastic#42904)
  [Logs UI] Add link from the sample web logs to the Logs UI (elastic#42635)
  ...
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.

3 participants