From 1e1bd0d1ecb961f6d68cbd261bb30b5af228d336 Mon Sep 17 00:00:00 2001
From: Marco Cattaneo <marco.cattaneo@cern.ch>
Date: Thu, 13 Aug 2020 15:07:14 +0200
Subject: [PATCH] Update the release notes template to latest version from
 master

---
 ReleaseNotes/release_notes_template.md | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/ReleaseNotes/release_notes_template.md b/ReleaseNotes/release_notes_template.md
index 4ecd3969b..3fad4aa43 100644
--- a/ReleaseNotes/release_notes_template.md
+++ b/ReleaseNotes/release_notes_template.md
@@ -1,5 +1,5 @@
 {% set categories = [
-    'selection', 'hlt1', 'hlt2', 'Configuration',
+    'Configuration',
     'Decoding', 'Tracking', 'PV finding', 'Muon', 'Calo', 'RICH', 'Jets',
     'PID', 'Composites', 'Filters', 'Functors',
     'Event model', 'Persistency',
@@ -10,23 +10,23 @@
     'Build',
     ] -%}
 {% set used_mrs = [] -%}
-{% macro section(labels, used=used_mrs) -%}
-{% for mr in order_by_label(select_mrs(merge_requests, labels, used), categories) -%}
+{% macro section(labels, mrs=merge_requests, used=used_mrs, indent='', highlight='highlight') -%}
+{% for mr in order_by_label(select_mrs(mrs, labels, used), categories) -%}
   {% set mr_labels = categories|select("in", mr.labels)|list -%}
-- {% if mr_labels %}{{mr_labels|map('label_ref')|join(' ')}} | {% endif -%}
-  {{mr.title|sentence}}, {{mr.reference}} (@{{mr.author.username}}){% if mr.issue_refs %} [{{mr.issue_refs|join(',')}}]{% endif %}{% if 'highlight' in mr.labels %} :star:{% endif %}
+{{indent}}- {% if mr_labels %}{{mr_labels|map('label_ref')|join(' ')}} | {% endif -%}
+    {{mr.title|sentence}}, {{mr|mr_ref(project_fullname)}} (@{{mr.author.username}}){% if mr.issue_refs %} [{{mr.issue_refs|join(',')}}]{% endif %}{% if highlight in mr.labels %} :star:{% endif %}
 {# {{mr.description|mdindent(2)}} -#}
 {% endfor -%}
 {% endmacro -%}
 {{date}} {{project}} {{version}}
 ===
 
-This version uses LHCb v40r8, Gaudi v27r1 and LCG_84 with ROOT 6.06.02.
-
-This version is released on `2016-patches` branch.
-
-Built relative to Lbcom v18r*, with the following changes:
+This version uses
+{{project_deps[:-1]|join(',\n')}} and
+{{project_deps|last}}.
 
+This version is released on `2016-patches` branch. It is intended for 2016 incremental stripping (S28r1pX, S30r2pX, S30r3pX) and patches to Brunel (Reco16) and stripping in 2016 simulation workflows. Builds with gcc49 on slc6
+Built relative to {{project}} [{{project_prev_tag}}](../-/tags/{{project_prev_tag}}), with the following changes:
 
 ### New features ~"new feature"
 
-- 
GitLab