Skip to content

Cherry-pick #14498 to 7.x: Replace generate_imports python script with mage imports#14529

Merged
ChrsMark merged 4 commits intoelastic:7.xfrom
ChrsMark:backport_14498_7.x
Nov 19, 2019
Merged

Cherry-pick #14498 to 7.x: Replace generate_imports python script with mage imports#14529
ChrsMark merged 4 commits intoelastic:7.xfrom
ChrsMark:backport_14498_7.x

Conversation

@ChrsMark
Copy link
Copy Markdown
Member

@ChrsMark ChrsMark commented Nov 14, 2019

Cherry-pick of PR #14498 to 7.x branch. Original message:

This PR tries to refactor and unify the way we create include/list.go files. This came after we moved light modules to OSS and while trying to create a light module under OSS. In that case this module will be included in list.go file despite the fact that it has no .go files. This was not a problem when light modules where under x-pack because there the list.go was created by mage and the script was taking into consideration the existence of .go files in a module so as to decide if it should be included in list.go.

So far we had:

This PR refactors the OSS part so as to make use of the mage respective target likewise x-pack.

cc: @jsoriano , @exekias

@ChrsMark ChrsMark requested a review from a team as a code owner November 14, 2019 22:12
@ChrsMark ChrsMark added backport review Team:Integrations Label for the Integrations team labels Nov 14, 2019
@odacremolbap odacremolbap self-requested a review November 19, 2019 08:31
@ChrsMark ChrsMark merged commit 718d166 into elastic:7.x Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport review Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants