-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
tools: fix license builder to work with icu-small #7119
Conversation
LGTM if @srl295 is happy with it |
LGTM |
this is only worth keeping in this format for the purpose of backporting to 4.x and 0.12 right? |
@rvagg this fix is required to get the license builder to work on master. The folder-name used by the checked in ICU is different from what the license builder is currently grepping for |
yeah, I'm thinking out loud sorry, in master we could actually get rid of all the conditions as we already have small-ucy in tree, but if we want to keep the tool consistent across branches then we'll have to go with that |
Ahh that makes sense. In theory we could remove all the cases from master and simply leave the license builder in v4 < exactly the way it is. More than happy to update that |
ICU has a new owner so there's some change there. |
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: nodejs#7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
410552b
to
5fd6d75
Compare
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: #7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: #7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: #7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: #7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: #7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Currently the license builder is expecting the ICU package to be found at `deps/icu`. ICU is now included by default and found at `deps/icu-small`. This commit adds logic to find the license at the new location. This could likely be done in a more elegant way, but it works! PR-URL: #7119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
OK- so as of http://bugs.icu-project.org/trac/ticket/12452 the BOM and trailing spaces and junk are fixed in ICU trunk. so for ICU 58 #7844
… would be sufficient. |
Checklist
Affected core subsystem(s)
tools
Description of change
Currently the license builder is expecting the ICU package to be
found at
deps/icu
. ICU is now included by default and found atdeps/icu-small
. This commit adds logic to find the license at the newlocation.
This could likely be done in a more elegant way, but it works!
/cc @srl295 @jasnell