Title: [210576] trunk/Websites/perf.webkit.org
Revision
210576
Author
[email protected]
Date
2017-01-10 20:51:12 -0800 (Tue, 10 Jan 2017)

Log Message

Build fixes for older versions of Postgres.

Also redirect / and /# to /v3/ as intended in r200820.

* public/api/measurement-set.php:
* public/api/runs.php:
* public/index.html:

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (210575 => 210576)


--- trunk/Websites/perf.webkit.org/ChangeLog	2017-01-11 04:07:54 UTC (rev 210575)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2017-01-11 04:51:12 UTC (rev 210576)
@@ -1,3 +1,13 @@
+2017-01-10  Ryosuke Niwa  <[email protected]>
+
+        Build fixes for older versions of Postgres.
+
+        Also redirect / and /# to /v3/ as intended in r200820.
+
+        * public/api/measurement-set.php:
+        * public/api/runs.php:
+        * public/index.html:
+
 2016-10-18  Dewei Zhu  <[email protected]>
 
         Update test cases for change r206465.

Modified: trunk/Websites/perf.webkit.org/public/api/measurement-set.php (210575 => 210576)


--- trunk/Websites/perf.webkit.org/public/api/measurement-set.php	2017-01-11 04:07:54 UTC (rev 210575)
+++ trunk/Websites/perf.webkit.org/public/api/measurement-set.php	2017-01-11 04:51:12 UTC (rev 210576)
@@ -176,7 +176,9 @@
                     LEFT OUTER JOIN build_commits ON commit_build = build_id
                     LEFT OUTER JOIN commits ON build_commit = commit_id, test_runs
                 WHERE run_build = build_id AND run_config = $1 AND NOT EXISTS (SELECT * FROM build_requests WHERE request_build = build_id)
-                GROUP BY build_id, run_id ORDER BY revision_time, revision_order, build_time', array($config_id));
+                GROUP BY GROUP BY build_id, build_builder, build_number, build_time, build_latest_revision, build_slave,
+                    run_id, run_config, run_build, run_iteration_count_cache, run_mean_cache, run_sum_cache, run_square_sum_cache, run_marked_outlier
+                ORDER BY revision_time, revision_order, build_time', array($config_id));
     }
 
     static function format_map()

Modified: trunk/Websites/perf.webkit.org/public/api/runs.php (210575 => 210576)


--- trunk/Websites/perf.webkit.org/public/api/runs.php	2017-01-11 04:07:54 UTC (rev 210575)
+++ trunk/Websites/perf.webkit.org/public/api/runs.php	2017-01-11 04:51:12 UTC (rev 210576)
@@ -79,7 +79,8 @@
                     LEFT OUTER JOIN build_commits ON commit_build = build_id
                     LEFT OUTER JOIN commits ON build_commit = commit_id, test_runs
                 WHERE run_build = build_id AND run_config = $1 AND NOT EXISTS (SELECT * FROM build_requests WHERE request_build = build_id)
-                GROUP BY build_id, run_id', array($config_id));
+                GROUP BY build_id, build_builder, build_number, build_time, build_latest_revision, build_slave,
+                    run_id, run_config, run_build, run_iteration_count_cache, run_mean_cache, run_sum_cache, run_square_sum_cache, run_marked_outlier', array($config_id));
     }
 
     private static function format_run($run) {

Modified: trunk/Websites/perf.webkit.org/public/index.html (210575 => 210576)


--- trunk/Websites/perf.webkit.org/public/index.html	2017-01-11 04:07:54 UTC (rev 210575)
+++ trunk/Websites/perf.webkit.org/public/index.html	2017-01-11 04:51:12 UTC (rev 210576)
@@ -4,7 +4,7 @@
 <title>Perf Monitor is Loading...</title>
 <script>
 
-if (location.hash.indexOf('#mode=dashboard') >= 0)
+if (location.hash.indexOf('#mode=dashboard') >= 0 || !location.hash || location.hash == '#')
     location.href = '';
 
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to