summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-10-06 14:20:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-11 05:33:02 +0100
commit9daf6ef908eb7907f30c18a34dded1929ef66671 (patch)
tree97d73249ee50fa130fd4319600f436d90bd4b152 /bitbake/lib/toaster/toastergui/views.py
parentb661f535e6a7d33b1dfcb1068e8cff14e897d005 (diff)
downloadpoky-9daf6ef908eb7907f30c18a34dded1929ef66671.tar.gz
bitbake: toaster: Comment out broken sorting and filters
YOCTO #8131 records that the sorting by 'errors', 'warnings' and 'time', and the filtering by 'errors' and 'warnings', are broken in the 'all builds' and 'project builds' pages. To avoid exposing broken functionality to users, comment out the sorting and filtering in those columns until we we have a fix for YOCTO #8131. (Bitbake rev: 1f15557efc922bf460640eeaf1622453419bc9a6) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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",