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

Unified Diff: appengine/findit/model/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/main.py ('k') | appengine/findit/model/result_status.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/analysis_status.py
diff --git a/appengine/findit/model/analysis_status.py b/appengine/findit/model/analysis_status.py
new file mode 100644
index 0000000000000000000000000000000000000000..3c409b20ab02f58614fbc30bbafe0fa717712596
--- /dev/null
+++ b/appengine/findit/model/analysis_status.py
@@ -0,0 +1,21 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+# Represent status of the analysis of a Chromium waterfall compile/test failure
+# or a Chrome crash.
+PENDING = 0
+RUNNING = 10
+COMPLETED = 70
+ERROR = 80
+SKIPPED = 100
+
+
+STATUS_TO_DESCRIPTION = {
+ PENDING: 'Pending',
+ RUNNING: 'Running',
+ COMPLETED: 'Completed',
+ ERROR: 'Error',
+ SKIPPED: 'Skipped',
+}
« no previous file with comments | « appengine/findit/main.py ('k') | appengine/findit/model/result_status.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698