Tarantool development patches archive
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: tml <tarantool-patches@freelists.org>
Cc: Alexander Turenko <alexander.turenko@tarantool.org>,
	Kirill Yukhin <kyukhin@tarantool.org>,
	Konstantin Osipov <kostja@tarantool.org>,
	Cyrill Gorcunov <gorcunov@gmail.com>
Subject: [tarantool-patches] [PATCH v4 0/5] box/lua/console: Add initial support for lua output format
Date: Wed, 24 Jul 2019 01:31:08 +0300	[thread overview]
Message-ID: <20190723223113.16084-1-gorcunov@gmail.com> (raw)

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

             reply	other threads:[~2019-07-23 22:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23 22:31 Cyrill Gorcunov [this message]
2019-07-23 22:31 ` [tarantool-patches] [PATCH 1/5] third_party/serpent: Add serpent repo Cyrill Gorcunov
2019-07-24 17:02   ` [tarantool-patches] " Konstantin Osipov
2019-07-24 17:33     ` Cyrill Gorcunov
2019-07-23 22:31 ` [tarantool-patches] [PATCH 2/5] box/lua/console: Add support for lua output format Cyrill Gorcunov
2019-07-23 22:31 ` [tarantool-patches] [PATCH 3/5] box/lua/console: Don't serialize function body Cyrill Gorcunov
2019-07-23 22:31 ` [tarantool-patches] [PATCH 4/5] box/lua/console: Provide output_default function to setup default output Cyrill Gorcunov
2019-07-24 17:10   ` [tarantool-patches] " Konstantin Osipov
2019-07-24 17:11     ` Konstantin Osipov
2019-07-24 17:34       ` Cyrill Gorcunov
2019-07-23 22:31 ` [tarantool-patches] [PATCH 5/5] box/lua/console: Limit lua output for local sessions only Cyrill Gorcunov
2019-07-24 17:15   ` [tarantool-patches] " Konstantin Osipov
2019-07-24 17:35     ` Cyrill Gorcunov
2019-07-24 17:00 ` [tarantool-patches] Re: [PATCH v4 0/5] box/lua/console: Add initial support for lua output format Konstantin Osipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190723223113.16084-1-gorcunov@gmail.com \
    --to=gorcunov@gmail.com \
    --cc=alexander.turenko@tarantool.org \
    --cc=kostja@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH v4 0/5] box/lua/console: Add initial support for lua output format' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox