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

Side by Side Diff: PRESUBMIT.py

Issue 3010063002: [Telemetry] Add script to snapshot page's HTML (Closed)
Patch Set: fix --interactive flag spec Created 3 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | telemetry/bin/snap_page » ('j') | telemetry/bin/snap_page » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Top-level presubmit script for catapult. 5 """Top-level presubmit script for catapult.
6 6
7 See https://www.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See https://www.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into depot_tools. 8 for more details about the presubmit API built into depot_tools.
9 """ 9 """
10 import re 10 import re
(...skipping 13 matching lines...) Expand all
24 r'^CONTRIBUTORS\.md$', 24 r'^CONTRIBUTORS\.md$',
25 r'.*LICENSE$', 25 r'.*LICENSE$',
26 r'.*OWNERS$', 26 r'.*OWNERS$',
27 r'.*README\.md$', 27 r'.*README\.md$',
28 r'^dashboard[\\/]dashboard[\\/]api[\\/]examples[\\/].*.js', 28 r'^dashboard[\\/]dashboard[\\/]api[\\/]examples[\\/].*.js',
29 r'^dashboard[\\/]dashboard[\\/]templates[\\/].*', 29 r'^dashboard[\\/]dashboard[\\/]templates[\\/].*',
30 r'^experimental[\\/]heatmap[\\/].*', 30 r'^experimental[\\/]heatmap[\\/].*',
31 r'^experimental[\\/]trace_on_tap[\\/]third_party[\\/].*', 31 r'^experimental[\\/]trace_on_tap[\\/]third_party[\\/].*',
32 r'^perf_insights[\\/]test_data[\\/].*', 32 r'^perf_insights[\\/]test_data[\\/].*',
33 r'^perf_insights[\\/]third_party[\\/].*', 33 r'^perf_insights[\\/]third_party[\\/].*',
34 r'^telemetry[\\/]third_party[\\/].*',
34 r'^third_party[\\/].*', 35 r'^third_party[\\/].*',
35 r'^tracing[\\/]\.allow-devtools-save$', 36 r'^tracing[\\/]\.allow-devtools-save$',
36 r'^tracing[\\/]bower\.json$', 37 r'^tracing[\\/]bower\.json$',
37 r'^tracing[\\/]\.bowerrc$', 38 r'^tracing[\\/]\.bowerrc$',
38 r'^tracing[\\/]tracing_examples[\\/]string_convert\.js$', 39 r'^tracing[\\/]tracing_examples[\\/]string_convert\.js$',
39 r'^tracing[\\/]test_data[\\/].*', 40 r'^tracing[\\/]test_data[\\/].*',
40 r'^tracing[\\/]third_party[\\/].*', 41 r'^tracing[\\/]third_party[\\/].*',
41 r'^telemetry[\\/]support[\\/]html_output[\\/]results-template.html', 42 r'^telemetry[\\/]support[\\/]html_output[\\/]results-template.html',
42 ) 43 )
43 44
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 sys.path.remove(input_api.PresubmitLocalPath()) 117 sys.path.remove(input_api.PresubmitLocalPath())
117 return results 118 return results
118 119
119 120
120 def CheckChangeOnUpload(input_api, output_api): 121 def CheckChangeOnUpload(input_api, output_api):
121 return CheckChange(input_api, output_api) 122 return CheckChange(input_api, output_api)
122 123
123 124
124 def CheckChangeOnCommit(input_api, output_api): 125 def CheckChangeOnCommit(input_api, output_api):
125 return CheckChange(input_api, output_api) 126 return CheckChange(input_api, output_api)
OLDNEW
« no previous file with comments | « no previous file | telemetry/bin/snap_page » ('j') | telemetry/bin/snap_page » ('J')

Powered by Google App Engine
This is Rietveld 408576698