Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v1 0/4] Fix app/digest and app/socket on 1.10
Date: Thu, 18 Jun 2020 13:39:46 +0300	[thread overview]
Message-ID: <20200618103946.74xbym5et57ypubo@tkn_work_nb> (raw)
In-Reply-To: <cover.1592458150.git.avtikhon@tarantool.org>

Okay for bundling libyaml.

But I don't think we should cherry-pick #4090 fix to 1.10 together with
bundling.

On Thu, Jun 18, 2020 at 08:36:48AM +0300, Alexander V. Tikhonov wrote:
> Needed to port fixes from master for #4090 and commit the following:
> 
> 1.  Before the patch unicode characters encoded with 4 bytes
>     were always treated as non-printable and displayed as byte
>     sequences (with 'binary' tag).
>     With the patch, range of printable characters is extended and
>     include characters encoded with 4 bytes.
>     Currently it is: (old printable range) U (icu printable range).
>     Corresponding changes are also made in tarantool/libyaml.
>     
>     Closes: #4090
>     
>     (cherry picked from commit cdf37876189fa005a350d6b69397348354bb2073)

Not needed.

> 
> 2.  Bump libyaml
>     
>     Bumped libyaml with the following commits:
>     
>       7f41d551a44a9b947dc341dd5b6c8779b5d83f00 'Make sure libyaml is C89 compliant'
>       f1d1e5e0a5f6e6adeebe0e2c5e95a6ee729426e4 'cmake: make sure yaml is built statically when used in tarantool'

It is okay for 1.10. I would add tarantool-1.10 branch in libyaml.

>       74a00faf5c4c8720149f7a726a5eda5e8fff86df 'Extend range of printable unicode characters'

It should not be pushed to the branch for 1.10, IMHO.

>     
>     Needed for #4090

Nope, you work on #5007, not #4090. It is important to allow one
understand what is going on. Core of #4090 is 74a00faf5 ('Extend range
of printable unicode characters'), but I vote to exclude it here. If
we'll leave #4090 as the reason here, it will be misleading.

Please, write a few words, why this update is necessary (say, X distro
requires C89 support; installed package fails with 'unable to find the
dynamic library libyaml.so', so we should link it statically into
tarantool executable).

> 3.  build: remove libyaml from rpm/deb dependencies
>     
>     After we started using bundled version of libyaml by default (see commit
>     47b91e90f2a4e23e70a1a6735af3de203ffd59f4), we can remove it from
>     building dependencies for RPM and DEB packages.
>     
>     Closes #4442
>     
>     Reviewed-by: Alexander Turenko <alexander.turenko@tarantool.org>
>     (cherry picked from commit 1d4e584a7b5a5570486d7dfa6df82e664f8e0f95)

Why it is third? It should go after bundling.

Don't forget to add an issue into tarantool/doc repository when the
patch will land to 1.10 that will links to
https://github.com/tarantool/doc/issues/960

> 
> 4.  build: enable bundled libyaml for all systems.
> 
>     After we fixed bundled libyaml to correctly print 4-byte Unicode
>     characters, it is no longer compatible with the upstream version, so
>     enable building with bundled libyaml for every platform.
>     This way the tests will pass.
>     
>     Follow-up #4090
>     
>     (cherry picked from commit 47b91e90f2a4e23e70a1a6735af3de203ffd59f4)

I would add a few words after (cherry picked from ...), because the
original reason and the original issue is not actual for 1.10: let's
describe the actual reason and mention the actual issue.

  parent reply	other threads:[~2020-06-18 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18  5:36 Alexander V. Tikhonov
2020-06-18  5:36 ` [Tarantool-patches] [PATCH v1 1/4] build: enable bundled libyaml for all systems Alexander V. Tikhonov
2020-06-18  5:36 ` [Tarantool-patches] [PATCH v1 2/4] build: remove libyaml from rpm/deb dependencies Alexander V. Tikhonov
2020-06-18  5:36 ` [Tarantool-patches] [PATCH v1 3/4] Bump libyaml Alexander V. Tikhonov
2020-06-18  5:36 ` [Tarantool-patches] [PATCH v1 4/4] Extend range of printable unicode characters Alexander V. Tikhonov
2020-06-18 10:39 ` Alexander Turenko [this message]
2020-06-22 13:58   ` [Tarantool-patches] [PATCH v1 0/4] Fix app/digest and app/socket on 1.10 Alexander V. Tikhonov
2020-06-23 14:08     ` Alexander Turenko
2020-06-26  9:46 ` Kirill Yukhin

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=20200618103946.74xbym5et57ypubo@tkn_work_nb \
    --to=alexander.turenko@tarantool.org \
    --cc=avtikhon@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 0/4] Fix app/digest and app/socket on 1.10' \
    /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