diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-10-11 13:46:23 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-10-16 15:26:37 +0100 |
commit | cb1338dedc3873ac81488df9dd3aa6f048e6b02f (patch) | |
tree | c94cfe05a88b87bcd8cda1ae5b825ac475601b80 /bitbake/lib/toaster/bldviewer/templates/bpackage.html | |
parent | faf8f8660fae26a14578738b642fdeb08bcb9d54 (diff) | |
download | poky-cb1338dedc3873ac81488df9dd3aa6f048e6b02f.tar.gz |
bitbake: 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>.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/bpackage.html')
-rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/bpackage.html | 44 |
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 %} | ||