[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}}
Created attachment 394091 [details] Patch
e.g.: https://ews.webkit-uat.org/status/393862/ https://ews.webkit-uat.org/status/390184/
Committed r258786: <https://trac.webkit.org/changeset/258786>
<rdar://problem/60702843>