From 05faa74f581e56ad992a3d35a7f531f4f7dd3fbc Mon Sep 17 00:00:00 2001
From: Marco Cattaneo <marco.cattaneo@cern.ch>
Date: Thu, 13 Aug 2020 13:54:30 +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 6e9163338..9f2bfea77 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 v44rX, Gaudi v29r5 and LCG_93 with ROOT 6.12.06.
+This version uses
+{{project_deps[:-1]|join(',\n')}} and
+{{project_deps|last}}.
 
-This version is released on `2018-patches` branch. It is intended for 2018 incremental stripping (`S34r0pX`, `S35r0pX`, `S35r1pX`) and patches to Moore, Brunel (`Re
-co18`) and stripping in 2018 simulation workflows. Builds with gcc62 on slc6 and centos7 and with gcc7 on centos7
-
-Built relative to Lbcom v22rX, with the following changes:
+This version is released on `2018-patches` branch. It is intended for 2018 incremental stripping (`S34r0pX`, `S35r0pX`, `S35r1pX`), 2015 and 2016 restripping (`S24r2`, `S28r2`) and patches to Moore, Brunel (`Reco18`) and stripping in 2015,2016 and 2018 simulation workflows. Builds with gcc62 on slc6 and centos7 and with gcc7 on centos7
+Built relative to {{project}} [{{project_prev_tag}}](../-/tags/{{project_prev_tag}}), with the following changes:
 
 ### New features ~"new feature"
 
-- 
GitLab