[webkit-changes] [WebKit/WebKit] 587755: [webkitbugspy] Support adding keywords during bug ...

Brianna Fan noreply at github.com
Wed Jul 17 15:06:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 587755c4264c6184dffe5d3e3588913cb2c18728
      https://github.com/WebKit/WebKit/commit/587755c4264c6184dffe5d3e3588913cb2c18728
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/bugzilla.py
    M Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py

  Log Message:
  -----------
  [webkitbugspy] Support adding keywords during bug creation
https://bugs.webkit.org/show_bug.cgi?id=276730
rdar://131946982

Reviewed by Jonathan Bedard.

Add keywords field to bug creation.

* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py:
(Tracker.valid_keywords): Fetches all valid keywords for the project.
(Tracker.create): Adds keywords argument and creates bug with desired keyword.
(Tracker):

* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/mocks/bugzilla.py:
(Bugzilla._fields): Added.
(Bugzilla.request): Add mock request for fields.

* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/tests/bugzilla_unittest.py:
(TestBugzilla.test_create): Add check for keywords.
(TestBugzilla.test_invalid_keyword): Added.

Canonical link: https://commits.webkit.org/281066@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list