Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ews-build.webkit.org] Handle trailing cherry-pick annotation
https://bugs.webkit.org/show_bug.cgi?id=255125 rdar://107732291 Reviewed by Aakash Jain. * Tools/CISupport/ews-build/events.py: (CommitClassifier.LineFilter): Renamed from HeaderFilter. (CommitClassifier.__init__): Set trailers. (CommitClassifier.matches): Implement processing of trailers. If a classification defines both headers and trailers, only require either a matching header or a matching trailer, but not both. (GitHubEventHandlerNoEdits.classifiy): Pass commit message trailers to CommitClassifier.matches. (CommitClassifier.HeaderFilter): Renamed to LineFilter. * Tools/CISupport/ews-build/events_unittest.py: (TestCommitClassifier.test_regex_header_filter): (TestCommitClassifier.test_fuzzy_header_filter): (TestCommitClassifier.test_commit_class_gardening): (TestCommitClassifier.test_commit_class_cherry_pick): (TestCommitClassifier.test_commit_class_tools): Canonical link: https://commits.webkit.org/262715@main
- Loading branch information
1 parent
3b1f649
commit 62f3da9
Showing
2 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters