[tarantool-patches] [PATCH v4 0/5] box/lua/console: Add initial support for lua output format
Cyrill Gorcunov
gorcunov at gmail.com
Wed Jul 24 01:31:08 MSK 2019
Hi, here is an updated series for lua console support. It is in devel state
still since we need to enhance output support for remote connections. By
now I limit this mode for local sessions only.
Main purpose of this series is to not break anything existing thus requires
a deep testing.
TODO:
- extend exchange protocol with remote nodes to pass current output
mode and get ack/nack to process
- add compat layer for old remote server which do not have lua output
support at all and will provide us yaml output regarding of anything
- rework "help" and turorial output since in lua mode they are simply
unreadable
- extend test engine so that new tests would use lua output by default
(should we?)
---
The following changes since commit e5e23ce2788ccfb6223a92f668483d7fb91352ca:
test: update test-run (2019-07-22 11:28:58 +0300)
are available in the Git repository at:
https://github.com/cyrillos/tarantool.git console-repl-serpent-4
for you to fetch changes up to eb53b99b6e9aa6534544ccadb6dad0ffaa9b1ab1:
box/lua/console: Limit lua output for local sessions only (2019-07-24 01:27:50 +0300)
----------------------------------------------------------------
Cyrill Gorcunov (5):
third_party/serpent: Add serpent repo
box/lua/console: Add support for lua output format
box/lua/console: Don't serialize function body
box/lua/console: Provide output_default function to setup default output
box/lua/console: Limit lua output for local sessions only
.gitmodules | 3 +++
src/box/CMakeLists.txt | 1 +
src/box/lua/console.c | 26 ++++++++++++++++++++
src/box/lua/console.lua | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
src/lua/help_en_US.lua | 1 +
test/box/admin.result | 1 +
third_party/serpent | 1 +
7 files changed, 181 insertions(+), 1 deletion(-)
create mode 160000 third_party/serpent
More information about the Tarantool-patches
mailing list