summaryrefslogtreecommitdiff
path: root/meta-arm/scripts/report-index.html.jinja
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2022-08-03 16:55:16 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2022-08-03 17:56:03 +0300
commitbec4ebc22c43c1ff5c3fddb820d44a88bd3aebf0 (patch)
treecd378e3e0eaff8fe11880bd397f41671e2347a39 /meta-arm/scripts/report-index.html.jinja
parent79161d7a7126cad324ff0c11a93d8e57d80203ed (diff)
downloadopenbmc-bec4ebc22c43c1ff5c3fddb820d44a88bd3aebf0.tar.xz
Import 80d60e7 from yoctoproject.org meta-arm
To support ARMv8 SoCs. meta-arm has several patch files. Since they are maintained by the upstream meta-arm community, add meta-arm to the ignore list in run-repotest. Change-Id: Ia87a2e947bbabd347d256eccc47a343e1c885479 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-arm/scripts/report-index.html.jinja')
-rw-r--r--meta-arm/scripts/report-index.html.jinja50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-arm/scripts/report-index.html.jinja b/meta-arm/scripts/report-index.html.jinja
new file mode 100644
index 0000000000..44537581b3
--- /dev/null
+++ b/meta-arm/scripts/report-index.html.jinja
@@ -0,0 +1,50 @@
+{% extends "report-base.html.jinja" %}
+{% block title %}Recipe Report{% endblock %}
+
+{% block content %}
+ <table class="table is-striped">
+ <thead>
+ <tr>
+ <th>Machine</th>
+ {% for recipe in recipes|sort %}
+ <th>{{ recipe }} ({{releases[recipe]|default("?")}})</th>
+ {% endfor %}
+ </tr>
+ </thead>
+ <tbody>
+ {% for machine, data in data|dictsort %}
+ <tr>
+ <th><a href="{{machine}}.html">{{ machine }}</a></th>
+ {% for recipe in recipes|sort %}
+ {% if recipe in data %}
+ {% set details = data[recipe] %}
+ <td style="text-align: center">
+ <a href="{{machine}}.html#recipe-{{details.recipe}}">
+ {{ details.recipe if details.recipe != recipe}}
+ {{ details.version }}
+ </a>
+ {% if details.patches or details.needs_update %}
+ <br>
+ {% if details.patches %}
+ <span class="tag {{ "is-info" if details.patches_safe else "is-danger" }}">
+ {% trans count=details.patches|length %}
+ {{ count }} Patch
+ {% pluralize %}
+ {{ count }} Patches
+ {% endtrans %}
+ </span>
+ {% endif %}
+ {% if details.needs_update %}
+ <span class="tag is-danger">Upgrade</span>
+ {% endif %}
+ {% endif %}
+ </td>
+ {% else %}
+ <td>-</td>
+ {% endif %}
+ {% endfor %}
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+{% endblock %}