Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2021-03-20 21:29:52 +0300
committerRobert Adam <dev@robert-adam.de>2021-03-20 21:29:52 +0300
commit8a9a915c1be0d02b54b994e2875a3b08f9443fc2 (patch)
tree31f48c42ca41ba599178a10e912023fb191c2c3e
parent7159d5e885535b7cbbcc86077ed238af842d2494 (diff)
MAINT: Extend grouping in changelog script
This commit adds a few more grouping rules to the generateChangelog.py script which should further reduce the manual labor needed to create changelogs.
-rwxr-xr-xscripts/generateChangelog.py26
1 files changed, 22 insertions, 4 deletions
diff --git a/scripts/generateChangelog.py b/scripts/generateChangelog.py
index af2576c33..f5f584d35 100755
--- a/scripts/generateChangelog.py
+++ b/scripts/generateChangelog.py
@@ -41,10 +41,11 @@ def main():
commits = cmd(["git", "log" ,"--format=oneline", "--date=short", "{}..{}".format(args.FROM_TAG, args.TO_TAG)]).split("\n")
- serverChanges = []
- clientChanges = []
- sharedChanges = []
- miscChanges = []
+ serverChanges = []
+ clientChanges = []
+ sharedChanges = []
+ positionalAudioChanges = []
+ miscChanges = []
skipTypes = set(["FORMAT", "DOCS", "TEST", "MAINT", "CI", "REFAC", "BUILD", "TRANSLATION"])
@@ -73,6 +74,16 @@ def main():
targetGroups.append(serverChanges)
if "shared" in commit.m_scopes:
targetGroups.append(sharedChanges)
+ if "positional-audio" in commit.m_scopes:
+ targetGroups.append(positionalAudioChanges)
+ if "ice" in commit.m_scopes and not "server" in commit.m_scopes:
+ targetGroups.append(serverChanges)
+ commit.m_summary = "Ice: " + commit.m_summary
+ if "grpc" in commit.m_scopes and not "server" in commit.m_scopes:
+ targetGroups.append(serverChanges)
+ commit.m_summary = "gRPC: " + commit.m_summary
+ if "audio" in commit.m_scopes and not "client" in commit.m_scopes:
+ targetGroups.append(clientChanges)
if len(targetGroups) == 0:
targetGroups.append(miscChanges)
@@ -112,6 +123,13 @@ def main():
print()
print()
+ if len(positionalAudioChanges) > 0:
+ print("### Positional audio plugins")
+ print()
+ print("\n".join(sorted(positionalAudioChanges)))
+ print()
+ print()
+
if len(miscChanges):
print("### Miscellaneous")
print()