[webkit-changes] [WebKit/WebKit] 9384f3: [git-webkit] Prevent publication of commits for re...

Jonathan Bedard noreply at github.com
Tue Apr 18 15:36:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9384f300d86501ffe1075a54af01fd1f185423c7
      https://github.com/WebKit/WebKit/commit/9384f300d86501ffe1075a54af01fd1f185423c7
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.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] Prevent publication of commits for redacted PRs
https://bugs.webkit.org/show_bug.cgi?id=254627
rdar://107343169

Reviewed by Dewei Zhu.

Since we have a way of marking issues as exempt from redaction, local tooling
should not aid the user in uploading commits for redacted issues.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py:
(PullRequest.create_pull_request): Exit program if user declines (or cannot) upload
a redacted change.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:

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




More information about the webkit-changes mailing list