Bug 10049

Summary: patchtest-oe: use a template when on the scripts that creates the final summary
Product: [Yocto Project Subprojects] Patchwork/Patchtest Reporter: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Component: PatchtestAssignee: Daniela Plascencia <daniela.plascencia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+    
Version: 2.2   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.