-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fix parsing of cmd line arguments in XML and yaml file #379
Fix parsing of cmd line arguments in XML and yaml file #379
Conversation
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some minor comments and suggestions.
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is a bit complex, but I don't have suggestions for making it better.
LGTM with green CI.
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Fixed linter failures in 6e74c91, the other failures are also happening in nightlies.
It would be possible to tweak the grammar and add a different Transformer to get directly a list of arguments, instead of manually converting one thing to the other. |
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Fixes #337.
The rules are a bit tricky, but I added a bunch of test cases. I will add any other suggested test case if needed.
I first though about solving the problem by addressing #263.
But I later realized that:
SomeSubstitutionsType
) for specifying commands, instead of a list (List[SomeSubstitutionsType]
), makes concatenation of arguments more complex (e.g.: when passing args fromNode
toExecuteProcess
).