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

Fixes for the data provider doc #145

Merged
merged 2 commits into from
Jun 26, 2020
Merged

Fixes for the data provider doc #145

merged 2 commits into from
Jun 26, 2020

Conversation

sffc
Copy link
Member

@sffc sffc commented Jun 23, 2020

Fixes #10
Fixes #88

@sffc sffc requested a review from echeran June 23, 2020 02:20
@sffc sffc requested a review from a team as a code owner June 23, 2020 02:20
@coveralls
Copy link

Pull Request Test Coverage Report for Build ad15379abdcf51e6dee1b3d8d379e080f5135cf6-PR-145

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.199%

Totals Coverage Status
Change from base Build e0ad86f83a7bed3080f2ecea84acaa34fd858659: 0.0%
Covered Lines: 688
Relevant Lines: 789

💛 - 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.
Copy link
Contributor

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?

Copy link
Member Author

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.
Copy link
Contributor

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.

@sffc sffc linked an issue Jun 26, 2020 that may be closed by this pull request
@sffc sffc merged commit 9de1568 into unicode-org:master Jun 26, 2020
@sffc sffc deleted the issue10 branch June 26, 2020 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants