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

Add ICU4X 1.5 #239

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add ICU4X 1.5 #239

wants to merge 4 commits into from

Conversation

robertbastian
Copy link
Member

No description provided.

@sffc
Copy link
Member

sffc commented Jun 19, 2024

Can this be done in a way that reduces duplication especially in main.rs?

@robertbastian
Copy link
Member Author

with a lot of work sure. is it worth it?

@sven-oly
Copy link
Collaborator

Thanks for working on this, Rob!

Question to Shane & Elango: any reason not to approve this? A new main.rs may be necessary.

Comment on lines +107 to +125
// TODO!!! : supported_test_map to call the functions.
let json_result = if test_type == "collation_short" {
run_collation_test(&json_info)
} else if (test_type == "decimal_fmt") || (test_type == "number_fmt") {
run_numberformat_test(&json_info)
} else if (test_type == "display_names")
|| (test_type == "language_display_name")
|| (test_type == "lang_names")
{
run_language_name_test(&json_info)
} else if test_type == "likely_subtags" {
run_likelysubtags_test(&json_info)
} else if test_type == "list_fmt" {
run_list_fmt_test(&json_info)
} else if test_type == "plural_rules" {
run_plural_rules_test(&json_info)
} else {
Err(test_type.to_string())
};
Copy link
Member

Choose a reason for hiding this comment

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

This kind of code is highly likely to go stale. It would be nice to keep it in sync across versions. I don't immediately see why it needs to be different between 1.4 and 1.5?

@@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
icu4x-version: [ '1.3', '1.4' ]

Choose a reason for hiding this comment

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

icu4x- version: [ '1.3' , '1.4' ]

@sven-oly
Copy link
Collaborator

Hey Rob, can we resolve these issues to add version 1.5? How can I help?

@robertbastian
Copy link
Member Author

Maybe @sffc can update this to his satisfaction.

@sffc
Copy link
Member

sffc commented Sep 27, 2024

It's a bit unfortunate that this has bitrot since I left my review in June/July

@robertbastian
Copy link
Member Author

It's very unfortunate that this was not merged in June.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants