Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1517cb01bf1f338b0486f5c72ac9c3a02f784524 https://github.com/WebKit/WebKit/commit/1517cb01bf1f338b0486f5c72ac9c3a02f784524 Author: Jonathan Bedard <jbed...@apple.com> Date: 2024-04-16 (Tue, 16 Apr 2024)
Changed paths: M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.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/github_unittest.py M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py Log Message: ----------- [webkitbugspy] Add support for sourceChanges https://bugs.webkit.org/show_bug.cgi?id=254023 rdar://106808712 Reviewed by Dewei Zhu. Add tooling to support the "sourceChanges" field in Radar, specify that field as unsupported in GitHub and Bugzilla. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py: (Tracker.populate): Populate source_changes with an empty list. (Tracker.set): Reject any attempts to modify the unsupported source_changes field. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py: (Tracker.populate): Populate source_changes with an empty list. (Tracker.set): Reject any attempts to modify the unsupported source_changes field. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py: (Issue.__init__): Add _source_changes field. (Issue.source_changes): Return _source_changes. (Issue.add_source_change): Add a source change to the source_changes field. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py: (RadarModel.__init__): Add sourceChanges field, if specified. (RadarModel.commit_changes): Commit sourceChanges, if available. (RadarClient.radar_for_id): Pass additional fields to RadarModel constructor. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py: (Tracker.populate): Parse and populate source_changes. (Tracker.set): Construct and update sourceChange field. * 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: Canonical link: https://commits.webkit.org/277553@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes