Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign updoc: document and warn if the ICU version is too old #23766
Conversation
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
added
build
doc
labels
Oct 19, 2018
srl295
requested review from
ryzokuken,
jasnell and
devsnek
Oct 19, 2018
srl295
added
the
intl
label
Oct 19, 2018
srl295
self-assigned this
Oct 19, 2018
richardlau
approved these changes
Oct 19, 2018
jasnell
approved these changes
Oct 19, 2018
addaleax
approved these changes
Oct 20, 2018
This comment has been minimized.
This comment has been minimized.
addaleax
added
the
author ready
label
Oct 20, 2018
refack
reviewed
Oct 20, 2018
| @@ -1452,6 +1455,8 @@ def write_config(data, name): | |||
| icu_ver_major = m.group(1) | |||
| if not icu_ver_major: | |||
| error('Could not read U_ICU_VERSION_SHORT version from %s' % uvernum_h) | |||
| elif int(icu_ver_major) < minimum_icu: | |||
| warn('icu4c v%d.x may be too old, v%d.x or later is recommended.' % (int(icu_ver_major), minimum_icu)) | |||
This comment has been minimized.
This comment has been minimized.
refack
Oct 20, 2018
Member
may? what can happen if it is? why not go all out and error?
(escape hatch is to manually edit config.gypi)
This comment has been minimized.
This comment has been minimized.
srl295
Oct 21, 2018
•
Author
Member
probably a compile error. which they will see soon enough… ±0 on making it an error, either way.
This comment has been minimized.
This comment has been minimized.
refack
requested changes
Oct 20, 2018
|
Good concept. Left two comments. |
| @@ -51,6 +51,7 @@ | |||
| valid_mips_fpu = ('fp32', 'fp64', 'fpxx') | |||
| valid_mips_float_abi = ('soft', 'hard') | |||
| valid_intl_modes = ('none', 'small-icu', 'full-icu', 'system-icu') | |||
| minimum_icu = 57 | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
srl295
Oct 22, 2018
Author
Member
@refack hm. Doesn't make sense with the format of current_ver.dep … the minimum ICU is global, doesn't need to be repeated multiple times.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
refack
Oct 23, 2018
Member
We could change the format of tools/icu/current_ver.dep to be:
{
"current_minimum": 57,
"packages": [ ... current content ... ]
}
refack
approved these changes
Oct 23, 2018
This comment has been minimized.
This comment has been minimized.
|
CI (just in case you don't wanna patch this any more): https://ci.nodejs.org/job/node-test-pull-request/18060/ |
refack
removed
the
author ready
label
Oct 23, 2018
This comment has been minimized.
This comment has been minimized.
|
@refack how about moving the contents to the new .json file in a future PR once these land? (this and the 2 other PRs) |
ryzokuken
approved these changes
Oct 23, 2018
srl295
closed this
Oct 23, 2018
srl295
force-pushed the
srl295:min-icu
branch
from
21762a0
to
d8b6a1d
Oct 23, 2018
srl295
merged commit d8b6a1d
into
nodejs:master
Oct 23, 2018
targos
added a commit
that referenced
this pull request
Oct 24, 2018
srl295
referenced this pull request
Oct 24, 2018
Merged
2018-10-30 Version 10.13.0 'Dubnium' (LTS) #23831
beevelop
referenced this pull request
Nov 2, 2018
Closed
2018-11-02 Version 11.1.0 (Current) @targos #248
MylesBorins
added a commit
that referenced
this pull request
Nov 26, 2018
MylesBorins
added
land-on-v10.x
backport-requested-v8.x
labels
Nov 26, 2018
This comment has been minimized.
This comment has been minimized.
|
This lands cleanly on 10.x, should we backport to 8.x? |
srl295 commentedOct 19, 2018
•
edited
Fixes: #19657
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesExample: