-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 270193@main (9c049ce). rdar://113880142
[webkitbugspy] Set keywords on issues https://bugs.webkit.org/show_bug.cgi?id=260184 rdar://113880142 Reviewed by Dewei Zhu. Tools and services should be able to add and remove keywords from radars and bugzillas. * Tools/Scripts/libraries/webkitbugspy/setup.py: Bump version. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py: (Tracker.set): Add ability to set keywords. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/issue.py: (Issue.set_keywords): Set keywords in tracker implementation. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/bugzilla.py: (Bugzilla._issue): Mock adding and setting keywords. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/radar.py: (RadarModel.keywords): Pull from pre-constructed Keyword objects. (RadarModel.remove_keyword): Remove a keyword from the issue. (RadarModel.add_keyword): Add a keyword to the issue. (RadarClient.keywords_for_name): List all keywords starting with a given string. (Radar.__init__): Construct set of available keywords. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/radar.py: (Tracker.__init__): Keep track of previously queries keywords. (Tracker.set): Add and remove keywords from a radar. * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py: * Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/radar_unittest.py: Canonical link: https://commits.webkit.org/270193@main Canonical link: https://commits.webkit.org/267815.562@safari-7617-branch
- Loading branch information
1 parent
03fee13
commit 2c7b4d7
Showing
9 changed files
with
94 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters