-
Notifications
You must be signed in to change notification settings - Fork 176
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
Using the cached-path crate for downloading and unzipping #1744
Conversation
//! - [`CldrPathsLocal`] which points directly to each local CLDR file, and | ||
//! - [`CldrPathsAllInOne`] which points to a local CLDR tree. |
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.
Do we need both of these going forward? CldrPathsLocal
is unused and I can't think of a scenario where a client has CLDR data but it's not in the CLDR tree.
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.
If getting rid of CldrPathsLocal
makes your life easier, you can get rid of it.
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.
It doesn't make it harder right now, I was just wondering what the idea behind it was.
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.
Versions of CLDR prior to 38 or 39 had separate repos and zip files for each tree, but then they merged them into one big tree. I kept the code for the old layout for the time being, but it can probably be removed now.
Fixes #414
Fixes #1739
Fixes #718
This removes custom CLDR download code, and also adds downloading capabilities for uprops
(however, that doesn't currently work asrelease-70-1
is missing a file, andrelease-71-rc
is missing all uprops data).