| OLD | NEW |
| (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 } | |
| OLD | NEW |