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-17418 GenerateLanguageContainment: avoid loops #3535

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Feb 27, 2024

Update Containment to not stack overflow when there are containment loops.
Report the loops (sparingly) to console.

(cherry picked from commit d1ae5db #3249)

CLDR-17418

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

Copy link
Member Author

@srl295 srl295 left a comment

Choose a reason for hiding this comment

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

I can't do GenerateLanguageContainment because of crashes. This turns the crashes (Noted since Aug 2023 and before) into errors.

macchiati
macchiati previously approved these changes Feb 27, 2024
@srl295
Copy link
Member Author

srl295 commented Feb 27, 2024

@macchiati quick addition: failing exit status, and final error message. So the loop errors don't get buried.

@srl295 srl295 changed the title CLDR-15020 GenerateLanguageContainment: avoid loops CLDR-17418 GenerateLanguageContainment: avoid loops Feb 27, 2024
@srl295
Copy link
Member Author

srl295 commented Feb 27, 2024

@macchiati are you OK with my accepting the subtask of your task?

@macchiati
Copy link
Member

Yes, of course; any fixes for BRS tools get auto-accepted.

See unicode-org#3535

Update Containment to not stack overflow when there are containment loops.
Report the loops (sparingly) to console.
See CLDR-15020

(cherry picked from commit d1ae5db)
@srl295 srl295 force-pushed the cldr-15020/cldr-17418/language-containment-loops branch from 322c159 to 9721cc1 Compare February 28, 2024 00:42
@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

@srl295 srl295 merged commit 4b7d87a into unicode-org:main Feb 28, 2024
10 checks passed
@srl295 srl295 deleted the cldr-15020/cldr-17418/language-containment-loops branch February 28, 2024 01:08
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