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

CLDR-13090 Added a helper function to obtain Attribute instances efficiently. #48

Merged
merged 1 commit into from Jun 26, 2019

Conversation

hagbard
Copy link
Contributor

@hagbard hagbard commented Jun 7, 2019

This should be one of only a small number of changes to existing code required to support the new CLDR data API.

I'm not necessarily seeking a merge at this stage, but just putting the expected changes out for discussion. The prototype API and some unit tests will be added separately (or if people want I can combine into a single pull request).

It turned out to be effectively impossible to simply isolate existing methods and classes to move/expose for a public API, and what I've ended up doing is create a very minimal new API in a new package (but using lots of the existing CLDR classes behind the scenes). This means that there won't be much changing with existing code, which is nice because it removes any risk of breaking things while the new API and ICU tools are being converted to the new API.

@CLAassistant
Copy link

CLAassistant commented Jun 7, 2019

CLA assistant check
All committers have signed the CLA.

@hagbard hagbard changed the title Added a helper function to obtain Attribute instance efficiently. CLDR-11049: Added a helper function to obtain Attribute instances efficiently. Jun 7, 2019
@hagbard hagbard changed the title CLDR-11049: Added a helper function to obtain Attribute instances efficiently. CLDR-11049: Added a helper function to obtain Attribute instance efficiently. Jun 7, 2019
@hagbard hagbard changed the title CLDR-11049: Added a helper function to obtain Attribute instance efficiently. CLDR-11049 Added a helper function to obtain Attribute instances efficiently. Jun 7, 2019
@macchiati
Copy link
Member

BTW, cleaning up the formatting at the same time as making substantive changes to items is confusing for review. Please do one or the other in a PR, not both.

@hagbard
Copy link
Contributor Author

hagbard commented Jun 7, 2019

Yeah, I'd only just realised that my editor was stripping EOL whitespace. I'll undo that!!

@hagbard
Copy link
Contributor Author

hagbard commented Jun 7, 2019

Right, hopefully that's sorted it. Also, I'm not sure what to do about the error:
""Jira ticket CLDR-11049 is not accepted; it has status Design""

@macchiati
Copy link
Member

Change looks good.

The process requires a ticket first before merging (see the above), and that ticket will need to be approved. If you file the ticket, I can send around to people to approve.

@hagbard
Copy link
Contributor Author

hagbard commented Jun 7, 2019

https://unicode-org.atlassian.net/projects/CLDR/issues/CLDR-13090
Should I update the title in this pull request?

@hagbard hagbard changed the title CLDR-11049 Added a helper function to obtain Attribute instances efficiently. CLDR-13090 Added a helper function to obtain Attribute instances efficiently. Jun 7, 2019
@macchiati
Copy link
Member

macchiati commented Jun 7, 2019 via email

macchiati
macchiati previously approved these changes Jun 13, 2019
Copy link
Member

@macchiati macchiati left a comment

Choose a reason for hiding this comment

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

Looks good, you can merge now.

@macchiati
Copy link
Member

Looks like the wrong commit message was used. See the details on the ticket check.

@hagbard
Copy link
Contributor Author

hagbard commented Jun 25, 2019

Hmm, so how do I change the commit message? I cannot see a way to edit it.

@jira-pull-request-webhook
Copy link

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@macchiati
Copy link
Member

It happens when there is a commit that doesn't have the ticket number at the start of the commit message. There's a "Details" link on the check that lets you squash with new message.

Looks like you fixed that, so it should go forward.

@hagbard
Copy link
Contributor Author

hagbard commented Jun 25, 2019

hmm, so now it's complaining I'm not "authorized" to merge this :(

@macchiati
Copy link
Member

I'm merging, since David doesn't have access.

@macchiati macchiati merged commit b8803b1 into unicode-org:master Jun 26, 2019
@hagbard hagbard deleted the small_tweak branch July 2, 2019 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants