Showed '<dependency> satisfied via <provider>' text and
help tooltip for the revrse build dependencies provided
through 'PROVIDES' in the 'Reverse 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 db62a53..944cccb 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -208,7 +208,14 @@
 
                     {% for rr in 
object.r_dependencies_depends.all|dictsort:"recipe.name" %}
                     <tr>
-                        <td><a href="{% url "recipe" build.pk rr.recipe.pk 
%}">{{rr.recipe.name}}</a></td>
+                        <td><a href="{% url "recipe" build.pk rr.recipe.pk 
%}">{{rr.recipe.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.recipe.pk 
%}">{{rr.recipe.version}}</a></td>
                     </tr>
                     {% endfor %}
-- 
2.1.4

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

Reply via email to