mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
change: set git-cliff's output format to asciidoc style
we'll be using git-cliff to produce changelogs for new tags from now on. we want to include these changelogs within the tag body without markdown. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
95bbdfc3bb
commit
477e814cd8
1 changed files with 8 additions and 35 deletions
39
cliff.toml
39
cliff.toml
|
@ -2,52 +2,25 @@
|
||||||
|
|
||||||
[changelog]
|
[changelog]
|
||||||
# changelog header
|
# changelog header
|
||||||
header = """
|
header = ""
|
||||||
# Changelog
|
|
||||||
All notable feature additions, bug fixes and changes to this project will be \
|
|
||||||
documented in this file.\n
|
|
||||||
"""
|
|
||||||
# template for the changelog body
|
# template for the changelog body
|
||||||
# https://tera.netlify.app/docs/#introduction
|
# https://tera.netlify.app/docs/#introduction
|
||||||
body = """
|
body = """
|
||||||
{% if version %}\
|
{% if version %}\
|
||||||
#### Release [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
Release {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||||
{% else %}\
|
---------------------------
|
||||||
{% set head = commits | last %}\
|
|
||||||
| Branch | HEAD | Status | Coverage |
|
|
||||||
|--------|------|--------|----------|
|
|
||||||
| [pu](https://gitlab.archlinux.org/archlinux/aurweb/-/tree/pu) | [{{ head.id | truncate(length=8, end="") }}](https://gitlab.archlinux.org/archlinux/aurweb/-/commits/{{ head.id }}) |  |  |
|
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% for group, commits in commits | group_by(attribute="group") %}
|
{% for group, commits in commits | group_by(attribute="group") %}
|
||||||
### {{ group | lower }}
|
{{ group | lower }}:\
|
||||||
| Commit | Message |
|
|
||||||
|--------|---------| \
|
|
||||||
{% for commit in commits %}
|
{% for commit in commits %}
|
||||||
| [{{ commit.id | truncate(length=8, end="") }}](https://gitlab.archlinux.org/archlinux/aurweb/-/commit/{{ commit.id }}) | {{ commit.message }} |\
|
- {{ commit.id | truncate(length=8, end="") }} - {{ commit.message }}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\n
|
||||||
"""
|
"""
|
||||||
# remove the leading and trailing whitespaces from the template
|
# remove the leading and trailing whitespaces from the template
|
||||||
trim = true
|
trim = true
|
||||||
# changelog footer
|
# changelog footer
|
||||||
footer = """
|
footer = ""
|
||||||
## Notes
|
|
||||||
|
|
||||||
See a general project status overview at \
|
|
||||||
https://gitlab.archlinux.org/archlinux/aurweb/-/wikis/Home.
|
|
||||||
|
|
||||||
To contribute with testing of the modern aurweb FastAPI port development, visit \
|
|
||||||
https://gitlab.archlinux.org/archlinux/aurweb/-/wikis/Testing-Guide.
|
|
||||||
|
|
||||||
To file a bug, create an issue using the Bug template by following the link: \
|
|
||||||
https://gitlab.archlinux.org/archlinux/aurweb/-/issues/new?issuable_template=Bug.
|
|
||||||
|
|
||||||
To provide feedback, create an issue using the Feedback template by following
|
|
||||||
the link: \
|
|
||||||
https://gitlab.archlinux.org/archlinux/aurweb/-/issues/new?issuable_template=Feedback.
|
|
||||||
|
|
||||||
<!-- generated by git-cliff -->
|
|
||||||
"""
|
|
||||||
|
|
||||||
[git]
|
[git]
|
||||||
# allow only conventional commits
|
# allow only conventional commits
|
||||||
|
|
Loading…
Add table
Reference in a new issue