Skip to content

Big icu_provider renaming #2207

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

Merged
merged 3 commits into from
Jul 19, 2022
Merged

Conversation

robertbastian
Copy link
Member

Part of #1576

Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

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

Initial comments

@@ -75,7 +75,7 @@

- General data model
- `DataPayload` no longer needs a lifetime (#1297, #1279)
- Re-write ResourceKey (#1511)
- Re-write DataKey (#1511)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Don't backport name changes to docs and changelog that are temporal

Copy link
Member Author

Choose a reason for hiding this comment

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

We have actually done this in other renamings as well (Format -> Formatter). I think it makes sense, these are clean renames and the change log will be harder to interpret if the names in it don't exist anymore.

@@ -126,12 +126,12 @@ impl Collator {
}
filtered_locale
};
let resource_options: ResourceOptions = locale.into();
let data_options: DataOptions = locale.into();
Copy link
Member

Choose a reason for hiding this comment

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

Nit (optional): Since you're in this code anyway would you consider changing it to DataLocale now? If not or you still want to talk about that, it can be done later

Copy link
Member Author

Choose a reason for hiding this comment

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

These are the names we've agreed on for now, let's do this separately. DataLocale also requires renaming lots of variables from options to locale, so it's actually more than just renaming the type.

@robertbastian robertbastian requested a review from sffc July 19, 2022 08:24
Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

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

Let's merge while it's green

@robertbastian robertbastian merged commit 1876f49 into unicode-org:main Jul 19, 2022
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.

3 participants