From fded1db880cb7a7778bacb1976fec2a0e4e200a0 Mon Sep 17 00:00:00 2001
From: Sergey Ostanevich <sergos@tarantool.org>
Date: Wed, 6 Dec 2023 19:45:02 +0300
Subject: [PATCH] changelog: add new topics 'tools' and 'testing'

Some changes are not new features, rather developer tools updates
and improvements. There are also number of tweaks we can introduce
to improve testing and tests backporting across branches, which
also are not considered neither feature nor bug fix.

NO_DOC=changelog
NO_TEST=changelog
NO_CHANGELOG=changelog

(cherry picked from commit 4d6937ef69a55b72ce1c8194cf9c42b913752a73)
---
 tools/gen-release-notes | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tools/gen-release-notes b/tools/gen-release-notes
index d77e948b89..08a240ce33 100755
--- a/tools/gen-release-notes
+++ b/tools/gen-release-notes
@@ -14,7 +14,7 @@ import subprocess
 # Ensure certain order for known sections.
 SECTIONS_TOP = ['core', 'memtx', 'vinyl', 'replication', 'swim',
                 'raft', 'luajit', 'lua', 'sql']
-SECTIONS_BOTTOM = ['build', 'testing', 'misc']
+SECTIONS_BOTTOM = ['build', 'misc']
 
 # Prettify headers, apply the ordering.
 REDEFINITIONS = {
@@ -284,9 +284,10 @@ class Parser:
         if line.startswith('## '):
             header = line.split(' ', 1)[1].strip()
             fst = header.split('/', 1)[0]
-            if fst not in ('feature', 'bugfix'):
+            if fst not in ('feature', 'bugfix', 'tools', 'testing'):
                 raise self.error("Unknown header: '{}', should be "
-                                 "'feature/<...>' or 'bugfix/<...>'"
+                                 "'feature/<...>' or 'bugfix/<...>' or"
+                                 "'tools/<...>' or 'testing/<...>'"
                                  .format(header))
             self.header = header
             self._process = self._wait_content
-- 
GitLab