1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

scripts/oe-build-perf-report: show recipe version changes in html report

If buildstats are available (for a certain measurement), show recipe
version changes between the two builds that are being compared. The
information shown includes new and dropped recipes as well as changes in
recipe version, revision or epoch.

[YOCTO #11382]

(From OE-Core rev: 46eb839b51bb1466a9feeb09c9c437d6d45576cc)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen
2017-09-15 16:04:40 +03:00
committed by Richard Purdie
parent a80f5e761c
commit 6c222a5c11
3 changed files with 49 additions and 3 deletions
+20
View File
@@ -250,6 +250,26 @@ h3 {
</td>
</tr>
</table>
{# Recipe version differences #}
{% if measurement.buildstats.ver_diff %}
<div style="margin-top: 16px">Recipe version changes</div>
<table class="details">
{% for head, recipes in measurement.buildstats.ver_diff.items() %}
<tr>
<th colspan="2">{{ head }}</th>
</tr>
{% for name, info in recipes|sort %}
<tr>
<td>{{ name }}</td>
<td>{{ info }}</td>
</tr>
{% endfor %}
{% endfor %}
</table>
{% else %}
<div style="margin-top: 16px">No recipe version changes detected</div>
{% endif %}
{% endif %}
</div>
{% endfor %}