Bug 209342 - [ews] Better organize patch status api data
Summary: [ews] Better organize patch status api data
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks: 208938
  Show dependency treegraph
 
Reported: 2020-03-20 09:14 PDT by Aakash Jain
Modified: 2020-03-20 13:45 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.24 KB, patch)
2020-03-20 09:21 PDT, Aakash Jain
jbedard: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2020-03-20 09:14:58 PDT
[ews] Better organize patch status api data. Instead of returning a list of statuses, return a dictionary with queue-name as a key, and queue-status as data. This would make it easier to access patch-status for a particular queue from the data.

For example, instead of:
[{"url": "https://ews-build.webkit-uat.org/#/builders/14/builds/934", "timestamp": 1584709288, "state": 2, "name": "ios-sim"}]

Return:
{"ios-sim": {"url": "https://ews-build.webkit-uat.org/#/builders/14/builds/934", "timestamp": 1584709288, "state": 2}}
Comment 1 Aakash Jain 2020-03-20 09:21:15 PDT
Created attachment 394091 [details]
Patch
Comment 3 Aakash Jain 2020-03-20 13:44:59 PDT
Committed r258786: <https://trac.webkit.org/changeset/258786>
Comment 4 Radar WebKit Bug Importer 2020-03-20 13:45:18 PDT
<rdar://problem/60702843>