Skip to content

Conversation

@srl295
Copy link
Member

@srl295 srl295 commented Feb 4, 2025

  • subdivisions should be tiered for consistency (and if we subset it someday)
  • transforms is NOT tiered
  • calculate tier from output directory, where possible
  • also cleanup PACKAGES.md

CLDR-18277

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

- subdivisions should be tiered for consistency (and if we subset it someday)
- transforms is NOT tiered
- calculate tier from output directory, where possible
- also cleanup PACKAGES.md
@srl295 srl295 self-assigned this Feb 4, 2025
@sffc sffc removed their request for review February 4, 2025 22:05
@srl295 srl295 requested review from robertbastian and sffc and removed request for sffc February 6, 2025 17:51
bcp47(false, false),
transforms(false, false),
subdivisions(false, true);
subdivisions(true, true);
Copy link
Member

Choose a reason for hiding this comment

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

isTiered, hasLocales

}

// if not tiered
if (!tiered) {
Copy link
Member

Choose a reason for hiding this comment

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

ideally there should be a subroutine isTiered to encapsulate this, and it would return false as soon as it saw "core". The surrounding method writePackageList is too long, over 100 lines; it's writing two files at once, cldr-packages.json and PACKAGES.md. It would be helpful -- make changes easier to review -- if it were organized into subroutines

Copy link
Member Author

Choose a reason for hiding this comment

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

yes and part of the challenge is that it's not looking at RunType at that point but output directories. But agree on subroutines.

@srl295 srl295 merged commit 74465b7 into unicode-org:main Feb 11, 2025
13 checks passed
@srl295 srl295 deleted the cldr-18277/json-wrong-packages branch February 11, 2025 18:49
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.

2 participants