Uh oh!
There was an error while loading. Please reload this page.
icu-generic.gyp refactor - merge similar actions - #12218
Conversation
53ff842 to
e1e34c0Comparerefack
commented
Apr 6, 2017
@nodejs/collaborators whomever can CI this, please. I think is finally ready. |
Trott
commented
Apr 6, 2017
0c5478e to
2670dffCompareRefactored parameter selection completely |
Trott
commented
Apr 7, 2017
bnoordhuis
left a comment
There was a problem hiding this comment.
This looks much more complicated than I would have thought necessary. Why is that?
There was a problem hiding this comment.
This introduces a lot of churn for no good reason. Please don't do that, no reviewer likes a noisy diff.
There was a problem hiding this comment.
Sorry about that, it was the "old me", that tried to be cheeky.
Anyway I reverted, as requested.
refack
commented
Apr 7, 2017
YAAAAAASSSSSSSS |
There was a problem hiding this comment.
'icu_data_file' is not used anywhere anymore so I ☠️ed it
@bnoordhuis reduced churn (although I personally like "churn" if it's towards a cleaner code)
I took me too long because I assumed the 4 paths (win +/- small +/-) had more in common then what turned out. I now assume they just diverged over the years. For instance we need to repack for endiness only on non-windows. and |
Also 'action': [ 'python', 'icutrim.py', '-P', '<(PRODUCT_DIR)/.', # '.' suffix is a workaround against GYP assumptions :('-D', '<(icu_data_in)', '-T', '<(icudata_trim_temp)',
'--delete-tmp', ...took some time to figure out since
|
gibfahn
commented
Apr 7, 2017
Me too. If you're doing that you can do it as a separate commit (called |
refack
commented
Apr 7, 2017
Good tip. Next time. |
srl295
commented
Apr 8, 2017
via email
Nononono. Icu_data_file is used client side!!
El abr. 7, 2017 4:02 AM -0700, Refael Ackermann <notifications@github.com>, escribió: … >
> (called squash! refactor code for readability or something)
>
Good tip. Next time.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub (#12218 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AA0Ms0Qfn7f7LiepCMZx7GIiofq_Sbflks5rthe7gaJpZM4MzT6O).
|
refack
commented
Apr 8, 2017
who is the client? |
refack
commented
Apr 8, 2017
@srl295 like native addons? |
srl295
commented
Apr 8, 2017
via email
Add on packages.. use it to find the file. Please leave the variables in the hash.. sorry it's complex we can hash it out if you want. Thanks for trying to simplify
El abr. 8, 2017 11:33 AM -0700, Refael Ackermann <notifications@github.com>, escribió: … >
> Nononono. Icu_data_file is used client side!!
>
@srl295 (https://github.com/srl295) like native addons?
If it's used anywhere I'll use it in icu-generic.gyp to actually set the name of the output 🤔...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (#12218 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AA0Ms2LBgfWXbWGCECr61gF7cesWfVPVks5rt9MNgaJpZM4MzT6O).
|
refack
commented
Apr 8, 2017
Got you! so I'll use it in icu-generic.gyp to actually set the name of the output 👍 |
srl295
commented
Apr 9, 2017
via email
Please accept my +1 for the sentiment. Real review when I get a chance. I'd best explain it all over $Beverage ..
El abr. 8, 2017 3:46 PM -0700, Refael Ackermann <notifications@github.com>, escribió: …@refack commented on this pull request.
In configure (#12218 (comment)):
> # this is the input '.dat' file to use .. icudt*.dat # may be little-endian if from a icu-project.org tarball - o['variables']['icu_data_in'] = icu_data_in - # this is the icudt*.dat file which node will be using (platform endianness) - o['variables']['icu_data_file'] = icu_data_file
Well it's back
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (#12218 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AA0Ms55NAcWqykKPSCemEoX-7qHKXHd4ks5ruA5AgaJpZM4MzT6O).
|
refack
commented
Apr 9, 2017
@srl295 tell me more about it, I don't get it. That file is not vendored by |
also tweak `configure` around icu config
bnoordhuis
commented
May 15, 2017
@refack Are you still working on this? |
refack
commented
May 15, 2017
@bnoordhuis It's stable. |
refack
commented
May 15, 2017
New CI: https://ci.nodejs.org/job/node-test-commit/9893/ P.S. since it's just a |
refack
commented
May 30, 2017
Cross-Ref: #7254 |
refack
commented
Jun 13, 2017
@srl295 I see you're around. |
BridgeAR
commented
Aug 26, 2017
Ping |
refack
commented
Aug 30, 2017
Closing in favor of a better idea. |
Spin off of #11217
After we exorcise the voodoo, it's time to merge some very similar duplicated code
(After @bnoordhuis's observation, the
trimandcode-genactions were parameterized and merged)Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
build, intl