summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/recipes.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-05-14 16:10:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-29 11:59:43 +0100
commite3e85bdf7100cc5619d7f184dc8d9e2a77a03364 (patch)
treea3dcc4abf6973288c0001e7498f8270d6fccdb7e /bitbake/lib/toaster/toastergui/templates/recipes.html
parenta5236be47fd62d41eaea2d4b4f1a394de0aac4a9 (diff)
downloadpoky-e3e85bdf7100cc5619d7f184dc8d9e2a77a03364.tar.gz
bitbake: toaster logger: refactor recipe and layer file paths
This refactoring brings the "local_path" of the layer from the Layer object to the Layer_Version object, which is more appropriate as different checkouts of the same Layer may live in different directories. This enables us to store Recipe file paths relative to a Layer_Version at all times, aleviating the need to store full file paths in the database. We also turn the prefix of the path (e.g. virtual:native path name space) into a pathflag field. In turn, this solves the problem of mis-identification of tasks based on the recipe file paths, since we can also match the namespace of the file paths on the recipe files. [YOCTO #7594] (Bitbake rev: ec43dc569e370767c709dec225cbee0c99151c19) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipes.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html
index dc2d9e8c3a..8d4494e7ef 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipes.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipes.html
@@ -84,7 +84,7 @@
84 {% endwith %} 84 {% endwith %}
85 </td> 85 </td>
86 <!-- Recipe file --> 86 <!-- Recipe file -->
87 <td class="recipe_file">{{recipe.get_local_path}}</td> 87 <td class="recipe_file">{{recipe.file_path}} {% if recipe.pathflags %}<i>({{recipe.pathflags}})</i>{% endif %}</td>
88 <!-- Section --> 88 <!-- Section -->
89 <td class="recipe_section">{{recipe.section}}</td> 89 <td class="recipe_section">{{recipe.section}}</td>
90 <!-- License --> 90 <!-- License -->
@@ -105,7 +105,7 @@
105 105
106 {% if not MANAGED or not build.project %} 106 {% if not MANAGED or not build.project %}
107 <!-- Layer directory --> 107 <!-- Layer directory -->
108 <td class="layer_version__layer__local_path">{{recipe.layer_version.layer.local_path}}</td> 108 <td class="layer_version__local_path">{{recipe.layer_version.local_path}}</td>
109 {% endif %} 109 {% endif %}
110 </tr> 110 </tr>
111 111