diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-10-14 13:57:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-30 13:39:51 +0000 |
commit | 298c3d52bab5cf38c37438c54853d6803ca194bd (patch) | |
tree | 2113944f04d337bc6a2ddfd2484f95ab7ea2d775 /bitbake/lib/toaster/toastergui/templates/builddashboard.html | |
parent | 2837b110ae8fd5ff0ca3ac5959cadb7d4a5ce6cc (diff) | |
download | poky-298c3d52bab5cf38c37438c54853d6803ca194bd.tar.gz |
bitbake: toastergui: provide download file capability
We add, for the localhost environments, the capability to
download build artifacts. This is a pontentially dangerous API,
because it gives unrestricted read access to the build environment
file system - do not expose the functionality directly to the
web layer, but use filtering/translation code, such as
exemplified in the build_artifact view.
The capability for remote build environments is dependent
on bug 6835, as to use the collect storage as intermediary
storage for serving files.
[YOCTO #6834]
(Bitbake rev: 5fce7f6e83c6143244faa9618b7ed20c1106e08f)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 8a6709cfe1..2aa7b6bcfb 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
@@ -58,7 +58,11 @@ | |||
58 | <div class="span10"> | 58 | <div class="span10"> |
59 | {% for error in logmessages %}{% if error.level == 2 %} | 59 | {% for error in logmessages %}{% if error.level == 2 %} |
60 | <div class="alert alert-error"> | 60 | <div class="alert alert-error"> |
61 | {% if MANAGED and error.pathname %} | ||
62 | <pre><a href="{% url 'build_artifact' build.pk 'logmessagefile' error.pk %}" target="_blanc">{{error.message}}</pre> | ||
63 | {% else %} | ||
61 | <pre>{{error.message}}</pre> | 64 | <pre>{{error.message}}</pre> |
65 | {% endif %} | ||
62 | </div> | 66 | </div> |
63 | {% endif %}{% endfor %} | 67 | {% endif %}{% endfor %} |
64 | </div> | 68 | </div> |