[tarantool-patches] Re: [PATCH 2/2] lua-yaml: fix yaml encode/decode type inferring

Alexander Turenko alexander.turenko at tarantool.org
Tue Jan 22 05:08:45 MSK 2019


Changes I made:

* Moved str_type.h to lyaml.cc.
* Simplified cases in app-tap/console.test.lua, added more.
* Extracted an empty document / value treatment change into a separate
  commit.
* Removed hacking around console.eval() result in
  test/vinyl/txn_proxy.lua.
* Rebased at top of 2.1.
* Better describe changes in commit messages.

I'll push the patchset to kh/gh-3662-yaml-2.1 and will resend it as v2.

WBR, Alexander Turenko.

On Thu, Oct 04, 2018 at 05:36:14PM +0300, AKhatskevich wrote:
> Changes:
> * encode boolean values in single-quoted style
> * encode/decode nulls as '', '~', 'null', 'Null', "NULL", according
>   to the yaml 1.0/1.1/1.2 standard
> * fix affected tests
> 
> Related to #3476
> Closes #3662 #3583
> ---
>  test/app-tap/console.test.lua   |   25 +-
>  test/app/fio.result             |    2 +-
>  test/app/socket.result          |   26 +-
>  test/box/access.result          |    8 +-
>  test/box/misc.result            |    2 +-
>  test/box/role.result            |    8 +-
>  test/box/sequence.result        |    2 +-
>  test/vinyl/errinj.result        |   10 +-
>  test/vinyl/hermitage.result     |  122 ++---
>  test/vinyl/mvcc.result          | 1062 +++++++++++++++++++--------------------
>  test/vinyl/tx_conflict.result   |    4 +-
>  test/vinyl/tx_conflict.test.lua |    4 +-
>  test/vinyl/tx_gap_lock.result   |  186 +++----
>  test/vinyl/tx_serial.result     |    4 +-
>  test/vinyl/tx_serial.test.lua   |    4 +-
>  test/vinyl/txn_proxy.lua        |    6 +
>  third_party/lua-yaml/lyaml.cc   |   43 +-
>  third_party/lua-yaml/str_type.h |   33 ++
>  18 files changed, 802 insertions(+), 749 deletions(-)
>  create mode 100644 third_party/lua-yaml/str_type.h




More information about the Tarantool-patches mailing list