1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

bitbake: toaster: unbuilt package dependency formats

[YOCTO 6057]

For a package shown on the package build dependency page, the dependent
packages may be unbuilt packages, as indicated with the dependent
package's size set to -1.  This fix changes the build template to use
the same formatting functions for unbuilt dependent packages as the
include package templates use for unbuilt dependent packages.

(Bitbake rev: b095ab30a827a50f66a06ac9170d33fae2670736)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dave Lerner
2014-03-26 15:49:43 -05:00
committed by Richard Purdie
parent 69856969d7
commit 362b71a07c
@@ -36,24 +36,21 @@
</thead> </thead>
<tbody> <tbody>
{% for runtime_dep in runtime_deps %} {% for runtime_dep in runtime_deps %}
{% ifequal runtime_dep.version '' %} <tr {{runtime_dep.size|format_vpackage_rowclass}} >
<tr class="muted"> {% if runtime_dep.size != -1 %}
<td>{{runtime_dep.name}}</td> <td>
<td>{{runtime_dep.version}}</td> <a href="{% url 'package_built_detail' build.id runtime_dep.depends_on_id %}">
<td></td> {{runtime_dep.name}}
</div> </a>
</tr> </td>
{% else %} {% else %}
<tr> <td>
<td> {{runtime_dep.name|format_vpackage_namehelp}}
<a href="{% url 'package_built_detail' build.id runtime_dep.depends_on_id %}"> </td>
{{runtime_dep.name}} {% endif %}
</a> <td>{{runtime_dep.version}}</td>
</td> <td>{{runtime_dep.size|filtered_filesizeformat}}</td>
<td>{{runtime_dep.version}}</td> </tr>
<td>{{runtime_dep.size|filtered_filesizeformat}}</td>
</tr>
{% endifequal %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
@@ -74,31 +71,25 @@
</thead> </thead>
<tbody> <tbody>
{% for other_dep in other_deps %} {% for other_dep in other_deps %}
{% ifequal other_dep.version '' %} <tr {{other_dep.size|format_vpackage_rowclass}} >
<tr class="muted"> {% if other_dep.size != -1 %}
<td>{{other_dep.name}}</td> <td>
<td>{{other_dep.version}}</td> <a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}">
<td></td> {{other_dep.name}}
<td> </a>
{{other_dep.dep_type_display}} </td>
<i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i> {% else %}
</td> <td>
</tr> {{other_dep.name|format_vpackage_namehelp}}
{% else %} </td>
<tr> {% endif %}
<td> <td>{{other_dep.version}}</td>
<a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}"> <td>{{other_dep.size|filtered_filesizeformat}}</td>
{{other_dep.name}} <td>
</a> {{other_dep.dep_type_display}}
</td> <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
<td>{{other_dep.version}}</td> </td>
<td>{{other_dep.size|filtered_filesizeformat}}</td> </tr>
<td>
{{other_dep.dep_type_display}}
<i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
</td>
</tr>
{% endifequal %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>