Debian Codegraph @

templates/CHANGELOG.md.j2

raw
1 # Changelog
2
3 {%- for version, release in context.history.released.items() %}
4
5 ## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
6
7 {%- for category, commits in release["elements"].items() %}
8 {# Category title: Breaking, Fix, Documentation #}
9 ### {{ category | capitalize }}
10 {# List actual changes in the category #}
11 {%- for commit in commits %}
12 - {{ commit.descriptions[0] | capitalize }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
13 {%- endfor %}{# for commit #}
14
15 {%- endfor %}{# for category, commits #}
16
17 {%- endfor %}{# for version, release #}