RESOLVED FIXED 191935
[ews-app] Add support to communicate with Buildbot
https://bugs.webkit.org/show_bug.cgi?id=191935
Summary [ews-app] Add support to communicate with Buildbot
Aakash Jain
Reported 2018-11-23 17:57:32 PST
ews-app needs to send patches to Buildbot using 'buildbot try' command. We should add that feature.
Attachments
Proposed patch (4.00 KB, patch)
2018-11-23 19:06 PST, Aakash Jain
lforschler: review+
Aakash Jain
Comment 1 2018-11-23 19:06:20 PST
Created attachment 355550 [details] Proposed patch Part of patch series. Therefore wouldn't apply to ToT without applying other patches first.
Lucas Forschler
Comment 2 2018-11-26 12:51:04 PST
Comment on attachment 355550 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=355550&action=review > Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:44 > + _log.warn('Error in executing: {}, rc={}'.format(command, return_code)) This should be: Error executing: or Error while executing:
Kocsen Chung
Comment 3 2018-11-26 14:59:56 PST
Comment on attachment 355550 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=355550&action=review > Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:35 > + command = ['buildbot', 'try', '--connect=pb', '--master={}:{}'.format(config.BUG_SERVER_HOST, config.BUILDBOT_SERVER_PORT), nit: Have every `--flag [param]` pair be in it's own new line for readability. >> Tools/BuildSlaveSupport/ews-app/ews/common/buildbot.py:44 >> + _log.warn('Error in executing: {}, rc={}'.format(command, return_code)) > > This should be: > Error executing: > or > Error while executing: nit: spell out `rc` => `return code` and have it be on a new line.
Aakash Jain
Comment 4 2018-11-26 17:08:26 PST
> nit: > Have every `--flag [param]` pair be in it's own new line for readability. Sure. > nit: spell out `rc` => `return code` Done > and have it be on a new line. Tried with and without new line, having on same line seems more readable. > > This should be: > > Error executing: Changed.
Aakash Jain
Comment 5 2018-11-26 17:09:21 PST
Radar WebKit Bug Importer
Comment 6 2018-11-26 17:10:59 PST
Note You need to log in before you can comment on or make changes to this bug.