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 00E5025CE5 for ; Fri, 12 Jul 2019 15:04:43 -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 lJo2A5ELGKGH for ; Fri, 12 Jul 2019 15:04:42 -0400 (EDT) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (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 85E3925818 for ; Fri, 12 Jul 2019 15:04:42 -0400 (EDT) Received: by mail-lf1-f65.google.com with SMTP id b29so7166056lfq.1 for ; Fri, 12 Jul 2019 12:04:42 -0700 (PDT) From: Cyrill Gorcunov Subject: [tarantool-patches] [PATCH v3 0/3] box/lua/console: Add initial support for lua output format Date: Fri, 12 Jul 2019 22:04:35 +0300 Message-Id: <20190712190438.32349-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 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