rebaseline_server: include setA/setB descriptions in output JSON
authorepoger <epoger@google.com>
Thu, 14 Aug 2014 14:12:46 +0000 (07:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 Aug 2014 14:12:46 +0000 (07:12 -0700)
commit5c4b137592a7937b4d02d72a976fa783f8d3675a
tree959f98a6be765d248f9804a6b6620da13ce1c4fe
parent3b6255493e458c6b2c1412af908581f0bf3f6b70
rebaseline_server: include setA/setB descriptions in output JSON

This is needed for rebaselining using the shared rebaseline_server instance:
by telling the client which git revision was used to fetch expectations, we
allow the client to pass that back along with new baselines (so the server
knows which revision to patch).

This is also handy in that it allows the server to tell the client more about the
different result sets (which files they were generated from).

BUG=skia:1918
NOTRY=true
R=rmistry@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/474813002
13 files changed:
gm/gm_json.py
gm/rebaseline_server/compare_configs.py
gm/rebaseline_server/compare_rendered_pictures.py
gm/rebaseline_server/compare_rendered_pictures_test.py
gm/rebaseline_server/compare_to_expectations.py
gm/rebaseline_server/results.py
gm/rebaseline_server/server.py
gm/rebaseline_server/static/constants.js
gm/rebaseline_server/static/live-view.html
gm/rebaseline_server/testdata/outputs/expected/compare_configs_test.CompareConfigsTest.test_gm/gm.json
gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json
gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_repo_url/compare_rendered_pictures.json
gm/rebaseline_server/testdata/outputs/expected/compare_to_expectations_test.CompareToExpectationsTest.test_gm/gm.json