[webkit-changes] [WebKit/WebKit] 13d9ff: [webkitbugspy] Access issue milestone
Jonathan Bedard
noreply at github.com
Thu Jan 12 08:26:35 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 13d9ff026e7598cf017132981a32186bb4bde3a5
https://github.com/WebKit/WebKit/commit/13d9ff026e7598cf017132981a32186bb4bde3a5
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M Tools/Scripts/libraries/webkitbugspy/setup.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/data.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/github.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] Access issue milestone
https://bugs.webkit.org/show_bug.cgi?id=250493
rdar://104147220
Reviewed by Aakash Jain.
* Tools/Scripts/libraries/webkitbugspy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py:
(Tracker.populate): Extract milestone from GitHub response.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py:
(Issue.__init__): Add _milestone member variable.
(Issue.milestone): Populate _milestone, if not already done. Treat empty milestone as None.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/data.py: Add milestones.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/github.py:
(GitHub._issue): Include milestone in response.
(GitHub._create): Ditto.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py:
(RadarModel.Milestone): Add.
(RadarModel.__init__): Use mock Milestone class.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
(Tracker.populate): Extrat milestone from Radar object.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py:
(test_milestone):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/github_unittest.py:
(test_milestone):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py:
(test_milestone):
Canonical link: https://commits.webkit.org/258831@main
More information about the webkit-changes
mailing list