icu
icu copied to clipboard
ICU-21755 commit checker: add support for COMMIT_METADATA.md file
ICU-21755
- new option, --commit-metadata= with path to metadata file
- new option, --fix-version=41 (used for SKIP sections)
- scaffolding for 'bad commits' list
- new module CommitMetadata with unit tests
- sample file format TEST_COMMIT_METADATA.md
- such commits are skipped
- refactored the commit skipping part (formerly used for cherry pick skips)
- add a report section for skipped commits
- add a cache for JIRA queries (for dev use): --cache-for-dev "/tmp/cldr-commit-cache"
- add an 'excluded commits' section at the bottom
See https://github.com/unicode-org/cldr/pull/1790 for an example of use and output reports.
@sffc knowing this is controversial in the ticket, we might just keep this open for CLDR's v41 timeframe, and then sort out a landing strategy during/after that.
In other words, I'm not blocked on this landing in the near future, but will just use this branch for CLDR's use, while we asynchronously work out what should actually land.
Hi @sffc … any comments on this? CLDR has been using it for a month or so using https://github.com/unicode-org/cldr/blob/maint/maint-41/.github/COMMIT_METADATA.md
Would this be a good time to split out the commit checker to its own repo? that way at least we could have a cldr
and an icu
branch in that repo representing the latest… and then just cross merge as best as possible.
@sffc ping? is your preference to fork the commit checker?
Hooray! The files in the branch are the same across the force-push. 😃
~ Your Friendly Jira-GitHub PR Checker Bot
@sffc squashed and rebased - OK to merge?
Notice: the branch changed across the force-push!
- tools/commit-checker/check.py is different
- tools/commit-checker/TEST_COMMIT_METADATA.md is different
- tools/commit-checker/test_commit_metadata.py is different
~ Your Friendly Jira-GitHub PR Checker Bot
Notice: the branch changed across the force-push!
- tools/commit-checker/check.py is different
~ Your Friendly Jira-GitHub PR Checker Bot
Notice: the branch changed across the force-push!
- tools/commit-checker/check.py is different
~ Your Friendly Jira-GitHub PR Checker Bot
sorry for the churn. keeping this in draft until @AEApple gets good results
Recent commit checker run was successful!
Other UI improvements.
Please add comments to https://unicode-org.atlassian.net/browse/CLDR-16071 for future improvements
@AEApple FYI. deleted the cldrcc
branch.