[webkit-changes] [WebKit/WebKit] 0f288b: [git-webkit] Dupe CCed bug when racing bug importer
Jonathan Bedard
noreply at github.com
Thu Aug 31 18:07:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0f288bbe5ec0dcff5c1cb7fba8a3a36789f99b1d
https://github.com/WebKit/WebKit/commit/0f288bbe5ec0dcff5c1cb7fba8a3a36789f99b1d
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M Tools/Scripts/libraries/webkitbugspy/setup.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py
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/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/github_unittest.py
M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py
M Tools/Scripts/libraries/webkitscmpy/setup.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py
Log Message:
-----------
[git-webkit] Dupe CCed bug when racing bug importer
https://bugs.webkit.org/show_bug.cgi?id=260747
rdar://114272849
Reviewed by Aakash Jain.
In some situations, git-webkit ends up racing our bug importer.
In that case, take the radar created by our bug importer and dupe it
to the radar provided by the contributor.
* Tools/Scripts/libraries/webkitbugspy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
(Tracker.populate): Populate bug dupe status.
(Tracker.set): Allow for bug to be closed as a dupe.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/github.py:
(Tracker.set): Link closed bug to a dupe, if applicable.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py:
(Issue.__init__): Add _original value.
(Issue.close): Allow caller to close bug as a duplicate.
(Issue.original): Return the original bug, if closed as a dupe.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/bugzilla.py:
(Bugzilla._issue): Support duping.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py:
(RadarModel.__init__): Support duping.
(RadarModel.commit_changes): Ditto.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py:
(Tracker.populate): Populate bug dupe status.
(Tracker.set): Allow for bug to be closed as a dupe.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py:
(TestBugzilla.test_duplicate):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/github_unittest.py:
(TestGitHub.test_duplicate):
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py:
(TestRadar.test_duplicate):
* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py:
(Branch.main): If the cced radar and provided radar don't match, close the cced radar
as a dupe of the provided radar.
Canonical link: https://commits.webkit.org/267537@main
More information about the webkit-changes
mailing list