[webkit-changes] [WebKit/WebKit] 13e85e: [git-webkit] Identify all unpicked pickable commits
Jonathan Bedard
noreply at github.com
Tue Oct 25 13:47:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 13e85ed5ecaed35f43d4db23a0d81220f7042022
https://github.com/WebKit/WebKit/commit/13e85ed5ecaed35f43d4db23a0d81220f7042022
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2022-10-25 (Tue, 25 Oct 2022)
Changed paths:
M Tools/Scripts/libraries/webkitscmpy/setup.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pickable.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pickable_unittest.py
Log Message:
-----------
[git-webkit] Identify all unpicked pickable commits
https://bugs.webkit.org/show_bug.cgi?id=246542
rdar://97399813
Reviewed by Dewei Zhu and Elliott Williams.
* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version, add rapidfuzz dependency.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pickable.py:
(fuzzy_filter): Use rapidfuzz if it's available, otherwise use regexes.
(Pickable): Specify default patern categories.
(Pickable.parser): Add --into, --exclude, --scope, --filter and --by arguments.
(Pickable.pickable): Accept commits story, use global exclude list and named filters.
(Pickable.main): Construct a commits story to pass to pickable, use --filter argyuments
to filter commits based on commit message, use --by to filter commits based on author and
pass --scope into commit list to scope pickable query to a specific directory path.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pickable_unittest.py:
(TestPickable.test_none):
(TestPickable.test_main_no_into):
(TestPickable.test_main):
(TestPickable.test_scope):
(TestPickable.test_main_git_svn):
(TestPickable.test_branch_none):
(TestPickable.test_branch_include_versioning):
Canonical link: https://commits.webkit.org/255979@main
More information about the webkit-changes
mailing list