-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcliff-webkit2gtk.toml
More file actions
127 lines (126 loc) · 5.29 KB
/
Copy pathcliff-webkit2gtk.toml
File metadata and controls
127 lines (126 loc) · 5.29 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[changelog]
# changelog header
header = """
# Changelog\n
All notable changes to `webkit2gtk-nvidia-quirk` will be documented in this file.\n
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
This changelog is auto-generated from commits that modify this crate.\n
"""
# template for the changelog body
body = """
{% if version -%}\
## [{{ version | trim_start_matches(pat="webkit2gtk-nvidia-quirk-v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} {%- if previous and previous.version %} [compare](https://github.com/hrzlgnm/mdns-browser/compare/{{ previous.version }}...{{ version }}){% endif %}\n
{% else -%}\
## [Unreleased] {%- if commits and previous and previous.version %} [compare](https://github.com/hrzlgnm/mdns-browser/compare/{{ previous.version }}...HEAD){% endif %}\n
{% endif -%}\
{% for group, commits in commits | group_by(attribute="group") %}\
{% if group == "Added" -%}\
### Added\n
{% elif group == "Fixed" -%}\
### Fixed\n
{% elif group == "Changed" -%}\
### Changed\n
{% elif group == "Dependencies" -%}\
### Dependencies\n
{% elif group == "Security" -%}\
### Security\n
{% elif group == "Maintenance" -%}\
### Maintenance\n
{% elif group == "Miscellaneous" -%}\
### Miscellaneous\n
{% endif -%}\
{% for commit in commits -%}\
- {% if commit.scope %}*({{ commit.scope }})* {% endif -%}\
{{ commit.message | upper_first | trim }}\
{% for link in commit.links %} ([{{ link.text }}]({{ link.href }})){% endfor %}\n
{% endfor -%}\
{% endfor %}\
"""
# remove the leading and trailing whitespace from the template
trim = true
# changelog footer
footer = ""
# postprocessors to apply to the changelog
postprocessors = [
{ pattern = 'Simlify', replace = 'Simplify' },
{ pattern = 'hanlding', replace = 'handling' },
{ pattern = 'verision', replace = 'version' },
{ pattern = 'compileable', replace = 'compilable' },
{ pattern = 'thouroughly', replace = 'thoroughly' },
{ pattern = 'maitained', replace = 'maintained' },
{ pattern = 'maintainance', replace = 'maintenance' },
{ pattern = 'maitenance', replace = 'maintenance' },
{ pattern = 'resovled', replace = 'resolved' },
{ pattern = 'manully', replace = 'manually' },
{ pattern = 'manualy', replace = 'manually' },
{ pattern = 'worflow', replace = 'workflow' },
{ pattern = 'workfow', replace = 'workflow' },
{ pattern = 'constanst', replace = 'constants' },
{ pattern = 'selectin', replace = 'selecting' },
{ pattern = 'plaforms', replace = 'platforms' },
{ pattern = 'issuse', replace = 'issues' },
{ pattern = 'warnins', replace = 'warnings' },
{ pattern = 'Workaound', replace = 'Workaround' },
{ pattern = 'bundel', replace = 'bundle' },
]
[git]
# parse the commits based on Conventional Commits
conventional_commits = true
# filter out unconventional commits
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^\\w+\\(ci\\)", group = "Maintenance" },
{ message = "^feat", group = "Added" },
{ message = "^fix\\(deps\\)", group = "Dependencies" },
{ message = "^fix", group = "Fixed" },
{ message = "^doc", group = "Changed" },
{ message = "^perf", group = "Changed" },
{ message = "^refactor", group = "Changed" },
{ message = "^style", group = "Changed" },
{ message = "^test", group = "Changed" },
{ message = "^ci", group = "Maintenance" },
{ message = "^build", group = "Maintenance" },
{ message = "^chore\\(deps\\)", group = "Dependencies" },
{ message = "^chore\\(renovate", skip = true },
{ message = "^chore\\(arch-aur", skip = true },
{ message = "^chore\\(void", skip = true },
{ message = "^chore\\(winget", skip = true },
{ message = "^chore\\(homebrew", skip = true },
{ message = "^chore\\(sbom", skip = true },
{ message = "^chore\\(signing", skip = true },
{ message = "^chore\\(bundler", skip = true },
{ message = "^chore\\(publish", skip = true },
{ message = "^chore\\(version", skip = true },
{ message = "^chore: update unreleased changelog", skip = true },
{ message = "^chore\\(android", skip = true },
{ message = "^chore\\(test", skip = true },
{ message = "^chore", group = "Changed" },
{ message = "^security", group = "Security" },
{ message = "^GHSA-", group = "Security" },
{ message = "^Bump version", skip = true },
]
# protect breaking commits from being skipped
protect_breaking_commits = true
# filter out commits that are not matched by a commit_parsers
filter_commits = true
# regex for matching tags
tag_pattern = "webkit2gtk-nvidia-quirk-v[0-9].*"
# skip processing the matched tags
skip_tags = ""
# ignore processing the matched tags
ignore_tags = ""
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"
# regex for extracting issue references
link_parsers = [
{ pattern = "#(\\d+)", text = "#${1}", href = "https://github.com/hrzlgnm/mdns-browser/pull/${1}" },
]
# glob patterns to include in the changelog
include_paths = ["crates/webkit2gtk-nvidia-quirk/**"]
# glob patterns to exclude from the changelog
exclude_paths = []