Skip to content

Conversation

@macchiati
Copy link
Member

CLDR-17570

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

@macchiati macchiati marked this pull request as ready for review March 25, 2025 23:53
pedberg-icu
pedberg-icu previously approved these changes Mar 26, 2025
srl295
srl295 previously approved these changes Mar 26, 2025
Comment on lines +20 to +23
providers.add(
FixedCandidateProvider.forXPath(
"//ldml/numbers/rationalFormats/rationalUsage",
List.of("never", "sometimes")));
Copy link
Member

Choose a reason for hiding this comment

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

perfect!

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, maybe it was perfect but not good!

Copy link
Member

Choose a reason for hiding this comment

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

  • you don't need to be in the survey tool. you could augment the unit test TestFixedCandidate.testDefaultCandidates() with a specific case. That's why this is split out from the ST code.

Maybe something like this?

Suggested change
providers.add(
FixedCandidateProvider.forXPath(
"//ldml/numbers/rationalFormats/rationalUsage",
List.of("never", "sometimes")));
providers.add(
FixedCandidateProvider.forXPathPattern(
"//ldml/numbers/rationalFormats(?:\[@numberingSystem=[^]]*\])?/rationalUsage",
List.of("never", "sometimes")));
Copy link
Member Author

Choose a reason for hiding this comment

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

Dooh. Thanks.

@pedberg-icu I'm looking forward to getting rid of the numbers system less paths. Too easy to stumble with those.

@macchiati macchiati dismissed stale reviews from srl295 and pedberg-icu via dee5ec2 March 26, 2025 18:08
@macchiati
Copy link
Member Author

Just fixed test failure

@macchiati
Copy link
Member Author

Can someone rubberstamp this, so I can merge? Steven approved, and there was just a small fix for a test failure afterwards.

@macchiati macchiati merged commit cd24f4d into main Mar 26, 2025
16 checks passed
@macchiati macchiati deleted the CLDR-17570-Exclude-rational-formats-from-some-checks branch March 26, 2025 22:08
@macchiati
Copy link
Member Author

How can I fix it? I can't debug the survey tool.

@srl295
Copy link
Member

srl295 commented Mar 27, 2025

How can I fix it? I can't debug the survey tool.

If you can ever get Docker and or Mysql installed locally, you too could debug the survey tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants