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

Side by Side Diff: appengine/findit/model/wf_analysis_status.py

Issue 1866883002: [Findit] A huge refactoring and some bug fixing. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix nit. Created 4 years, 8 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
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5
6 # Represent status of the analysis of a Chromium waterfall build failure.
7 # TODO(stgao): Categorize statuses.
8 PENDING = 0
9 ANALYZING = 10
10 ANALYZED = 70
11 ERROR = 80
12 SKIPPED = 100
13
14
15 STATUS_TO_DESCRIPTION = {
16 PENDING: 'Pending',
17 ANALYZING: 'Analyzing',
18 ANALYZED: 'Analyzed',
19 ERROR: 'Error'
20 }
21
22
23 TRY_JOB_STATUS_TO_DESCRIPTION = {
24 PENDING: 'Pending',
25 ANALYZING: 'Running',
26 ANALYZED: 'Completed',
27 ERROR: 'Error',
28 SKIPPED: 'Skipped'
29 }
30
31
32 SWARMING_STATUS_TO_DESCRIPTION = {
33 PENDING: 'Pending',
34 ANALYZING: 'Running',
35 ANALYZED: 'Completed',
36 ERROR: 'Error'
37 }
OLDNEW
« no previous file with comments | « appengine/findit/model/wf_analysis_result_status.py ('k') | appengine/findit/model/wf_swarming_task.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698