Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: gm/rebaseline_server/server.py

Issue 364253003: rebaseline_server: if urlSchemaVersion is not specified, assume current (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gm/rebaseline_server/static/constants.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/server.py
diff --git a/gm/rebaseline_server/server.py b/gm/rebaseline_server/server.py
index a10bc8c2137f8d5572008fde2d5209672e75b11c..ee4d299a3d2adb7cbfddd34bc80eafd3def01acf 100755
--- a/gm/rebaseline_server/server.py
+++ b/gm/rebaseline_server/server.py
@@ -65,11 +65,6 @@ MIME_TYPE_MAP = {'': 'application/octet-stream',
KEY__EDITS__MODIFICATIONS = 'modifications'
KEY__EDITS__OLD_RESULTS_HASH = 'oldResultsHash'
KEY__EDITS__OLD_RESULTS_TYPE = 'oldResultsType'
-URL_KEY__SCHEMA_VERSION = 'urlSchemaVersion'
-URL_VALUE__SCHEMA_VERSION__CURRENT = 0
-# always interpret as then-current schema version;
-# used for toplevel links on index page
-URL_VALUE__SCHEMA_VERSION__ALWAYS_CURRENT = 'current'
DEFAULT_ACTUALS_DIR = results_mod.DEFAULT_ACTUALS_DIR
DEFAULT_GM_SUMMARIES_BUCKET = download_actuals.GM_SUMMARIES_BUCKET
@@ -169,14 +164,11 @@ def _create_index(file_path, config_pairs):
for summary_type in SUMMARY_TYPES:
file_handle.write(
'<li><a href="/{static_subdir}/view.html#/view.html?'
- '{version_key}={version_value}&'
'resultsToLoad=/{results_subdir}/{summary_type}">'
'{summary_type}</a></li>'.format(
results_subdir=RESULTS_SUBDIR,
static_subdir=STATIC_CONTENTS_SUBDIR,
- summary_type=summary_type,
- version_key=URL_KEY__SCHEMA_VERSION,
- version_value=URL_VALUE__SCHEMA_VERSION__ALWAYS_CURRENT))
+ summary_type=summary_type))
file_handle.write('</ul>')
if config_pairs:
file_handle.write('<li>Comparing configs within actual results</li><ul>')
« no previous file with comments | « no previous file | gm/rebaseline_server/static/constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698