Skip to content

move canvas interpreter to OSS#26066

Closed
ppisljar wants to merge 19 commits intoelastic:masterfrom
spalger:implement/open-source-expression-interpreter
Closed

move canvas interpreter to OSS#26066
ppisljar wants to merge 19 commits intoelastic:masterfrom
spalger:implement/open-source-expression-interpreter

Conversation

@ppisljar
Copy link
Copy Markdown
Contributor

Summary

trying again with #25711

Checklist

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

For maintainers

@ppisljar ppisljar requested review from spalger and w33ble November 22, 2018 04:58
Copy link
Copy Markdown
Contributor

@mistic mistic left a comment

Choose a reason for hiding this comment

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

It looks almost good to me. I found 3 problems with the merges from my fix branch. Also the original PR feedback should be considered too.

"name": "@kbn/interpreter",
"version": "1.0.0",
"license": "Apache-2.0",
"main": "./index.js",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can delete this! It was dead code left here.

test,
include: /[\/\\]node_modules[\/\\]x-pack[\/\\]/,
exclude: /[\/\\]node_modules[\/\\]x-pack[\/\\](.+?[\/\\])*node_modules[\/\\]/,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can also remove this extra line here

// ignore paths matching `/canvas/canvas_plugin/{a}/{b}` unless
// is `x-pack` and `b` is not `node_modules`
/\/canvas\/canvas_plugin\/(?!functions\/server)([^\/]+\/[^\/]+)/,
/\/node_modules\/(?!(x-pack\/|@kbn\/interpreter\/)(?!node_modules)([^\/]+))([^\/]+\/[^\/]+)/,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should change this again to /\/canvas\/canvas_plugin\/(?!functions\/server)([^\/]+\/[^\/]+)/,

/x-pack/build
/x-pack/plugins/**/__tests__/fixtures/**
/x-pack/plugins/canvas/common/lib/grammar.js
/packages/kbn-interpreter/src/common/lib/grammar.js
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should ignore {common, plugin, public, server, src/common/lib/grammar.js}

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@ppisljar
Copy link
Copy Markdown
Contributor Author

closing in favor of #26068

@ppisljar ppisljar closed this Nov 22, 2018
@spalger spalger deleted the implement/open-source-expression-interpreter branch August 18, 2020 17:56
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.

4 participants