[tarantool-patches] [PATCH v3 0/3] box/lua/console: Add initial support for lua output format

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 12 22:04:35 MSK 2019


Hi, here is a v3 of initial support for lua output format. This is still in
devel state so I think we will need more patches to cover all cases and provide
deep testing. Since it will take some time to proceed I think better to move
with small steps. Thus for this series the most important target is to not break
anything existing.

We have so far

 - default output mode remains set to yaml
 - test/box/admin updated to cover new \help command output
 - when connecting to server which is old enough and doesn't
   support binary protocol we issue an error so that lua output
   should not be used in the case

---
The following changes since commit 77051a11029560eee8ad0adf83c8ac92e64a7d12:

  box: do not check state in case of reconnect (2019-07-12 12:07:02 +0300)

are available in the Git repository at:

  https://github.com/cyrillos/tarantool.git console-repl-serpent-3

for you to fetch changes up to 712e1ac1b31798ac4348bbf6d84833b71854e957:

  box/lua/console: Verify remote protocol for compatibility (2019-07-12 20:53:47 +0300)

----------------------------------------------------------------
Cyrill Gorcunov (3):
      third_party/serpent: Add serpent repo
      box/lua/console: Add support for lua output format
      box/lua/console: Verify remote protocol for compatibility

 .gitmodules             |   3 +++
 src/box/CMakeLists.txt  |   1 +
 src/box/lua/console.c   |  26 ++++++++++++++++++++++++++
 src/box/lua/console.lua | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/lua/help_en_US.lua  |   1 +
 test/box/admin.result   |   1 +
 third_party/serpent     |   1 +
 7 files changed, 146 insertions(+), 1 deletion(-)
 create mode 160000 third_party/serpent

-- 
2.20.1





More information about the Tarantool-patches mailing list