Project

General

Profile

Actions

Bug #18636

closed

Problems with version check for file emoji-variation-sequences.txt

Added by duerst (Martin Dürst) about 2 years ago. Updated about 2 years ago.


Description

[This problem was detected and reported (on Slack) by Koichi Sasada (@ko1 (Koichi Sasada)). Koichi also provided a short-time patch. I'm writing this issue to better document the problem (and the solution) for later reference.]

Example of original failure:
http://ci.rvm.jp/results/trunk-random3@phosphorus-docker/3873286

The direct reason for this failure is that between beta and final, the file changed as follows (< is beta version (my local), > is final version (used in some CI setups, other CI setups don't use these files at all to save time)):

1,2c1,2
< # emoji-variation-sequences.txt
< # Date: 2021-04-08, 18:35:21 GMT
---
> # emoji-variation-sequences-14.0.0.txt
> # Date: 2021-06-08, 05:19:16 GMT
8c8
< # Version: 14.0
---
> # Used with Emoji Version 14.0 and subsequent minor revisions (if any)

This explains why my 'fix' to check for "14.0" (in commit 48f1e8c5d850) didn't work in the relevant CIs.

What is not clear, and may never become clear, is why I didn't detect this problem earlier.
Also, the question is how to make sure the relevant data files get updated for future updates of Unicode.
In commit 6d603cfde1ca, I made sure more all relevant data files get downloaded, but it's not fully clear to me whether this will avoid problems in the future.

The above beta version is identical in style to Unicode 13.0.0/Emoji 13.0 (https://unicode.org/Public/13.0.0/ucd/emoji/emoji-variation-sequences.txt), it reads:

# emoji-variation-sequences.txt
# Date: 2020-01-21, 07:15:05 GMT
# © 2020 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html
#
# Emoji Variation Sequences for UTS #51
# Version: 13.0

I actually found mail that indicates that it was me who complained about this mismatch (Emoji version in file in an Unicode-version numbered (sub-)directory). So this is a typical example of shooting yourself in the foot.


Related issues 1 (0 open1 closed)

Blocks Ruby master - Feature #18037: Update Unicode data to Unicode Version 14.0.0Closedduerst (Martin Dürst)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0