New flakiness dashboard should hyperlink test names, WebKit revisions, and bubbles
[WebKit-https.git] / Websites / test-results / api / manifest.php
index 19cf6f9..20fb7df 100644 (file)
@@ -4,9 +4,17 @@ require_once('../include/json-shared.php');
 
 $db = connect();
 
+$repositories = $db->fetch_table('repositories');
+foreach ($repositories as &$value)
+    $value['blameUrl'] = $value['blame_url'];
+
+$builders = $db->fetch_table('builders');
+foreach ($builders as &$value)
+    $value['buildUrl'] = $value['build_url'];
+
 exit_with_success(array('tests' => $db->fetch_table('tests'),
-    'builders' => $db->fetch_table('builders'),
+    'builders' => $builders,
     'slaves' => $db->fetch_table('slaves'),
-    'repositories' => $db->fetch_table('repositories')));
-
+    'repositories' => $repositories,
+    'testCategories' => config('testCategories')));
 ?>