Re: [openstack-dev] [Mistral] RFC - Action spec CLI

2014-12-17 Thread Renat Akhmerov
Hi, > The problem with existing syntax is it is not defined: there is no docs on > inlining complex variables [*], and we haven’t tested it for anything more > than the simplest cases: > https://github.com/stackforge/mistral/blob/master/mistral/tests/unit/workbook/v2/test_dsl_specs_v2.py#L114

Re: [openstack-dev] [Mistral] RFC - Action spec CLI

2014-12-17 Thread Renat Akhmerov
Dmitri, Yes, it would be really cool if you could with the documentation. Btw, while doing it you could also think recommendations for others tests that should be added to make sure they provide enough coverage for needed case. Thanks Renat Akhmerov @ Mirantis Inc. > On 17 Dec 2014, at 15:5

Re: [openstack-dev] [Mistral] RFC - Action spec CLI

2014-12-17 Thread Dmitri Zimine
The problem with existing syntax is it is not defined: there is no docs on inlining complex variables [*], and we haven’t tested it for anything more than the simplest cases: https://github.com/stackforge/mistral/blob/master/mistral/tests/unit/workbook/v2/test_dsl_specs_v2.py#L114. I will be su

Re: [openstack-dev] [Mistral] RFC - Action spec CLI

2014-12-16 Thread Renat Akhmerov
Ok, I would prefer to spend some time and think how to improve the existing reg exp that we use to parse key-value pairs. We definitely can’t just drop support of this syntax and can’t even change it significantly since people already use it. Renat Akhmerov @ Mirantis Inc. > On 17 Dec 2014,

[openstack-dev] [Mistral] RFC - Action spec CLI

2014-12-16 Thread Lakshmi Kannan
Apologies for the long email. If this fancy email doesn’t render correctly for you, please read it here: https://gist.github.com/lakshmi-kannan/cf953f66a397b153254a I was looking into fixing bug: https://bugs.launchpad.net/mistral/+bug/1401039. My idea was to use shlex to parse the string. This ac