From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 1576424DDB for ; Tue, 23 Jul 2019 18:31:19 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pWfygtjEB-Vh for ; Tue, 23 Jul 2019 18:31:19 -0400 (EDT) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id BF69524D0E for ; Tue, 23 Jul 2019 18:31:18 -0400 (EDT) Received: by mail-lj1-f195.google.com with SMTP id m8so8977771lji.7 for ; Tue, 23 Jul 2019 15:31:18 -0700 (PDT) From: Cyrill Gorcunov 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 Message-Id: <20190723223113.16084-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tml Cc: Alexander Turenko , Kirill Yukhin , Konstantin Osipov , Cyrill Gorcunov 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