Showed '<dependency> satisfied via <provider>' text and
help tooltip for the build dependencies provided through
'PROVIDES' in the 'Build dependencies' tab.

[YOCTO #6169]

Signed-off-by: Ed Bartosh <[email protected]>
---
 bitbake/lib/toaster/toastergui/templates/recipe.html | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html 
b/bitbake/lib/toaster/toastergui/templates/recipe.html
index 9be8e16..db62a53 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -169,7 +169,14 @@
 
                     {% for rr in 
object.r_dependencies_recipe.all|dictsort:"depends_on.name" %}
                     <tr>
-                        <td><a href="{% url "recipe" build.pk rr.depends_on.pk 
%}">{{rr.depends_on.name}}</a></td>
+                        <td><a href="{% url "recipe" build.pk rr.depends_on.pk 
%}">{{rr.depends_on.name}}
+                            {% if rr.via %}
+                                <span class="muted"> satisfied via 
{{rr.via.name}}</span>
+                                <i class="icon-question-sign get-help"
+                                 title="This dependency is satisfied by the 
PROVIDES value
+                                       {{rr.via.name}} in the 
{{rr.depends_on.name}} recipe"></i>
+                            {% endif %}
+                        </a></td>
                         <td><a href="{% url "recipe" build.pk rr.depends_on.pk 
%}">{{rr.depends_on.version}}</a></td>
                     </tr>
                     {% endfor %}
-- 
2.1.4

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to