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

  Changed paths:
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/bugzilla.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py
    M 
Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tracker.py

  Log Message:
  -----------
  [webkitbugspy] Cannot remove a relation between two issues
https://bugs.webkit.org/show_bug.cgi?id=322308
rdar://problem/185553192

Reviewed by Sam Sneddon.

Relations could only be added. Bugzilla's 'relate' sent '{"add": [...]}' and
radar's created a relationship, with no way to undo either, so a tool which
records a dependency between two issues cannot later forget it and a stale
relation has to be removed by hand.

Add 'unrelate', which Bugzilla implements by sending '{"remove": [...]}'
through the request 'relate' already builds and radar by deleting a
relationship the radar already holds. 'duplicate-of' and 'original-of' are not
removable this way, since they are recorded as a resolution rather than as a
relationship.

* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py:
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
(Tracker):

* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py:
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
(Tracker):
(Tracker._modify_relations):
(Tracker.relate):
(Tracker.unrelate):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py:
(Issue.unrelate):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/bugzilla.py:
(Bugzilla._issue):
(Bugzilla._issue.related_for):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py:
(RadarModel.__init__):
(RadarModel.commit_changes):
(RadarModel.delete_relationship):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
(Tracker.remove_relationship):
(Tracker):
(Tracker.unrelate):
(Tracker.relation_key):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py:
(test_relate_simple):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py:
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tracker.py:
(Tracker.unrelate):
(Tracker):
(Tracker.relation_key):

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



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

Reply via email to