[webkit-changes] [WebKit/WebKit] 383f97: [webkitbugspy] Add support for sourceChanges
Jonathan Bedard
noreply at github.com
Wed Mar 22 15:41:05 PDT 2023
Branch: refs/heads/eng/webkitbugspy-Add-support-for-sourceChanges
Home: https://github.com/WebKit/WebKit
Commit: 383f97ae5e79d1549f9d806b07bd976481b6c909
https://github.com/WebKit/WebKit/commit/383f97ae5e79d1549f9d806b07bd976481b6c909
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2023-03-16 (Thu, 16 Mar 2023)
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 NOBODY (OOPS!).
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:
More information about the webkit-changes
mailing list