From cb1338dedc3873ac81488df9dd3aa6f048e6b02f Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Fri, 11 Oct 2013 13:46:23 +0100 Subject: 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 . Signed-off-by: Alexandru DAMIAN --- .../lib/toaster/bldviewer/templates/package.html | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bitbake/lib/toaster/bldviewer/templates/package.html (limited to 'bitbake/lib/toaster/bldviewer/templates/package.html') 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 @@ +{% extends "basebuildpage.html" %} + +{% block pagetable %} + {% if not packages %} +

No packages were recorded for this target!

+ {% else %} + + + Name + Version + Size (Bytes) + Recipe + Depends on + + + {% for package in packages %} + + + {{package.name}} + {{package.version}} + {{package.size}} + + {{package.recipe.name}}{{package.package_name}} + +
+ {% for d in package.depends_on %} + {{d.name}}
+ {% endfor %} +
+ + + {% endfor %} + + {% endif %} + +{% endblock %} -- cgit v1.2.3-54-g00ecf