projects
/
tools
/
repa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b2169
)
list: Added 'blocked' status
author
Ed Bartosh
<eduard.bartosh@intel.com>
Wed, 30 Apr 2014 20:17:53 +0000
(23:17 +0300)
committer
Ed Bartosh
<eduard.bartosh@intel.com>
Thu, 1 May 2014 18:01:31 +0000
(21:01 +0300)
Blocked status was not processed before, which caused incorrect
status reporting by repa list.
Change-Id: Ibf219d914ef8cc3dc2a7d30881dbb6520c0fc19e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
repa/list.py
patch
|
blob
|
history
diff --git
a/repa/list.py
b/repa/list.py
index ace70e910deb5f504f9ab7c525daa313603c4315..68f98120fe63ba88f03af095776825eb4dd536f3 100755
(executable)
--- a/
repa/list.py
+++ b/
repa/list.py
@@
-50,7
+50,8
@@
def get_status(meta, colorizer, build_results=None):
statuses = [('broken', ('red', 'broken source')),
('unresolvable', ('red', 'unresolvable packages')),
('failed', ('red', 'package build failed')),
- ('building', ('blue', 'package building'))]
+ ('building', ('blue', 'package building')),
+ ('blocked', ('blue', 'blocked'))]
for pkgstatus, (color, status) in statuses:
if pkgstatus in codes:
return getattr(colorizer, color)(status)