Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd271e432b99e5a449ed2d7f5997871f47d0e456
      
https://github.com/WebKit/WebKit/commit/cd271e432b99e5a449ed2d7f5997871f47d0e456
  Author: Issac Roy <[email protected]>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py
    M 
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py

  Log Message:
  -----------
  [git-webkit] Consider supporting making the pr command's --(no-)update-title 
flag a sticky option
https://bugs.webkit.org/show_bug.cgi?id=302966
rdar://165225529

Reviewed by Sam Sneddon.

Support reading webkitscmpy.update-title from git config to set the default
behavior of --(no-)update-title, consistent with how other options like
webkitscmpy.update-fork and webkitscmpy.auto-check work.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py: Added
webkitscmpy.update-title to PROJECT_CONFIG_OPTIONS.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py:
(PullRequest.parser): Changed default for update_title from True to None so
the config is only consulted when neither flag was explicitly passed. Updated
help text to document the config key.
(PullRequest.create_pull_request): Read webkitscmpy.update-title from git
config when neither --update-title nor --no-update-title was passed.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:
(TestDoPullRequest.test_github_sticky_no_update_title): Added. Verifies that
webkitscmpy.update-title=false in git config causes the PR title to not be
updated when no flag is passed.
(TestDoPullRequest.test_github_sticky_update_title_override): Added. Verifies
that passing --update-title explicitly overrides a 
webkitscmpy.update-title=false
config value.

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



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

Reply via email to