aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-03-02 09:09:35 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commit227b9c65af14ab7edfa788b3b33b141a21df78c3 (patch)
treef2ff3c740996edcd5c7c6e6415683677e79481f3 /templates
parent735353ebd1171aa6e276654586e57c56f17842d5 (diff)
downloadopenembedded-core-contrib-227b9c65af14ab7edfa788b3b33b141a21df78c3.tar.gz
rrs_upstream_email: rework
* Use maintenance plans to get layerbranches * Use from/to/subject and admin contact from maintenance plan * Use an actual template to render the email (and drop tabulate dependency) * Improve grammar in the email text * Use a single line to represent the most recent commit Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/rrs/report_email.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/rrs/report_email.txt b/templates/rrs/report_email.txt
new file mode 100644
index 0000000000..02976fc440
--- /dev/null
+++ b/templates/rrs/report_email.txt
@@ -0,0 +1,26 @@
+This is an automated message from the Recipe Reporting System.
+
+Listed below are recipes which need to be upgraded based on the versions
+available upstream. If a maintainer believes some of them cannot be upgraded
+at this time, they can set RECIPE_NO_UPDATE_REASON in the recipe file(s) as
+a reminder of why not.
+
+Example:
+RECIPE_NO_UPDATE_REASON = "Version 2.0 is unstable"
+
+For further details please visit:
+
+ {{ site_url }}
+
+Package Version Upstream version Maintainer No upgrade reason
+-------------------- --------------- -------------------- -------------------- ------------------------------
+{% for line in recipelines %}{{ line.pn|truncatechars:20|ljust:20 }} {{ line.pv|truncatechars:15|ljust:15 }} {{ line.pv_upstream|truncatechars:20|ljust:20 }} {{ line.maintainer|truncatechars:20|ljust:20 }} {{ line.noupgradereason|truncatechars:30 }}
+{% endfor %}
+Upgradable count: {{ upgradable_count }}
+Upgradable total count: {{ total_upgradable_count }}
+
+Based upon current {{ commits|length|pluralize:"commit,commits" }}:
+
+{% for commit in commits %} {{ commit }}
+{% endfor %}
+{% if maintplan.admin %}If there are any problems with the above, please contact: {{ maintplan.admin.first_name }} {{ maintplan.admin.last_name }} <{{ maintplan.admin.email }}>{% endif %}