| Summary: | [ews] Better organize patch status api data | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||
| Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aakash_jain, ap, jbedard, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=208940 | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 208938 | ||||||
| Attachments: |
|
||||||
Created attachment 394091 [details]
Patch
Committed r258786: <https://trac.webkit.org/changeset/258786> |
[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}}