-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcliff.toml
More file actions
53 lines (47 loc) · 1.49 KB
/
cliff.toml
File metadata and controls
53 lines (47 loc) · 1.49 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
# git-cliff configuration for mediatek-mt7927-dkms
# https://git-cliff.org/docs/configuration
[changelog]
header = """
# Changelog
All notable changes to the MediaTek MT7927 DKMS package are documented here.
Format: `v<pkgver>-<pkgrel>` where pkgver bumps for driver/patch changes
and pkgrel bumps for PKGBUILD packaging changes.
"""
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 | upper_first }}
{% for commit in commits %}
- {{ commit.message | split(pat="\n") | first | trim }}
{%- endfor %}
{% endfor %}
"""
trim = true
footer = ""
[git]
conventional_commits = false
filter_unconventional = false
split_commits = false
commit_parsers = [
{ message = "^Merge", skip = true },
# Driver patches - WiFi and BT
{ message = "^(mt7927|mt6639|wifi|dkms|drivers|mediatek).*:", group = "Driver" },
# Packaging (PKGBUILD, dkms.conf, install hooks)
{ message = "^(pkg|pkgbuild|PKGBUILD):", group = "Packaging" },
# Testing
{ message = "^(test-driver|stability-test|test)", group = "Testing" },
# Documentation
{ message = "^(README|docs|doc):", group = "Documentation" },
# Style / refactor
{ message = "^(style|refactor):", group = "Internal" },
# Catch-all
{ message = ".*", group = "Other" },
]
protect_breaking_commits = false
filter_commits = false
tag_pattern = "v[0-9]*"
sort_commits = "oldest"