-
Notifications
You must be signed in to change notification settings - Fork 385
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
CLDR-17492 Update CLDR to not use utilities-for-cldr anymore #3692
CLDR-17492 Update CLDR to not use utilities-for-cldr anymore #3692
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mihnita something really critical is - does unicodetools still build with this? It needs to build or needs to build soon.
tools/cldr-code/src/main/java/com/ibm/icu/dev/util/ElapsedTimer.java
Outdated
Show resolved
Hide resolved
@mihnita all of your choices LGTM as implemented. like to ensure unicodetools is going to build before merging. |
I have a similar PR for unicodetools: Has one failure, and it does not look like it is from this refactoring. Working with Markus to see why it fails. Feel free to add yourself to that PR, if you want. Thanks, |
@mihnita do you have perms to merge this (if so go ahead) otherwise I will if it's ready |
I don't, I just wanted to send a message. Thank you. |
tools/cldr-code/src/main/java/com/ibm/icu/dev/util/ElapsedTimer.java
Outdated
Show resolved
Hide resolved
@mihnita sub-PR https://github.com/mihnita/cldr/pull/1 - rewrite ElapsedTimer |
Should I revert the new |
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
Yes I'm trying to avoid a license problem. |
try again https://github.com/mihnita/cldr/pull/2 |
All tests pass with the new one, thanks. Do you want me to get this to local, squash, and Or you can do it from GitHub (I don't have the rights to do it) From my side it is ready to merge. Thank you, |
Also with a brand new ElapsedTimer.java
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
@mihnita LGTM. Let's wait until after shakedown (starting tomorrow) to merge. |
We are launching Shakedown tomorrow morning. So we should not merge this, just in case it could cause instabilities. Friday should be fine. I'm converting to draft just so someone doesn't inadvertently merge. |
Thank you everybody! |
fix userlist to not be in milliseconds. Unexpected side effect of unicode-org#3692
fix userlist to not be in milliseconds. Unexpected side effect of unicode-org#3692
CLDR-17492
WARNING: all the code changes are OK, but I need some help / opinions.
UOption
andElapsedTimer
are not used by ICU anymore, and are moved to CLDR.I've put them in
tools/cldr-code/src/main/java/com/ibm/icu/dev/util/
If that does not seem like the right place, let me know and I will move them.
UOption
is used many times intools/cldr-code
, but also used once intools/cldr-apps
More precisely by
tools/cldr-apps/src/test/java/org/unicode/cldr/unittest/web/perf/PerfTest.java
That was a fork of the same class in ICU, in
icu4j/perf-tests/src/main/java/com/ibm/icu/dev/test/perf/PerfTest.java
But it looks like it was forked, and never used, except by
tools/cldr-apps/src/test/java/org/unicode/cldr/unittest/web/perf/NullPerf.java
, which looked like a placeholder, doing nothing.One option was to put
UOption
in some common place, where it can be used by bothtools/cldr-apps
andtools/cldr-code
The other option was to remove that unused code from
tools/cldr-apps
I went with the deletion.
Between the previous ICU 76.0.1 snapshot and now the ICU repo was updated with some Unicode 16 data, which also adds a few scripts.
See
com.ibm.icu.lang.UScript
hereI added (temporarily) the missing entries to
common/supplemental/likelySubtags.xml
(in this PR),between special comments:
I don't know what the right process is to add such scripts, I only did it that the code changes are fine and the PR doesn't fail.
Let me know if you have a better way to do this, and I'll do it.
It just looked like a chicken-and-egg problem.
Without this PR CLDR can't start using the new ICU (and stop using utilities-for-cldr), but this CL can't go in with the old ICU (because
UnicodeMap
is now in ICU proper)So that was my way to break the impasse, temporarily add them.
ALLOW_MANY_COMMITS=true