summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py49
1 files changed, 26 insertions, 23 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 9f16e8f76f..db791cfd80 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2103,35 +2103,38 @@ if True:
2103 }, 2103 },
2104 {'name': 'Errors', 'clclass': 'errors_no', 2104 {'name': 'Errors', 'clclass': 'errors_no',
2105 'qhelp': "How many errors were encountered during the build (if any)", 2105 'qhelp': "How many errors were encountered during the build (if any)",
2106 'orderfield': _get_toggle_order(request, "errors_no", True), 2106 # Comment out sorting and filter until YOCTO #8131 is fixed
2107 'ordericon':_get_toggle_order_icon(request, "errors_no"), 2107 #'orderfield': _get_toggle_order(request, "errors_no", True),
2108 'orderkey' : 'errors_no', 2108 #'ordericon':_get_toggle_order_icon(request, "errors_no"),
2109 'filter' : {'class' : 'errors_no', 2109 #'orderkey' : 'errors_no',
2110 'label': 'Show:', 2110 #'filter' : {'class' : 'errors_no',
2111 'options' : [ 2111 # 'label': 'Show:',
2112 ('Builds with errors', 'errors_no__gte:1', queryset_with_search.filter(errors_no__gte=1).count()), 2112 # 'options' : [
2113 ('Builds without errors', 'errors_no:0', queryset_with_search.filter(errors_no=0).count()), 2113 # ('Builds with errors', 'errors_no__gte:1', queryset_with_search.filter(errors_no__gte=1).count()),
2114 ] 2114 # ('Builds without errors', 'errors_no:0', queryset_with_search.filter(errors_no=0).count()),
2115 } 2115 # ]
2116 # }
2116 }, 2117 },
2117 {'name': 'Warnings', 'clclass': 'warnings_no', 2118 {'name': 'Warnings', 'clclass': 'warnings_no',
2118 'qhelp': "How many warnings were encountered during the build (if any)", 2119 'qhelp': "How many warnings were encountered during the build (if any)",
2119 'orderfield': _get_toggle_order(request, "warnings_no", True), 2120 # Comment out sorting and filter until YOCTO #8131 is fixed
2120 'ordericon':_get_toggle_order_icon(request, "warnings_no"), 2121 #'orderfield': _get_toggle_order(request, "warnings_no", True),
2121 'orderkey' : 'warnings_no', 2122 #'ordericon':_get_toggle_order_icon(request, "warnings_no"),
2122 'filter' : {'class' : 'warnings_no', 2123 #'orderkey' : 'warnings_no',
2123 'label': 'Show:', 2124 #'filter' : {'class' : 'warnings_no',
2124 'options' : [ 2125 # 'label': 'Show:',
2125 ('Builds with warnings','warnings_no__gte:1', queryset_with_search.filter(warnings_no__gte=1).count()), 2126 # 'options' : [
2126 ('Builds without warnings','warnings_no:0', queryset_with_search.filter(warnings_no=0).count()), 2127 # ('Builds with warnings','warnings_no__gte:1', queryset_with_search.filter(warnings_no__gte=1).count()),
2127 ] 2128 # ('Builds without warnings','warnings_no:0', queryset_with_search.filter(warnings_no=0).count()),
2128 } 2129 # ]
2130 # }
2129 }, 2131 },
2130 {'name': 'Time', 'clclass': 'time', 'hidden' : 1, 2132 {'name': 'Time', 'clclass': 'time', 'hidden' : 1,
2131 'qhelp': "How long it took the build to finish", 2133 'qhelp': "How long it took the build to finish",
2132 'orderfield': _get_toggle_order(request, "timespent", True), 2134 # Comment out sorting until YOCTO #8131 is fixed
2133 'ordericon':_get_toggle_order_icon(request, "timespent"), 2135 #'orderfield': _get_toggle_order(request, "timespent", True),
2134 'orderkey' : 'timespent', 2136 #'ordericon':_get_toggle_order_icon(request, "timespent"),
2137 #'orderkey' : 'timespent',
2135 }, 2138 },
2136 {'name': 'Image files', 'clclass': 'output', 2139 {'name': 'Image files', 'clclass': 'output',
2137 'qhelp': "The root file system types produced by the build. You can find them in your <code>/build/tmp/deploy/images/</code> directory", 2140 'qhelp': "The root file system types produced by the build. You can find them in your <code>/build/tmp/deploy/images/</code> directory",