-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull from icu4c github release instead of package #36
Comments
|
If it's not a package, this functionality (the fetch) could move into core… into |
Sounds good. Will this just be for future versions of ICU or will the data files be retroactively published by the ICU project? |
@richardlau maybe retroactively publish for current ICU 64.2 — that's going to be what Node LTS v10 uses soon enough. But not all versions. Actually, for little endian non-EBCDIC, the data file is already in the .src.tgz and so several versions back are already available. |
What should we do with this https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz? should it be saved/uncompressed in a specific directory? we were using full-icu in https://github.com/brigand/jellobot/blob/master/src/plugins/js-eval/Dockerfile, but recently it stopped working since node v11.8.0 or a little before |
If you're on little endian, then pull out if you're on big endian you need to build ICU and convert the data.
can you clarify? what stopped working? |
Oh sorry, it's working
thanks, nvm |
in light of nodejs/node#29522 I think ICU4C 65.1 is a good cutover time to start this new approach. This means no more updates to the icu4c-data repo. |
Hello @srl295
I think, need for at least one time more - #46 |
@srl295 I've tried
|
@ex1st Sorry, not done yet. I'll get back to work on it! |
@ilya I’ll have to pick this up Monday. Meanwhile if you go to
site.icu-project.org you will find that the icu4c source .zip and .tar
contain the icudt*l.dat file under Icu/source/data/in
|
@ex1st nevermind, i'm uploading it now |
please note that ICU 67 RC is the first to 'natively' include the new -l and -b data packages, see https://github.com/unicode-org/icu/releases/tag/release-67-rc (though I want to put the old ones in retroactively) |
Bump bump. Was just bitten by this today. |
Hi there, just a friendly bump on this promising topic as the current Node updates seem to be missing their respective ICU-data (68l) which led to issues when installing on Node > v14.15. See #61 for reference 👍 |
- fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM to prefer npm instead - add .eslint Fixes: #36
- fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM to prefer npm instead - add .eslint Fixes: #36
- fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM to prefer npm instead - add .eslint Fixes: #36
- fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM to prefer npm instead - add .eslint Fixes: #36
- fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM=1 to prefer npm instead - add .eslint - for ICU 67 and following, fetch from icu4c-___-data-_.zip otherwise fetch from icu4c-src.zip (will only work for little endian) Fixes: #36
Literally years in the making , PTAL #53 |
- fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM=1 to prefer npm instead - add .eslint - for ICU 67 and following, fetch from icu4c-___-data-_.zip - otherwise fetch from icu4c-src.zip for little endian - otherwise, use npm as before Fixes: #36
Fixes: #36 - fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM=1 to prefer npm instead - add .eslint (as well as standard) - for ICU 67 and following, fetch from icu4c-___-data-_.zip - otherwise fetch from icu4c-src.zip for little endian - otherwise, use npm as before - work around ICU issue with data file name https://unicode-org.atlassian.net/browse/ICU-21764
Fixes: #36 - fetch from ICU’s GitHub release instead of npm (ICU v50+) - set env FULL_ICU_PREFER_NPM=1 to prefer npm instead - add .eslint (as well as standard) - for ICU 67 and following, fetch from icu4c-___-data-_.zip - otherwise fetch from icu4c-src.zip for little endian - otherwise, use npm as before - work around ICU issue with data file name https://unicode-org.atlassian.net/browse/ICU-21764 - document the FULL_ICU_PREFER_NPM - test with FULL_ICU_PREFER_NPM=1
See ICU-20600 for the ICU side. Consider pulling the little endian data directly from the ICU src file (
https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz
). BE and EBCDIC could pull from an adjunct data file also published by ICU. This would break the dependency on the manual step of (me) remembering to upload the ICU data.This also would make sure the dot-release issue mentioned in #35 does not occur, because fetching would be specific to the ICU dot release.
Also,
npm install
in postinstall is a bad idea, as #38 points out.The text was updated successfully, but these errors were encountered: