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

Side by Side Diff: appengine/findit/handlers/try_job.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reordering imports Created 4 years, 1 month 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
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 import json 5 import json
6 import logging 6 import logging
7 7
8 from common.waterfall import buildbucket_client 8 from common.waterfall import buildbucket_client
9 from common.base_handler import BaseHandler 9 from common.base_handler import BaseHandler, Permission
10 from common.base_handler import Permission
11 10
12 11
13 class TryJob(BaseHandler): 12 class TryJob(BaseHandler):
14 """This is for testing a try-job and later the culprit finding recipe. 13 """This is for testing a try-job and later the culprit finding recipe.
15 14
16 No testing is added for this module as it is not for production. 15 No testing is added for this module as it is not for production.
17 """ 16 """
18 PERMISSION_LEVEL = Permission.ADMIN 17 PERMISSION_LEVEL = Permission.ADMIN
19 18
20 def _SplitValues(self, values_str): 19 def _SplitValues(self, values_str):
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 else: 86 else:
88 data[key] = { 87 data[key] = {
89 'id': build.id, 88 'id': build.id,
90 'status': build.status, 89 'status': build.status,
91 'url': build.url, 90 'url': build.url,
92 } 91 }
93 92
94 return {'data': data} 93 return {'data': data}
95 94
96 return BaseHandler.CreateError('Not implemented yet', 501) 95 return BaseHandler.CreateError('Not implemented yet', 501)
OLDNEW
« no previous file with comments | « appengine/findit/handlers/triage_analysis.py ('k') | appengine/findit/handlers/try_job_dashboard.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698