mirror of
https://git.yoctoproject.org/poky
synced 2026-03-15 19:59:40 +01:00
Adds new package detail views. The views are based on
specifications found in attachments to:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328
specifically:
design-1.5.1-package-details.pdf, and
design-1.1.1-included-package-details.
This patch includes a redefinition of constant numbers for
task dependency tasks. This is needed in order to achieve
sorting criteria from the design.
This change invalidates currently dependency information for
currently existing builds, as it breaks compatibility.
[YOCTO #4328]
(Bitbake rev: 6855925c06e7e5bb15ae9d0c08d77f3a9a2574bc)
Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
113 lines
5.4 KiB
HTML
113 lines
5.4 KiB
HTML
{% extends "package_detail_base.html" %}
|
|
{% load projecttags %}
|
|
|
|
{% block tabcontent %}
|
|
{% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %}
|
|
<ul class="nav nav-pills">
|
|
<li class="">
|
|
<a href="{% url 'package_built_detail' build.id package.id %}">
|
|
<i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the files produced by this package."></i>
|
|
Generated files ({{package.buildfilelist_package.count}})
|
|
</a>
|
|
</li>
|
|
<li class="active">
|
|
<a href="{% url 'package_built_dependencies' build.id package.id %}">
|
|
<i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the runtime packages required by this package."></i>
|
|
Runtime dependencies ({{dependency_count}})
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="dependencies">
|
|
{% ifequal runtime_deps|length 0 %}
|
|
<div class="alert alert-info">
|
|
<strong>{{fullPackageSpec}}</strong> has no runtime dependencies.
|
|
</div>
|
|
{% else %}
|
|
<div class="alert alert-info">
|
|
<strong>{{fullPackageSpec}}</strong> is <strong>not included</strong> in any image. These are its projected runtime dependencies if you were to include it in future builds.
|
|
</div>
|
|
<table class="table table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Package</th>
|
|
<th>Version</th>
|
|
<th>Size</th>
|
|
</tr>
|
|
</thead>
|
|
{% for runtime_dep in runtime_deps %}
|
|
<tbody>
|
|
{% ifequal runtime_dep.version '' %}
|
|
<tr class="muted">
|
|
<td>{{runtime_dep.name}}</td>
|
|
<td>{{runtime_dep.version}}</td>
|
|
<td></td>
|
|
</div>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'package_built_detail' build.id runtime_dep.depends_on_id %}">
|
|
{{runtime_dep.name}}
|
|
</a>
|
|
</td>
|
|
<td>{{runtime_dep.version}}</td>
|
|
<td>{{runtime_dep.size|filtered_filesizeformat}}</td>
|
|
</tr>
|
|
{% endifequal %}
|
|
</tbody>
|
|
{% endfor %}
|
|
</table>
|
|
{% endifequal %}
|
|
{% ifnotequal other_deps|length 0 %}
|
|
<h3>Other runtime relationships</h3>
|
|
<table class="table table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Package</th>
|
|
<th>Version</th>
|
|
<th>Size</th>
|
|
|
|
<th>
|
|
<i class="icon-question-sign get-help" title="There are 5 relationship types: recommends, suggests, provides, replaces and conflicts"></i>
|
|
Relationship type
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
{% for other_dep in other_deps %}
|
|
<tbody>
|
|
{% ifequal other_dep.version '' %}
|
|
<tr class="muted">
|
|
<td>{{other_dep.name}}</td>
|
|
<td>{{other_dep.version}}</td>
|
|
<td></td>
|
|
<td>
|
|
{{other_dep.dep_type_display}}
|
|
<i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
|
|
</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}">
|
|
{{other_dep.name}}
|
|
</a>
|
|
</td>
|
|
<td>{{other_dep.version}}</td>
|
|
<td>{{other_dep.size|filtered_filesizeformat}}</td>
|
|
<td>
|
|
{{other_dep.dep_type_display}}
|
|
<i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
{% endifequal %}
|
|
{% endfor %}
|
|
</table>
|
|
{% endifnotequal %}
|
|
</div> <!-- tab-pane -->
|
|
</div> <!-- tab-content -->
|
|
{% endwith %}
|
|
{% endblock tabcontent %}
|