summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rw-r--r--bitbake/lib/toaster/toastergui/views.py52
1 files changed, 26 insertions, 26 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index a92a03f50b..ba69dd8b5d 100644
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -268,7 +268,7 @@ def builds(request):
268 # Specifies the display of columns for the table, appearance in "Edit columns" box, toggling default show/hide, and specifying filters for columns 268 # Specifies the display of columns for the table, appearance in "Edit columns" box, toggling default show/hide, and specifying filters for columns
269 'tablecols' : [ 269 'tablecols' : [
270 {'name': 'Outcome', # column with a single filter 270 {'name': 'Outcome', # column with a single filter
271 'qhelp' : "The outcome tells you if a build completed successfully or failed", # the help button content 271 'qhelp' : "The outcome tells you if a build successfully completed or failed", # the help button content
272 'dclass' : "span2", # indication about column width; comes from the design 272 'dclass' : "span2", # indication about column width; comes from the design
273 'orderfield': _get_toggle_order(request, "outcome"), # adds ordering by the field value; default ascending unless clicked from ascending into descending 273 'orderfield': _get_toggle_order(request, "outcome"), # adds ordering by the field value; default ascending unless clicked from ascending into descending
274 'ordericon':_get_toggle_order_icon(request, "outcome"), 274 'ordericon':_get_toggle_order_icon(request, "outcome"),
@@ -284,12 +284,12 @@ def builds(request):
284 } 284 }
285 }, 285 },
286 {'name': 'Target', # default column, disabled box, with just the name in the list 286 {'name': 'Target', # default column, disabled box, with just the name in the list
287 'qhelp': "This is the build target(s): one or more recipes or image recipes", 287 'qhelp': "This is the build target or build targets (i.e. one or more recipes or image recipes)",
288 'orderfield': _get_toggle_order(request, "target__target"), 288 'orderfield': _get_toggle_order(request, "target__target"),
289 'ordericon':_get_toggle_order_icon(request, "target__target"), 289 'ordericon':_get_toggle_order_icon(request, "target__target"),
290 }, 290 },
291 {'name': 'Machine', 291 {'name': 'Machine',
292 'qhelp': "The machine is the hardware for which you are building", 292 'qhelp': "The machine is the hardware for which you are building a recipe or image recipe",
293 'orderfield': _get_toggle_order(request, "machine"), 293 'orderfield': _get_toggle_order(request, "machine"),
294 'ordericon':_get_toggle_order_icon(request, "machine"), 294 'ordericon':_get_toggle_order_icon(request, "machine"),
295 'dclass': 'span3' 295 'dclass': 'span3'
@@ -361,7 +361,7 @@ def builds(request):
361 }, 361 },
362 {'name': 'Log', 362 {'name': 'Log',
363 'dclass': "span4", 363 'dclass': "span4",
364 'qhelp': "The location in disk of the build main log file", 364 'qhelp': "Path to the build main log file",
365 'clclass': 'log', 'hidden': 1, 365 'clclass': 'log', 'hidden': 1,
366 'orderfield': _get_toggle_order(request, "cooker_log_path"), 366 'orderfield': _get_toggle_order(request, "cooker_log_path"),
367 'ordericon':_get_toggle_order_icon(request, "cooker_log_path"), 367 'ordericon':_get_toggle_order_icon(request, "cooker_log_path"),
@@ -536,7 +536,7 @@ def target(request, build_id, target_id):
536 }, 536 },
537 { 537 {
538 'name':'License', 538 'name':'License',
539 'qhelp':'The license under which the package is distributed. Separate license names using | (pipe) means there is a choice between licenses. Separate license names using & (ampersand) means multiple licenses exist that cover different parts of the source', 539 'qhelp':'The license under which the package is distributed. Multiple license names separated by the pipe character indicates a choice between licenses. Multiple license names separated by the ampersand character indicates multiple licenses exist that cover different parts of the source',
540 'orderfield': _get_toggle_order(request, "license"), 540 'orderfield': _get_toggle_order(request, "license"),
541 'ordericon':_get_toggle_order_icon(request, "license"), 541 'ordericon':_get_toggle_order_icon(request, "license"),
542 'clclass': 'license', 542 'clclass': 'license',
@@ -544,13 +544,13 @@ def target(request, build_id, target_id):
544 }, 544 },
545 { 545 {
546 'name':'Dependencies', 546 'name':'Dependencies',
547 'qhelp':"Package runtime dependencies (other packages)", 547 'qhelp':"Package runtime dependencies (i.e. other packages)",
548 'clclass': 'depends', 548 'clclass': 'depends',
549 'hidden' : 0, 549 'hidden' : 0,
550 }, 550 },
551 { 551 {
552 'name':'Reverse dependencies', 552 'name':'Reverse dependencies',
553 'qhelp':'Package run-time reverse dependencies (i.e. which other packages depend on this package', 553 'qhelp':'Package run-time reverse dependencies (i.e. other packages that depend on this package)',
554 'clclass': 'brought_in_by', 554 'clclass': 'brought_in_by',
555 'hidden' : 0, 555 'hidden' : 0,
556 }, 556 },
@@ -592,7 +592,7 @@ def target(request, build_id, target_id):
592 }, 592 },
593 { 593 {
594 'name':'Layer directory', 594 'name':'Layer directory',
595 'qhelp':'Location in disk of the layer providing the recipe that builds the package', 595 'qhelp':'Path to the layer providing the recipe that builds the package',
596 'orderfield': _get_toggle_order(request, "recipe__layer_version__layer__local_path"), 596 'orderfield': _get_toggle_order(request, "recipe__layer_version__layer__local_path"),
597 'ordericon':_get_toggle_order_icon(request, "recipe__layer_version__layer__local_path"), 597 'ordericon':_get_toggle_order_icon(request, "recipe__layer_version__layer__local_path"),
598 'clclass': 'layer_directory', 598 'clclass': 'layer_directory',
@@ -847,7 +847,7 @@ def tasks_common(request, build_id, variant, task_anchor):
847 } 847 }
848 tc_executed={ 848 tc_executed={
849 'name':'Executed', 849 'name':'Executed',
850 'qhelp':"This value tells you if a task had to run in order to generate the task output (executed), or if the output was provided by another task and therefore the task didn't need to run (not executed)", 850 'qhelp':"This value tells you if a task had to run (executed) in order to generate the task output, or if the output was provided by another task and therefore the task didn't need to run (not executed)",
851 'clclass': 'executed', 'hidden' : 0, 851 'clclass': 'executed', 'hidden' : 0,
852 'orderfield': _get_toggle_order(request, "task_executed"), 852 'orderfield': _get_toggle_order(request, "task_executed"),
853 'ordericon':_get_toggle_order_icon(request, "task_executed"), 853 'ordericon':_get_toggle_order_icon(request, "task_executed"),
@@ -863,7 +863,7 @@ def tasks_common(request, build_id, variant, task_anchor):
863 } 863 }
864 tc_outcome={ 864 tc_outcome={
865 'name':'Outcome', 865 'name':'Outcome',
866 'qhelp':'This column tells you if executed tasks succeeded, failed or restored output from the <code>sstate-cache</code> directory or mirrors. It also tells you why not executed tasks did not need to run', 866 'qhelp':"This column tells you if 'executed' tasks succeeded or failed. The column also tells you why 'not executed' tasks did not need to run",
867 'clclass': 'outcome', 'hidden' : 0, 867 'clclass': 'outcome', 'hidden' : 0,
868 'orderfield': _get_toggle_order(request, "outcome"), 868 'orderfield': _get_toggle_order(request, "outcome"),
869 'ordericon':_get_toggle_order_icon(request, "outcome"), 869 'ordericon':_get_toggle_order_icon(request, "outcome"),
@@ -871,9 +871,9 @@ def tasks_common(request, build_id, variant, task_anchor):
871 'class' : 'outcome', 871 'class' : 'outcome',
872 'label': 'Show:', 872 'label': 'Show:',
873 'options' : [ 873 'options' : [
874 ('Succeeded Tasks', 'outcome:%d'%Task.OUTCOME_SUCCESS, queryset_with_search.filter(outcome=Task.OUTCOME_SUCCESS).count(), 'Succeeded tasks are those that ran and completed during the build' ), 874 ('Succeeded Tasks', 'outcome:%d'%Task.OUTCOME_SUCCESS, queryset_with_search.filter(outcome=Task.OUTCOME_SUCCESS).count(), "'Succeeded' tasks are those that ran and completed during the build" ),
875 ('Failed Tasks', 'outcome:%d'%Task.OUTCOME_FAILED, queryset_with_search.filter(outcome=Task.OUTCOME_FAILED).count(), 'Failed tasks are those that ran but did not complete during the build'), 875 ('Failed Tasks', 'outcome:%d'%Task.OUTCOME_FAILED, queryset_with_search.filter(outcome=Task.OUTCOME_FAILED).count(), "'Failed' tasks are those that ran but did not complete during the build"),
876 ('Cached Tasks', 'outcome:%d'%Task.OUTCOME_CACHED, queryset_with_search.filter(outcome=Task.OUTCOME_CACHED).count(), 'Cached tasks restored output from the <code>sstate-cache</code> directory or mirrors'), 876 ('Cached Tasks', 'outcome:%d'%Task.OUTCOME_CACHED, queryset_with_search.filter(outcome=Task.OUTCOME_CACHED).count(), 'Cached tasks restore output from the <code>sstate-cache</code> directory or mirrors'),
877 ('Prebuilt Tasks', 'outcome:%d'%Task.OUTCOME_PREBUILT, queryset_with_search.filter(outcome=Task.OUTCOME_PREBUILT).count(),'Prebuilt tasks didn\'t need to run because their output was reused from a previous build'), 877 ('Prebuilt Tasks', 'outcome:%d'%Task.OUTCOME_PREBUILT, queryset_with_search.filter(outcome=Task.OUTCOME_PREBUILT).count(),'Prebuilt tasks didn\'t need to run because their output was reused from a previous build'),
878 ('Covered Tasks', 'outcome:%d'%Task.OUTCOME_COVERED, queryset_with_search.filter(outcome=Task.OUTCOME_COVERED).count(), 'Covered tasks didn\'t need to run because their output is provided by another task in this build'), 878 ('Covered Tasks', 'outcome:%d'%Task.OUTCOME_COVERED, queryset_with_search.filter(outcome=Task.OUTCOME_COVERED).count(), 'Covered tasks didn\'t need to run because their output is provided by another task in this build'),
879 ('Empty Tasks', 'outcome:%d'%Task.OUTCOME_EMPTY, queryset_with_search.filter(outcome=Task.OUTCOME_NA).count(), 'Empty tasks have no executable content'), 879 ('Empty Tasks', 'outcome:%d'%Task.OUTCOME_EMPTY, queryset_with_search.filter(outcome=Task.OUTCOME_NA).count(), 'Empty tasks have no executable content'),
@@ -883,14 +883,14 @@ def tasks_common(request, build_id, variant, task_anchor):
883 } 883 }
884 tc_log={ 884 tc_log={
885 'name':'Log', 885 'name':'Log',
886 'qhelp':'The location in disk of the task log file', 886 'qhelp':'Path to the task log file',
887 'orderfield': _get_toggle_order(request, "logfile"), 887 'orderfield': _get_toggle_order(request, "logfile"),
888 'ordericon':_get_toggle_order_icon(request, "logfile"), 888 'ordericon':_get_toggle_order_icon(request, "logfile"),
889 'clclass': 'task_log', 'hidden' : 1, 889 'clclass': 'task_log', 'hidden' : 1,
890 } 890 }
891 tc_cache={ 891 tc_cache={
892 'name':'Cache attempt', 892 'name':'Cache attempt',
893 'qhelp':'This column tells you if a task tried to restore output from the <code>sstate-cache</code> directory or mirrors, and what was the result: Succeeded, Failed or File not in cache', 893 'qhelp':'This column tells you if a task tried to restore output from the <code>sstate-cache</code> directory or mirrors, and reports the result: Succeeded, Failed or File not in cache',
894 'clclass': 'cache_attempt', 'hidden' : 0, 894 'clclass': 'cache_attempt', 'hidden' : 0,
895 'orderfield': _get_toggle_order(request, "sstate_result"), 895 'orderfield': _get_toggle_order(request, "sstate_result"),
896 'ordericon':_get_toggle_order_icon(request, "sstate_result"), 896 'ordericon':_get_toggle_order_icon(request, "sstate_result"),
@@ -909,7 +909,7 @@ def tasks_common(request, build_id, variant, task_anchor):
909 #if 'tasks' == variant: tc_cache['hidden']='0'; 909 #if 'tasks' == variant: tc_cache['hidden']='0';
910 tc_time={ 910 tc_time={
911 'name':'Time (secs)', 911 'name':'Time (secs)',
912 'qhelp':'How long it took the task to finish, expressed in seconds', 912 'qhelp':'How long it took the task to finish in seconds',
913 'orderfield': _get_toggle_order(request, "elapsed_time", True), 913 'orderfield': _get_toggle_order(request, "elapsed_time", True),
914 'ordericon':_get_toggle_order_icon(request, "elapsed_time"), 914 'ordericon':_get_toggle_order_icon(request, "elapsed_time"),
915 'clclass': 'time_taken', 'hidden' : 1, 915 'clclass': 'time_taken', 'hidden' : 1,
@@ -917,7 +917,7 @@ def tasks_common(request, build_id, variant, task_anchor):
917 if 'buildtime' == variant: tc_time['hidden']='0'; del tc_time['clclass']; tc_cache['hidden']='1'; 917 if 'buildtime' == variant: tc_time['hidden']='0'; del tc_time['clclass']; tc_cache['hidden']='1';
918 tc_cpu={ 918 tc_cpu={
919 'name':'CPU usage', 919 'name':'CPU usage',
920 'qhelp':'Task CPU utilisation, expressed as a percentage', 920 'qhelp':'The percentage of task CPU utilization',
921 'orderfield': _get_toggle_order(request, "cpu_usage", True), 921 'orderfield': _get_toggle_order(request, "cpu_usage", True),
922 'ordericon':_get_toggle_order_icon(request, "cpu_usage"), 922 'ordericon':_get_toggle_order_icon(request, "cpu_usage"),
923 'clclass': 'cpu_used', 'hidden' : 1, 923 'clclass': 'cpu_used', 'hidden' : 1,
@@ -1002,31 +1002,31 @@ def recipes(request, build_id):
1002 }, 1002 },
1003 { 1003 {
1004 'name':'Dependencies', 1004 'name':'Dependencies',
1005 'qhelp':'Recipe build-time dependencies (other recipes)', 1005 'qhelp':'Recipe build-time dependencies (i.e. other recipes)',
1006 'clclass': 'depends_on', 'hidden': 1, 1006 'clclass': 'depends_on', 'hidden': 1,
1007 }, 1007 },
1008 { 1008 {
1009 'name':'Reverse dependencies', 1009 'name':'Reverse dependencies',
1010 'qhelp':'Recipe build-time reverse dependencies (i.e. which other recipes depend on this recipe)', 1010 'qhelp':'Recipe build-time reverse dependencies (i.e. the recipes that depend on this recipe)',
1011 'clclass': 'depends_by', 'hidden': 1, 1011 'clclass': 'depends_by', 'hidden': 1,
1012 }, 1012 },
1013 { 1013 {
1014 'name':'Recipe file', 1014 'name':'Recipe file',
1015 'qhelp':'Location in disk of the recipe .bb file', 1015 'qhelp':'Path to the recipe .bb file',
1016 'orderfield': _get_toggle_order(request, "file_path"), 1016 'orderfield': _get_toggle_order(request, "file_path"),
1017 'ordericon':_get_toggle_order_icon(request, "file_path"), 1017 'ordericon':_get_toggle_order_icon(request, "file_path"),
1018 'clclass': 'recipe_file', 'hidden': 0, 1018 'clclass': 'recipe_file', 'hidden': 0,
1019 }, 1019 },
1020 { 1020 {
1021 'name':'Section', 1021 'name':'Section',
1022 'qhelp':'The section in which recipes should be categorised', 1022 'qhelp':'The section in which recipes should be categorized',
1023 'orderfield': _get_toggle_order(request, "section"), 1023 'orderfield': _get_toggle_order(request, "section"),
1024 'ordericon':_get_toggle_order_icon(request, "section"), 1024 'ordericon':_get_toggle_order_icon(request, "section"),
1025 'clclass': 'recipe_section', 'hidden': 0, 1025 'clclass': 'recipe_section', 'hidden': 0,
1026 }, 1026 },
1027 { 1027 {
1028 'name':'License', 1028 'name':'License',
1029 'qhelp':'The list of source licenses for the recipe. Separate license names using | (pipe) means there is a choice between licenses. Separate license names using & (ampersand) means multiple licenses exist that cover different parts of the source', 1029 'qhelp':'The list of source licenses for the recipe. Multiple license names separated by the pipe character indicates a choice between licenses. Multiple license names separated by the ampersand character indicates multiple licenses exist that cover different parts of the source',
1030 'orderfield': _get_toggle_order(request, "license"), 1030 'orderfield': _get_toggle_order(request, "license"),
1031 'ordericon':_get_toggle_order_icon(request, "license"), 1031 'ordericon':_get_toggle_order_icon(request, "license"),
1032 'clclass': 'recipe_license', 'hidden': 0, 1032 'clclass': 'recipe_license', 'hidden': 0,
@@ -1052,7 +1052,7 @@ def recipes(request, build_id):
1052 }, 1052 },
1053 { 1053 {
1054 'name':'Layer directory', 1054 'name':'Layer directory',
1055 'qhelp':'Location in disk of the layer providing the recipe', 1055 'qhelp':'Path to the layer prodiving the recipe',
1056 'orderfield': _get_toggle_order(request, "layer_version__layer__local_path"), 1056 'orderfield': _get_toggle_order(request, "layer_version__layer__local_path"),
1057 'ordericon':_get_toggle_order_icon(request, "layer_version__layer__local_path"), 1057 'ordericon':_get_toggle_order_icon(request, "layer_version__layer__local_path"),
1058 'clclass': 'layer_version__layer__local_path', 'hidden': 1, 1058 'clclass': 'layer_version__layer__local_path', 'hidden': 1,
@@ -1174,7 +1174,7 @@ def configvars(request, build_id):
1174 'class' : 'description', 1174 'class' : 'description',
1175 'label': 'Show:', 1175 'label': 'Show:',
1176 'options' : [ 1176 'options' : [
1177 ('Variables with description', 'description__regex:.+', queryset_with_search.filter(description__regex='.+').count(), 'We provide descriptions for the most common BiBake variables, so this filter effectively shows you a curated list of variables put together by the Yocto Project maintainers. The curated list lives in <code>/meta/conf/documentation.conf</code> inside your <code>poky</code> directory'), 1177 ('Variables with description', 'description__regex:.+', queryset_with_search.filter(description__regex='.+').count(), 'We provide descriptions for the most common BitBake variables. The list of descriptions lives in <code>meta/conf/documentation.conf</code>'),
1178 ] 1178 ]
1179 }, 1179 },
1180 }, 1180 },
@@ -1220,7 +1220,7 @@ def bpackage(request, build_id):
1220 }, 1220 },
1221 { 1221 {
1222 'name':'License', 1222 'name':'License',
1223 'qhelp':'The license under which the package is distributed. Separate license names using | (pipe) means there is a choice between licenses. Separate license names using & (ampersand) means multiple licenses exist that cover different parts of the source', 1223 'qhelp':'The license under which the package is distributed. Multiple license names separated by the pipe character indicates a choice between licenses. Multiple license names separated by the ampersand character indicates multiple licenses exist that cover different parts of the source',
1224 'orderfield': _get_toggle_order(request, "license"), 1224 'orderfield': _get_toggle_order(request, "license"),
1225 'ordericon':_get_toggle_order_icon(request, "license"), 1225 'ordericon':_get_toggle_order_icon(request, "license"),
1226 'clclass': 'license', 'hidden': 1, 1226 'clclass': 'license', 'hidden': 1,
@@ -1258,7 +1258,7 @@ def bpackage(request, build_id):
1258 }, 1258 },
1259 { 1259 {
1260 'name':'Layer directory', 1260 'name':'Layer directory',
1261 'qhelp':'Location in disk of the layer providing the recipe that builds the package', 1261 'qhelp':'Path to the layer providing the recipe that builds the package',
1262 'orderfield': _get_toggle_order(request, "recipe__layer_version__layer__local_path"), 1262 'orderfield': _get_toggle_order(request, "recipe__layer_version__layer__local_path"),
1263 'ordericon':_get_toggle_order_icon(request, "recipe__layer_version__layer__local_path"), 1263 'ordericon':_get_toggle_order_icon(request, "recipe__layer_version__layer__local_path"),
1264 'clclass': 'recipe__layer_version__layer__local_path', 'hidden': 1, 1264 'clclass': 'recipe__layer_version__layer__local_path', 'hidden': 1,