[ 
https://issues.apache.org/jira/browse/TINKERPOP-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette updated TINKERPOP-1268:
----------------------------------------
           Labels: breaking  (was: )
    Fix Version/s:     (was: 3.1.3)
                   3.2.1

I realized that there really is no need for {{-i}} because it is the same as 
{{-e}}. You can control the exit to the console with {{:x}} in the script and 
since I'm adding new controls for console output to the screen, you can show or 
hide what you want which really makes those two options the same in what they 
do.

I did however mark this as a breaking change because if you had a script in the 
past that you executed with {{-e}} you would now need to alter your script  and 
add some options for tuning the logs to hide some output so that it would 
behave in the same way as the {{ScriptExecutor}} did.

> Improve script execution options for console
> --------------------------------------------
>
>                 Key: TINKERPOP-1268
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1268
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.1.2-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>              Labels: breaking
>             Fix For: 3.2.1
>
>
> Given the discussion here:
> https://pony-poc.apache.org/thread.html/Zhsn1tow4012xpm
> Implement the following:
> 1. Deprecate support for {{ScriptExecutor}}
> 2. Deprecate support of bin/gremlin.sh init.groovy
> 3. Add support for {{bin/gremlin.sh -i init.groovy}} which does the same 
> thing as (2) and does not exit the console on failure. That would allow a 
> user to work with their console session up to the point of failure.
> 4. Improve support for {{bin/gremlin.sh -e exec.groovy}} to no longer use 
> {{ScriptExecutor}} and execute scripts directly in the console for automation 
> purposes. 
> 5. Add some other options to control output to the console so that you could 
> do {{bin/gremlin.sh -q -e exec.groovy}} which would execute in a quiet mode 
> with no output, for example.
> The idea would be to try to implement this without breaking change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to