icu icon indicating copy to clipboard operation
icu copied to clipboard

ICU-21755 commit checker: add support for COMMIT_METADATA.md file

Open srl295 opened this issue 2 years ago • 11 comments

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.

srl295 avatar Mar 11 '22 15:03 srl295

@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.

srl295 avatar Mar 11 '22 15:03 srl295

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

srl295 avatar Apr 06 '22 14:04 srl295

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.

srl295 avatar Apr 06 '22 14:04 srl295

@sffc ping? is your preference to fork the commit checker?

srl295 avatar Jul 26 '22 15:07 srl295

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?

srl295 avatar Jul 26 '22 15:07 srl295

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

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

Notice: the branch changed across the force-push!

  • tools/commit-checker/check.py is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

Notice: the branch changed across the force-push!

  • tools/commit-checker/check.py is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

sorry for the churn. keeping this in draft until @AEApple gets good results

srl295 avatar Jul 26 '22 17:07 srl295

Recent commit checker run was successful!

AEApple avatar Jul 26 '22 20:07 AEApple

Other UI improvements.

Please add comments to https://unicode-org.atlassian.net/browse/CLDR-16071 for future improvements

srl295 avatar Oct 10 '22 20:10 srl295

@AEApple FYI. deleted the cldrcc branch.

srl295 avatar Oct 13 '22 17:10 srl295