← Back to team overview

linaro-release team mailing list archive

Re: [Question #170635]: Is it possible to attach an excel file to the bundle

 

Question #170635 on LAVA Dashboard changed:
https://answers.launchpad.net/lava-dashboard/+question/170635

    Status: Open => Answered

Zygmunt Krynicki proposed the following answer:
Yes.

This feature has always been available but it was not exposed in earlier
versions of lava-test. There is a 'rewrite' branch of lava-test that is
currently being polished and is about to land. This branch reworks the
internals of lava test so that parsers can freely control the shape of
the bundle (the test results, attachments, attributes and everything
else).

Technically what you do is simply attach a file with the correct mime
type (I'm not sure what mime type describes excel files). This file will
be a part of the bundle and can be downloaded from LAVA Dashboard
processed by other programs. In the rewrite branch this is possible with
TestArtifacts.attach_file(self, real_pathname, stored_pathname,
mime_type). See: http://bazaar.launchpad.net/~zkrynicki/lava-
test/rewrite/view/head:/lava_test/core/artefacts.py#L183

Currently the dashboard does not offer file attachment downloads but one
can always download the bundle using dashboard.get() API and process the
attachments on the client side.

-- 
You received this question notification because you are a member of
Linaro Validation Team, which is an answer contact for LAVA Dashboard.