[webkit-changes] [WebKit/WebKit] 00b847: [git-webkit] Pull branch name from commit message
Jonathan Bedard
noreply at github.com
Thu Oct 6 16:49:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 00b8477c7f93324fb03a3adb886ad0a4f3d6a72f
https://github.com/WebKit/WebKit/commit/00b8477c7f93324fb03a3adb886ad0a4f3d6a72f
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2022-10-06 (Thu, 06 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/commit.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/commit_unittest.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py
Log Message:
-----------
[git-webkit] Pull branch name from commit message
https://bugs.webkit.org/show_bug.cgi?id=245675
<rdar://problem/100412099>
Reviewed by Dewei Zhu.
* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/commit.py:
(Commit.issues): Parse the commit message for issues.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py:
(PullRequest.title_for): Handle case where commit message is empty.
(PullRequest.pull_request_branch_point): Extract the associated issue from the commit message of a local
commit, if possible.
(PullRequest.is_revert_commit): Handle case where commit message is empty.
(PullRequest.add_comment_to_reverted_commit_bug_tracker): Use Commit object's issues list.
(PullRequest.create_pull_request): Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/commit_unittest.py:
(TestCommit):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:
Canonical link: https://commits.webkit.org/255245@main
More information about the webkit-changes
mailing list