Skip to content
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

deps: Intl: ICU 57 bump #6064

Closed
wants to merge 1 commit into from
Closed

deps: Intl: ICU 57 bump #6064

wants to merge 1 commit into from

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Apr 5, 2016

Pull Request check-list

Please make sure to review and check all of these items:

  • Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with
    this change (including linting)?
  • Is the commit message formatted according to CONTRIBUTING.md?
  • If this change fixes a bug (or a performance problem), is a regression
    test (or a benchmark) included? ( No )
  • Is a documentation update included (if this change modifies
    existing APIs, or introduces new ones)? ( n/a )

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Affected core subsystem(s)

Please provide affected core subsystem(s) (like buffer, cluster, crypto, etc)

Description of change

Please provide a description of the change here.

  • bump to ICU 57.1 - update URL / hash
  • add exclusion list for 57 (sorry, missed 56).
    This will reduce the binary footprint on some platforms.
  • Exclude cstr.cpp to work around
    http://bugs.icu-project.org/trac/ticket/12451 on Windows/MSVC

Fixes: #6058

@srl295
Copy link
Member Author

srl295 commented Apr 5, 2016

/cc @thealphanerd @jbergstroem

@mscdex mscdex added the i18n-api Issues and PRs related to the i18n implementation. label Apr 5, 2016
@srl295
Copy link
Member Author

srl295 commented Apr 5, 2016

OSX: passes except parallel/test-tick-processor. Windows test passed (without small-icu accidentally) with only pipe/network issues. Probably I just didn't hit the right button on firewall questions.

@@ -401,6 +441,30 @@
'../../deps/icu/source/common/uts46.cpp',
'../../deps/icu/source/common/uidna.cpp',
]}],
[ 'icu_ver_major == 57', { 'sources!': [
## Strip out the following for ICU 55 only.
## add more conditions in the future?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## XXX(srl295): (or TODO)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, refactor and removed the todo. (it's done now that there are 57 AND 55 clauses)

* bump to ICU 57.1 - update URL / hash
* add exclusion list for 57 (sorry, missed 56).
  This will reduce the binary footprint on some platforms.
* Exclude cstr.cpp to work around
    http://bugs.icu-project.org/trac/ticket/12451  on Windows/MSVC

Fixes: nodejs#6058
@jasnell
Copy link
Member

jasnell commented Apr 7, 2016

LGTM if CI is green

@jasnell
Copy link
Member

jasnell commented Apr 7, 2016

@srl295 ... would you see any problem in getting this back to v4 also?

@MylesBorins
Copy link
Contributor

ci: https://ci.nodejs.org/job/node-test-pull-request/2207/

If we see the same failures we are seeing on #6088 we might want to consider putting #6088 on ice until the problems are worked out in this thread (to minimize churn and checked in assets)

@MylesBorins
Copy link
Contributor

LGTM if CI is green

@srl295
Copy link
Member Author

srl295 commented Apr 7, 2016

@jasnell no problem in getting this back to v4

@thealphanerd headsmack that's what happened. I didn't merge badly, I just didn't reapply the changes here to tools/icu/icu-generic.gyp from #6064 into #6088. That's why #6088 was failing.

Anyways looks like CI here is green except for some unrelated arm tests.

@srl295 srl295 self-assigned this Apr 7, 2016
@jbergstroem
Copy link
Member

@srl295: Are icu versions backwards-compatible -- I mean, do you have to inspect the changelog for every release or is there some kind of versioning you can rely on?

@srl295
Copy link
Member Author

srl295 commented Apr 8, 2016

@jbergstroem ICU is source-level backwards compatible. So something that compiled against 56 should be able to compile against 57, etc.

@srl295 srl295 mentioned this pull request Apr 8, 2016
4 tasks
@@ -161,6 +161,46 @@
'../../deps/icu/source/i18n/uspoof_impl.h',
'../../deps/icu/source/i18n/uspoof_wsconf.cpp',
'../../deps/icu/source/i18n/uspoof_wsconf.h',
]}],
[ 'icu_ver_major == 57', { 'sources!': [
## Strip out the following for ICU 55 only.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this should be '## Strip out the following for ICU 57 only.'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it should say 57.

@srl295
Copy link
Member Author

srl295 commented Apr 8, 2016

I'm wondering if I should just fold this into #6088. Basically just add the two configure lines fixing the URL from this PR into #6088 and close this one.

Thoughts?

@jasnell
Copy link
Member

jasnell commented Apr 8, 2016

+1.. perhaps keep the commits separate, however.

@srl295
Copy link
Member Author

srl295 commented Apr 8, 2016

@jasnell ok, good idea. I'll implement this ticket in a separate commit

@srl295
Copy link
Member Author

srl295 commented Apr 9, 2016

OK the version bump (url/hash) is now part of #6088

@srl295 srl295 closed this Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-api Issues and PRs related to the i18n implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deps: Intl: ICU 57 bump
7 participants