blob: a4fcd2aa425cda8909fffca339e85867394e8773 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "basebuilddetailpage.html" %}
2{% load projecttags %}
3
Patrick Williamsf1e5d692016-03-30 15:21:19 -05004{% block title %}
5 {% if target %}
6 {{package.fullpackagespec}} - {{ target.target }} {{ build.machine }} - {{ build.project.name }} - Toaster
7 {% else %}
8 {{package.fullpackagespec}} - {{ build.target_set.all|dictsort:"target"|join:", " }} {{ build.machine }} - {{ build.project.name }} - Toaster
9 {% endif %}
10{% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011{% block extraheadcontent %}
12 <!-- functions to format package 'installed_package' alias -->
13 <script>
14 function fmtAliasHelp(package_name, alias, hover) {
15 var r = null;
16 if (alias != null && alias != '') {
Patrick Williamsc0f7c042017-02-23 20:41:17 -060017 r = '<span class="text-muted"> as ' + alias + '&nbsp';
18 r += '<span class="glyphicon glyphicon-question-sign get-help';
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019 if (hover) {
20 r+= ' hover-help';
21 }
22 else {
23 r+= ' heading-help';
24 }
25 r += '"';
Patrick Williamsc0f7c042017-02-23 20:41:17 -060026 title = '<code>' + package_name + '</code> was renamed at packaging time and was installed on your system as <code>' + alias + '</code>';
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027 r += ' title="' + title + '">';
Patrick Williamsc0f7c042017-02-23 20:41:17 -060028 r += '</span>';
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029 r += '</span>';
30 document.write(r);
31 }
32 }
33 </script>
34{% endblock extraheadcontent %}
35{% block localbreadcrumb %}
36 {% if target %}
37 <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li>
38 <li>{{package.fullpackagespec}} {% if package.alias %} as {{package.alias}}{% endif %}</li>
39 {% else %}
40 <li><a href="{% url "packages" build.id %}"> Packages </a></li>
41 <li>{{package.fullpackagespec}}</li>
42 {% endif %}
43{% endblock localbreadcrumb %}
44
45{% block pagedetailinfomain %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060046 <div class="row">
47 <div class="col-md-12">
48 <div class="page-header build-data">
Patrick Williamsf1e5d692016-03-30 15:21:19 -050049 {% block mainheading %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050050 <h1>{{package.fullpackagespec}}</h1>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050051 {% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050052 </div> <!-- page-header -->
Patrick Williamsc0f7c042017-02-23 20:41:17 -060053 </div> <!-- col-md-12 page-header -->
54 </div> <!-- end row -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -050055
56 {% block twocolumns %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060057 <div class="row">
58 <div class="col-md-8 tabbable">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050059 {% block tabcontent %}
60 {% endblock tabcontent %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060061 </div> <!-- row col-md-8 -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -050062
Patrick Williamsc0f7c042017-02-23 20:41:17 -060063 <div class="col-md-4">
64 <div class="well">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050065 <h2>Package information</h2>
66
67 <!-- info presented as definition list -->
68 <dl class="item-info">
69 <dt>
70 Size
Patrick Williamsc0f7c042017-02-23 20:41:17 -060071 <span class="glyphicon glyphicon-question-sign get-help" title="The size of the package"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050072 </dt>
73 <dd>
74 {% comment %}
75 if recipe is absent, filesize is not 0
76 {% endcomment %}
77 {% if package.recipe_id > 0 %}
78 {{package.size|filtered_filesizeformat}}
79 {% if target.file_size %}
80 ({{package.size|multiply:100|divide:target.file_size}}% of included package size)
81 {% endif %}
82
83 {% endif %}
84 </dd>
85
86 <dt>
87 License
Patrick Williamsc0f7c042017-02-23 20:41:17 -060088 <span class="glyphicon glyphicon-question-sign get-help" title="The license under which this package is distributed"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050089 </dt>
90 <dd>{{package.license}}</dd>
91
92 {% comment %}
93 # Removed per review on 1/18/2014 until license data population
94 # problemse are resolved.
95 <dt>
96 License files
97 <i class="icon-question-sign get-help" title="Path to the license files that apply to the package"></i>
98 </dt>
99 <dd></dd>
100 {% endcomment %}
101
102 <dt>
103 Recipe
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600104 <span class="glyphicon glyphicon-question-sign get-help" title="The name of the recipe building this package"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500105 </dt>
106 <dd>
107 {% if package.recipe_id > 0 %}
108 <a href="{% url "recipe" build.id package.recipe_id %}"> {{package.recipe.name}} </a>
109 {% else %}
110 {{package.recipe.name}}
111 {% endif %}
112 </dd>
113
114 <dt>
115 Recipe version
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600116 <span class="glyphicon glyphicon-question-sign get-help" title="The version of the recipe building this package"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500117 </dt>
118 <dd>{{package.recipe.version}}</dd>
119
120 <dt>
121 Layer
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600122 <span class="glyphicon glyphicon-question-sign get-help" title="The name of the layer providing the recipe that builds this package"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500123 </dt>
124 <dd>
125 {{package.recipe.layer_version.layer.name}}
126 {% if package.recipe.layer_version.layer.name|format_none_and_zero != "" %}
127 {% comment %}
128 # Removed per team meeting of 1/29/2014 until
129 # decision on index search algorithm
Andrew Geisslereff27472021-10-29 15:35:00 -0500130 <a href="https://layers.openembedded.org" target="_blank">
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600131 <i class="glyphicon glyphicon-share get-info"></i>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500132 </a>
133 {% endcomment %}
134 {% endif %}
135 </dd>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500136 <dt>
137 Layer branch
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600138 <span class="glyphicon glyphicon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></span>
139 {%if package.recipe.layer_version.layer.local_source_dir %}
140 <dd>
141 <span class="text-muted">Not applicable</span>
142 <span class="glyphicon glyphicon-question-sign get-help" title="The source code of {{package.recipe.layer_version.layer.name}} is not in a Git repository, so there is no branch associated with it"></span>
143 </dd>
144 {% endif %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500145 </dt>
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600146 {% if not package.recipe.layer_version.layer.local_source_dir %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500147 <dd>{{package.recipe.layer_version.branch}}</dd>
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600148 {% endif %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500149 <dt>
150 Layer commit
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600151 <span class="glyphicon glyphicon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></span>
152 {%if package.recipe.layer_version.layer.local_source_dir %}
153 <dd>
154 <span class="text-muted">Not applicable</span>
155 <span class="glyphicon glyphicon-question-sign get-help" title="The source code of {{package.recipe.layer_version.layer.name}} is not in a Git repository, so there is no commit associated with it"></span>
156 </dd>
157 {% endif %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500158 </dt>
159
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600160 {% if not package.recipe.layer_version.layer.local_source_dir %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500161 <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd>
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600162 {% endif %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500163
164 </dl>
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600165 <div> <!-- end well -->
166 </div> <!-- end 4-column section -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500167 {% endblock twocolumns %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600168 </div> <!-- end row -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500169{% endblock pagedetailinfomain %}