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/package.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/package.html')
-rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/package.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/package.html b/bitbake/lib/toaster/bldviewer/templates/package.html new file mode 100644 index 0000000000..642fcab9a1 --- /dev/null +++ b/bitbake/lib/toaster/bldviewer/templates/package.html | |||
@@ -0,0 +1,36 @@ | |||
1 | {% extends "basebuildpage.html" %} | ||
2 | |||
3 | {% block pagetable %} | ||
4 | {% if not packages %} | ||
5 | <p>No packages were recorded for this target!</p> | ||
6 | {% else %} | ||
7 | |||
8 | <tr> | ||
9 | <th>Name</th> | ||
10 | <th>Version</th> | ||
11 | <th>Size (Bytes)</th> | ||
12 | <th>Recipe</th> | ||
13 | <th>Depends on</th> | ||
14 | </tr> | ||
15 | |||
16 | {% for package in packages %} | ||
17 | |||
18 | <tr class="data"> | ||
19 | <td><a name="#{{package.name}}">{{package.name}}</a></td> | ||
20 | <td>{{package.version}}</td> | ||
21 | <td>{{package.size}}</td> | ||
22 | <td><a name="{{package.recipe.name}}.{{package.package_name}}"> | ||
23 | <a href="{% url layer_versions_recipes package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a></td> | ||
24 | <td> | ||
25 | <div style="height: 3em; overflow:auto"> | ||
26 | {% for d in package.depends_on %} | ||
27 | <a href="#{{d.name}}">{{d.name}}</a><br/> | ||
28 | {% endfor %} | ||
29 | </div> | ||
30 | </td> | ||
31 | |||
32 | {% endfor %} | ||
33 | |||
34 | {% endif %} | ||
35 | |||
36 | {% endblock %} | ||