[webkit-changes] [WebKit/WebKit] 0b1ed5: [webkitscmpy] Support calling classify without rep...

Jonathan Bedard noreply at github.com
Tue Jan 21 11:46:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0b1ed539b43175c7c96a85c969c97799a9a389bf
      https://github.com/WebKit/WebKit/commit/0b1ed539b43175c7c96a85c969c97799a9a389bf
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/commit_classifier.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/classify_unittest.py

  Log Message:
  -----------
  [webkitscmpy] Support calling classify without repository
https://bugs.webkit.org/show_bug.cgi?id=286183
rdar://143161683

Reviewed by Brianna Fan.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/commit_classifier.py:
(CommitClassifier.LineFilter.fuzzy): Drive-by fix to support classifiers when rapidfuzz is unavailable.
(CommitClassifier.classify): Support undefined repository in function call.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/classify_unittest.py:
(TestClassify.test_path_no_repository): Add test.

Canonical link: https://commits.webkit.org/289193@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list