Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a95eeddb2c1315627474b16b2b0576851d74b9fd
      
https://github.com/WebKit/WebKit/commit/a95eeddb2c1315627474b16b2b0576851d74b9fd
  Author: Issac Roy <[email protected]>
  Date:   2026-08-24 (Mon, 24 Aug 2026)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/branch_unittest.py
    M 
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py

  Log Message:
  -----------
  [webkitscmpy] Issue prompt doesn't mention that a bug ID is accepted
https://bugs.webkit.org/show_bug.cgi?id=321199
rdar://184257084

Reviewed by Sam Sneddon.

Branch.ensure_issue already resolves a bare bug ID, but the prompt only
offered "issue URL or title of new issue", so nobody knew. It also offered
"(or issue URL)" when no tracker is configured, where a URL does not resolve
either.

Advertise a bug ID only when one can actually be resolved, which excludes
redacted changes and trackers that hide titles:

    Enter issue URL, bug ID, or title of new issue:
    Enter issue URL or title of new issue:
    Enter name of new branch:

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py:
(Branch.ensure_issue):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/branch_unittest.py:
(TestBranch.test_prompt_git):
(TestBranch.test_prompt_number):
(TestBranch.test_prompt_url):
(TestBranch.test_automatic_radar_cc):
(TestBranch.test_manual_radar_cc):
(TestBranch.test_manual_radar_cc_integer):
(TestBranch.test_manual_radar_cc_http):
(TestBranch.test_radar_cc_disabled):
(TestBranch.test_radar_cc_disabled_override):
(TestBranch.test_no_cc_radar):
(TestBranch.test_redacted):
(TestBranch.test_create_bug):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:

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



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

Reply via email to