-
Notifications
You must be signed in to change notification settings - Fork 185
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
Fixes for the data provider doc #145
Conversation
Pull Request Test Coverage Report for Build ad15379abdcf51e6dee1b3d8d379e080f5135cf6-PR-145
💛 - Coveralls |
@@ -12,7 +12,7 @@ The following terms are used throughout this document. | |||
- **Format Version:** A version of the file format, abstracted away from the schema version and data version. For example, Protobuf 2 and Protobuf 3 are format versions. | |||
- **Format:** How the data is stored on disk or provided from a service. Examples of data formats: JSON, YAML, Memory-Mapped, Protobuf. The format is internal to the data provider. | |||
- **Hunk:** A small piece of locale data relating to a specific task. For example, the name of January might be a hunk, and a list of all month names could also be considered a hunk. A data piece is expected to reflect a specific type. | |||
- **LangID:** A tuple of language, script, and region. LangID is a request variable. Subtags should be handled by the ICU4X code rather than the data provider. | |||
- **LangID:** A tuple of language, script, and region. LangID is a request variable. Unicode Locale Extensions should be handled by the ICU4X code rather than the data provider. |
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.
Just curious, was this change to help be more specific and narrow the scope to more immediately needs?
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.
I wanted to be more specific that the subtags I was talking about are the Unicode Locale Extensions.
@@ -160,3 +172,5 @@ The data version is expected to be a well-defined, namespaced identifier for the | |||
- `FOO_1_1` → Version 1.1 of data from a hypothetical data source named Foo | |||
|
|||
The first data version subtag, or namespace, defines the syntax for the remainder of the identifier. For example, the `CLDR` namespace might accept two or three subtags: major version (`37`), minor version (`alpha1`), and optional patch version (`goog2020a`). | |||
|
|||
*Note:* The syntax for the data version is undefined at this time. What is shown above is merely a strawman example. |
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.
Glad that this was noted as such. FWIW, after I saw this talk on versioning, I started to think differently about semantic versioning (not assuming it to the be standard / best way) and to think about compatibility and versioning of code differently (or at least be more cautious & considerate). But that's just my current perspective.
Fixes #10
Fixes #88