Print any image in your terminal or text file lib.rs/crates/aarty
ascii ascii-art
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at aurora 100 lines 3.6 kB view raw
1[remote.github] 2owner = "0x61nas" 3repo = "aarty" 4# token = "" 5 6[changelog] 7header = """ 8# Changelog\n 9All notable changes to this project will be documented in this file.\n 10 11> [!Note] 12> this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 13""" 14# template for the changelog body 15# https://keats.github.io/tera/docs/#introduction 16body = """ 17{% if version %}\ 18 ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} 19{% else %}\ 20 ## [unreleased] 21{% endif %}\ 22{% for group, commits in commits | group_by(attribute="group") %} 23 ### {{ group | striptags | trim | upper_first }} 24 {% for commit in commits | unique(attribute="message")%} 25 - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\ 26 {% if commit.breaking %}[**breaking**] {% endif %}\ 27 {{ commit.message | upper_first }}\ 28 {% endfor %} 29{% endfor %}\n\n 30{% if version %} 31 {% if previous.version %} 32 > **Full Changelog**: {{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }} 33 {% endif %} 34{% else -%} 35 {% raw %}\n{% endraw %} 36{% endif %} 37 38{%- macro remote_url() -%} 39 https://github.com/0x61nas/aarty 40{%- endmacro -%} 41""" 42# template for the changelog footer 43footer = """ 44<!-- generated by git-cliff --> 45""" 46# remove the leading and trailing s 47trim = true 48# postprocessors 49postprocessors = [ 50 { pattern = '<REPO>', replace = "https://github.com/0x61nas/aarty" }, # replace repository URL 51] 52 53[git] 54# parse the commits based on https://www.conventionalcommits.org 55conventional_commits = true 56# filter out the commits that are not conventional 57filter_unconventional = false 58# process each line of a commit as an individual commit 59split_commits = false 60# regex for preprocessing the commit messages 61commit_preprocessors = [ 62 # Replace issue numbers 63 { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"}, 64 # Check spelling of the commit with https://github.com/crate-ci/typos 65 # If the spelling is incorrect, it will be automatically fixed. 66 # { pattern = '.*', replace_command = 'typos --write-changes -' }, 67] 68# regex for parsing and grouping commits 69commit_parsers = [ 70 { message = "^feat", group = "<!-- 0 -->🚀 Features" }, 71 { message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" }, 72 { message = "^doc", group = "<!-- 3 -->📚 Documentation" }, 73 { message = "^perf", group = "<!-- 4 -->⚡ Performance" }, 74 { message = "^refactor", group = "<!-- 2 -->🚜 Refactor" }, 75 { message = "^style", group = "<!-- 5 -->🎨 Styling" }, 76 { message = "^test", group = "<!-- 6 -->🧪 Testing" }, 77 { message = "^chore\\(release\\): prepare for", skip = true }, 78 { message = "^chore\\(deps.*\\)", skip = true }, 79 { message = "^chore\\(pr\\)", skip = true }, 80 { message = "^chore\\(pull\\)", skip = true }, 81 { message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" }, 82 { body = ".*security", group = "<!-- 8 -->🛡️ Security" }, 83 { message = "^revert", group = "<!-- 9 -->◀️ Revert" }, 84] 85# protect breaking changes from being skipped due to matching a skipping commit_parser 86protect_breaking_commits = false 87# filter out the commits that are not matched by commit parsers 88filter_commits = false 89# regex for matching git tags 90tag_pattern = "[0-9].*" 91# regex for skipping tags 92# skip_tags = "" 93# regex for ignoring tags 94# ignore_tags = "" 95# sort the tags topologically 96topo_order = false 97# sort the commits inside sections by oldest/newest order 98sort_commits = "oldest" 99# limit the number of commits included in the changelog. 100# limit_commits = 42