RESOLVED FIXED 191947
[ews-app] Fetch bugs from Bugzilla and submit to Buildbot
https://bugs.webkit.org/show_bug.cgi?id=191947
Summary [ews-app] Fetch bugs from Bugzilla and submit to Buildbot
Aakash Jain
Reported 2018-11-24 17:42:53 PST
ews-app should fetch bugs from Bugzilla and submit to Buildbot appropriately.
Attachments
Proposed patch (4.51 KB, patch)
2018-11-27 06:31 PST, Aakash Jain
no flags
Updated patch (4.46 KB, patch)
2018-11-28 04:04 PST, Aakash Jain
lforschler: review+
Aakash Jain
Comment 1 2018-11-27 06:31:14 PST
Created attachment 355729 [details] Proposed patch
Kocsen Chung
Comment 2 2018-11-27 11:23:14 PST
Comment on attachment 355729 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=355729&action=review > Tools/BuildSlaveSupport/ews-app/ews/fetcher.py:32 > +class Fetcher(): Should we call this BugzillaPatchFetcher for descriptiveness? > Tools/BuildSlaveSupport/ews-app/ews/fetcher.py:63 > + def validate_patch_ids(cls, patch_ids): Since it's not only validating but also removing we can probably call this: `filter_valid_patches(cls, patch_ids)`. > Tools/BuildSlaveSupport/ews-app/ews/fetcher.py:66 > + patch_ids.remove(patch_id) Sounds like we can use `filter()` for this. Something like: ```python return list(filter(lambda p: Patch.is_valid_patch_id(patch_id), patch_ids)) ```
Aakash Jain
Comment 3 2018-11-28 04:04:59 PST
Created attachment 355861 [details] Updated patch > Should we call this BugzillaPatchFetcher for descriptiveness? Changed. Not sure if we should rename the file as well. It would be too long for file name. I guess we can leave the file name as is. > Since it's not only validating but also removing we can probably call this: `filter_valid_patches(cls, patch_ids)`. Done. > Sounds like we can use `filter()` for this. Done.
Lucas Forschler
Comment 4 2018-11-28 11:54:30 PST
Comment on attachment 355861 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=355861&action=review R+ with minor nit. > Tools/BuildSlaveSupport/ews-app/ews/fetcher.py:56 > + #FIXME: sent an email for this failure nit: s/sent/send
Aakash Jain
Comment 5 2018-11-28 14:20:28 PST
Radar WebKit Bug Importer
Comment 6 2018-11-28 14:21:50 PST
Note You need to log in before you can comment on or make changes to this bug.