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

Parse E2E flags/configs with AST instead of RegExps #733

Merged
merged 2 commits into from
May 14, 2021
Merged

Conversation

nolar
Copy link
Owner

@nolar nolar commented Apr 5, 2021

Parsing the AST allows us to have multi-line E2E-configs (e.g. lists), enriched with comments where needed. RegExps are limited to simple one-line values, and this does not fit into 100 chars limit sometimes.

@nolar nolar added the automation CI/CD: testing, linting, releasing automatically label Apr 5, 2021
@nolar nolar force-pushed the e2e-with-ast branch 2 times, most recently from c6c994c to c08c9b9 Compare April 29, 2021 06:07
@nolar nolar force-pushed the e2e-with-ast branch 2 times, most recently from c0590d3 to 7098b1c Compare May 14, 2021 11:27
nolar added 2 commits May 14, 2021 13:56
Parsing the AST allows us to have multi-line E2E-configs (e.g. lists), enriched with comments where needed. RegExps are limited to simple one-line values, and this does not fit into 100 chars limit sometimes.

Signed-off-by: Sergey Vasilyev <nolar@nolar.info>
Signed-off-by: Sergey Vasilyev <nolar@nolar.info>
@nolar nolar marked this pull request as ready for review May 14, 2021 12:03
@nolar nolar merged commit 52aba9a into main May 14, 2021
@nolar nolar deleted the e2e-with-ast branch May 14, 2021 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation CI/CD: testing, linting, releasing automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant