-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcliff.toml
More file actions
55 lines (52 loc) · 2.05 KB
/
Copy pathcliff.toml
File metadata and controls
55 lines (52 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[changelog]
header = "# Changelog\n\nAll notable changes to Basalt are documented here.\n"
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }}
{% endfor %}
{% endfor %}\n
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_parsers = [
# Skip non-user-facing commits
{ message = "^(chore|ci|test|bench)", skip = true },
# Group by crate/domain (matched via scope in commit message)
{ message = "\\(server", group = "Server" },
{ message = "\\(net", group = "Networking" },
{ message = "\\(protocol", group = "Protocol" },
{ message = "\\(types", group = "Types" },
{ message = "\\(derive", group = "Derive Macros" },
{ message = "\\(world", group = "World" },
{ message = "\\(ecs", group = "ECS" },
{ message = "\\(api", group = "Plugin API" },
{ message = "\\(core", group = "Core" },
{ message = "\\(command", group = "Commands" },
{ message = "\\(events", group = "Events" },
{ message = "\\(storage", group = "Storage" },
{ message = "\\(testkit", group = "Test Kit" },
{ message = "\\(physics", group = "Physics Plugin" },
{ message = "\\(item", group = "Item Plugin" },
{ message = "\\(container", group = "Container Plugin" },
{ message = "\\(chat", group = "Chat Plugin" },
{ message = "\\(block", group = "Block Plugin" },
{ message = "\\(lifecycle", group = "Lifecycle Plugin" },
{ message = "\\(movement", group = "Movement Plugin" },
{ message = "\\(codegen", group = "Code Generation" },
{ message = "\\(deps", group = "Dependencies" },
{ message = "\\(docs|\\(claude", group = "Documentation" },
# Catch-all
{ message = ".*", group = "Other" },
]
tag_pattern = "v[0-9]*"
sort_commits = "oldest"