From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 64FF54696C3 for ; Mon, 6 Apr 2020 17:33:32 +0300 (MSK) From: Chris Sosnin Date: Mon, 6 Apr 2020 17:33:28 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] fix box.session.push formatting List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, korablev@tarantool.org Nikita, please, do a second review. First commit moves current output format to struct session. Second commit adds Lua output format support for push(). @ChangeLog - Add Lua output format support for box.session.push issue: https://github.com/tarantool/tarantool/issues/4686 branch: https://github.com/tarantool/tarantool/tree/ksosnin/gh-4686-session-push-fmt Chris Sosnin (2): session: store output format in struct session box: fix formatting in session.push extra/exports | 2 + src/box/lua/console.c | 56 +++++++++++++++++++------- src/box/lua/console.lua | 76 +++++++++++++++++++++++++++-------- src/box/session.h | 22 +++++++--- test/app-tap/console.test.lua | 38 +++++++++++++++++- 5 files changed, 155 insertions(+), 39 deletions(-) -- 2.21.1 (Apple Git-122.3)