summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/templates/bpackage.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-10-11 13:46:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-18 11:13:49 +0100
commit164ab730ccb504b823f43b48de282de702ccf71b (patch)
tree3f8331f10df8fadab7b761f2a90416aa08507697 /bitbake/lib/toaster/bldviewer/templates/bpackage.html
parentd0072fc1391eda890268a91d692075b876f85914 (diff)
downloadpoky-164ab730ccb504b823f43b48de282de702ccf71b.tar.gz
bitbake: toaster: add toaster code to bitbake
This patch adds the Toaster component to Bitbake. Toaster is a module designed to record the progress of a Bitbake build, and data about the resultant artifacts. It contains a web-based interface and a REST API allowing post-facto inspection of the build process and artifacts. Features present in this build: * toaster start script * relational data model * Django boilerplate code * the REST API * the Simple UI web interface This patch has all the development history squashed together. Code portions contributed by Calin Dragomir <calindragomir@gmail.com>. (Bitbake rev: d24334a5e83d09b3ab227af485971bb768bf5412) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/bpackage.html')
-rw-r--r--bitbake/lib/toaster/bldviewer/templates/bpackage.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/bpackage.html b/bitbake/lib/toaster/bldviewer/templates/bpackage.html
new file mode 100644
index 0000000000..2e254dbad6
--- /dev/null
+++ b/bitbake/lib/toaster/bldviewer/templates/bpackage.html
@@ -0,0 +1,44 @@
1{% extends "basebuildpage.html" %}
2
3{% block pagetitle %}Packages{% endblock %}
4{% block pagetable %}
5 {% if not packages %}
6 <p>No packages were recorded for this target!</p>
7 {% else %}
8
9 <tr>
10 <th>Name</th>
11 <th>Version</th>
12 <th>Recipe</th>
13 <th>Summary</th>
14 <th>Section</th>
15 <th>Description</th>
16 <th>Size on host disk (KBytes)</th>
17 <th>License</th>
18 <th>Dependencies List (all)</th>
19 </tr>
20
21 {% for package in packages %}
22
23 <tr class="data">
24 <td><a name="#{{package.name}}" href="{% url bfile build.pk package.pk %}">{{package.name}} ({{package.filelist_bpackage.count}} files)</a></td>
25 <td>{{package.version}}-{{package.revision}}</td>
26 <td><a href="{% url layer_versions_recipes package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a></td>
27
28 <td>{{package.summary}}</td>
29 <td>{{package.section}}</td>
30 <td>{{package.description}}</td>
31 <td>{{package.size}}</td>
32 <td>{{package.license}}</td>
33 <td>
34 <div style="height: 3em; overflow:auto">
35 {% for bpd in package.bpackage_dependencies_package.all %}
36 {{bpd.dep_type}}: {{bpd.depends_on}} <br/>
37 {% endfor %}
38 </div>
39 </td>
40 {% endfor %}
41
42 {% endif %}
43
44{% endblock %}