Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[git-webkit] Provide mechanism to exempt bugs from redaction #12382

Commits on Apr 5, 2023

  1. [git-webkit] Provide mechanism to exempt bugs from redaction

    https://bugs.webkit.org/show_bug.cgi?id=254993
    rdar://107615755
    
    Reviewed by Geoffrey Garen.
    
    It is often the case that we with to (eventually) publish changes which are
    redacted when they are written. git-webkit should support a mechanism to mark
    bugs (and by extension, the commits associated with those bug) as exempt from
    redaction.
    
    * Tools/Scripts/hooks/pre-push: Do not flag class 3 commits if an issue is
    exempt from redaction.
    * Tools/Scripts/libraries/webkitbugspy/setup.py: Bump version.
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto.
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
    (Tracker.__init__): Pass redact_exemption.
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py:
    (Tracker.__init__): Pass redact_exemption.
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py:
    (Issue.redacted): Check if an issue is exempt from redaction.
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
    (Tracker.__init__): Pass redact_exemption.
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py:
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/github_unittest.py:
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py:
    * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tracker.py:
    (Tracker.Redaction): Support defining a redaction exemption.
    (Tracker.from_json): Pass redact_exemption.
    (Tracker.__init__): Ditto.
    * 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):
    * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:
    * metadata/trackers.json: Exempt radars with the 'WebKit Cleared for Publication' keyword.
    
    Canonical link: https://commits.webkit.org/262617@main
    JonWBedard committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    e7a1365 View commit details
    Browse the repository at this point in the history