Bug 10049 - patchtest-oe: use a template when on the scripts that creates the final summary
Summary: patchtest-oe: use a template when on the scripts that creates the final summary
Status: RESOLVED FIXED
Alias: None
Product: Patchwork/Patchtest
Classification: Yocto Project Subprojects
Component: Patchtest (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M3
Assignee: Daniela Plascencia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-28 21:11 UTC by Leonardo Sandoval Gonzalez
Modified: 2017-12-06 17:06 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Sandoval Gonzalez 2016-07-28 21:11:29 UTC
Currently, the scripts/patchtest-oe-summary, the one that creates a final summary based on patchtest results do not use any text template. This is not the best approach and system should use a default template, i.e. jinja2 template, allowing a clear separation between controller and view.

This summary is sent to patchwork (see scritps/patchtest-oe-post) and for the moment it just accepts plain text, no html. In the near future, patchwork will support html so changing the template should be as trivial as possible.