1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-11-29 04:07:32 +03:00
Commit Graph

184 Commits

Author SHA1 Message Date
Orhun Parmaksız
b6b544949d
docs(website): add highlights for 2.7.0 (#955) 2024-11-20 13:37:16 +03:00
Orhun Parmaksız
237c327839
chore(integration): remove experimental feature disclaimer 2024-11-19 20:48:03 +03:00
Paul Iyobo
6d86e2c942
feat(config): allow overriding the remote API URL via config (#896)
* Added api_url configuration to RemoteConfig

* Added api_url remote config parameter to the documentation

* Fmt

* Readded use statement erroneously removed

* chore: bring back https in gitlab link

* docs(website): add missing dot to remote docs

* refactor(remote): clean up constant handling

* fix: fix the behavior and add fixture test

* docs: add example of api_url

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-11-19 20:12:52 +03:00
Muhammad Owais Warsi
c1f12154e7
docs(git): improve docs for commit_preprocessors and commit_parsers (#928) 2024-11-03 19:51:57 +03:00
Paul Campbell
ab95626394
feat(jujutsu): add jujustu support (#930)
* feat: jujustu support

If the .git directory can't be opened (usually because the `.git` directory is missing) it attempts to find the git repository in the location used by Jujutsu (i.e. `.jj/repo/store/git`). If the Jujutsu git directory doesn't exist, then the origin error is propogated.
CODE

test: add unit tests for opening jujutsu repo
Update git-cliff-core/src/repo.rs

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Update git-cliff-core/src/repo.rs

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Update git-cliff-core/src/repo.rs

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Update git-cliff-core/src/repo.rs

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>

* docs: Add page to website for jujutsu

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-11-01 11:33:31 +03:00
Orhun Parmaksız
0c207d606e
chore(website): add new testimonials 2024-10-17 12:02:40 +03:00
Dương Quốc Khánh
f8641ee8f7
fix(changelog): fix missing commit fields in context (#837) (#920)
* feat(commit): add `raw_message` to `Commit`

* test(fixtures): add test generate all fields in conventional commits

* test(fixtures): add test do not discard missing fields in conventional
commits when reading from context

* docs(website): add `raw_message` fields to `context.md`
2024-10-17 10:56:41 +03:00
Orhun Parmaksız
bfe9beb093
docs(website): add more testimonials 2024-09-29 21:18:02 +03:00
Orhun Parmaksız
ef2374cab1
feat(website): add user testimonials (#895) 2024-09-29 20:57:22 +03:00
Vasilii A
bcc32ca5d1
docs(website): update sourcehut (#894) 2024-09-29 10:14:43 +03:00
ckrenslehner
58dc1087ed
docs(website): add conversion to pdf to tips-and-tricks (#889)
* docs: add conversion to pdf to tips-and-tricks

* Update website/docs/tips-and-tricks.md

* Update website/docs/tips-and-tricks.md

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-09-27 17:03:02 +03:00
Orhun Parmaksız
dfe4459c5c
docs(website): add get_env filter example for GitLab CI 2024-09-26 11:23:56 +03:00
Orhun Parmaksız
050fb55e86
docs(website): add highlights for 2.6.0 (#873)
* docs(website): add highlights for 2.6.0

* chore(fixture): use correct date
2024-09-22 09:08:44 +03:00
Orhun Parmaksız
ad039d56b6
feat(config): add changelog.render_always option (#859)
* feat(config): add changelog.always_render option

* chore(fixtures): fix typo in arguments

* chore(fixture): update expected output

* chore: fix edge cases

* fix: add missing field

* refactor: rename always_render to render_always
2024-09-21 21:06:27 +03:00
Orhun Parmaksız
c2db791a6e
feat(config): allow configuring output file from config (#829)
* feat(config): allow configuring output file from config

* test: add missing output to tests

* chore: move output to default config
2024-09-21 18:46:45 +03:00
Jeroen Claassens
c41eacb0b8 docs(args): fix copy-paste mistake where gitea mentioned gitlab 2024-09-21 17:43:57 +02:00
dependabot[bot]
189fbaed27
chore(deps-dev): bump typescript from 5.5.4 to 5.6.2 in /website in the minor group (#845)
Bumps the minor group in /website with 1 update: [typescript](https://github.com/microsoft/TypeScript).


Updates `typescript` from 5.5.4 to 5.6.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 14:14:35 +03:00
Marco Ieni
87e2c1d0dd
feat(core): add remote to commit and deprecate fields (#822)
* feat(core): add `remote` field to commit

* refactor

* fmt

* deprecate old fields

* serialize remote field

* fix

* fix typo

* allow deprecated

* move warn

* move filename

* docs

* docs

* fix

* fmt

* chore(fixtures): use remote instead of platform name for template variables

* remove useless method

* update docs

* use contains_variable

* fix no-default-features

* chore(remote): update template varibles for platforms

* set commit.remote

* chore(release): update unit tests for new remote field

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-09-15 20:28:56 +03:00
Orhun Parmaksız
e56cd8de17
docs(website): clarify comment about tag argument 2024-09-14 12:00:19 +03:00
Binbin
2a581a82bb
feat(changelog): support generating changelog for different branches (#808)
* feat: support generating change log for different branches

* check if the head commit is also a tag commit

* simplify implementation without requiring a branch

* remove unused import

* update test-topo-order fixture

* add comment for should_include_tag

* fix typo

* rename variable

* generate fixture considering timezone difference

* make --use-branch-tags optional for backward compatibility

* add missing field

* refactor: polish implementation

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-09-09 21:16:53 +03:00
Orhun Parmaksız
08e761c20f
chore(examples): improve example templates (#835)
* chore(examples): improve example templates

* chore(typos): configure typos
2024-09-01 11:18:35 +03:00
dependabot[bot]
79619d0526
chore(deps): bump prism-react-renderer from 2.3.1 to 2.4.0 in /website in the minor group (#828)
Bumps the minor group in /website with 1 update: [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer).


Updates `prism-react-renderer` from 2.3.1 to 2.4.0
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/prism-react-renderer@2.3.1...prism-react-renderer@2.4.0)

---
updated-dependencies:
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-30 08:30:28 +03:00
Orhun Parmaksız
49df8cb0d6
docs(website): add highlights for 2.5.0 (#815)
* docs(website): add highlights for 2.5.0

* docs(website): add latest changes to 2.5.0 blog

* chore(website): add announcement bar
2024-08-24 10:51:41 +03:00
dependabot[bot]
9831ccb4eb
chore(deps): bump the minor group in /website with 4 updates (#813)
* chore(deps): bump the minor group in /website with 4 updates

Bumps the minor group in /website with 4 updates: [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus), [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic), [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) and [@docusaurus/tsconfig](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-tsconfig).


Updates `@docusaurus/core` from 3.4.0 to 3.5.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.5.2/packages/docusaurus)

Updates `@docusaurus/preset-classic` from 3.4.0 to 3.5.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.5.2/packages/docusaurus-preset-classic)

Updates `@docusaurus/module-type-aliases` from 3.4.0 to 3.5.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.5.2/packages/docusaurus-module-type-aliases)

Updates `@docusaurus/tsconfig` from 3.4.0 to 3.5.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.5.2/packages/docusaurus-tsconfig)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@docusaurus/tsconfig"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update blog settings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-08-24 10:36:28 +03:00
Orhun Parmaksız
d727e2662c
chore(deps): bump dependencies (#811)
* chore(deps): bump dependencies

* chore(deps): bump MSRV
2024-08-23 21:08:54 +03:00
dependabot[bot]
9e420c6d69
chore(deps): bump the patch group across 1 directory with 2 updates (#795)
Bumps the patch group with 2 updates in the /website directory: [@easyops-cn/docusaurus-search-local](https://github.com/easyops-cn/docusaurus-search-local/tree/HEAD/packages/docusaurus-search-local) and [typescript](https://github.com/Microsoft/TypeScript).


Updates `@easyops-cn/docusaurus-search-local` from 0.44.2 to 0.44.5
- [Release notes](https://github.com/easyops-cn/docusaurus-search-local/releases)
- [Commits](https://github.com/easyops-cn/docusaurus-search-local/commits/v0.44.5/packages/docusaurus-search-local)

Updates `typescript` from 5.5.2 to 5.5.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.4)

---
updated-dependencies:
- dependency-name: "@easyops-cn/docusaurus-search-local"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 21:08:32 +03:00
Jan Buchar
3b6156ddd6
feat(cli): generate changelog from JSON context (#784)
* feat(cli): generate changelog from JSON context

* Add 'extra' field to releases and commits

* Add fixture test

* Serialize extra field for commits

* Format

* Adjust test expectations

* Add missing fields in tests

* Add usage page

* refactor(arg): update from-context argument details

* refactor(from-context): polish implementation

* docs(from-context): extend documentation

* fix(from-context): revert stdin handling

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-08-23 15:39:27 +03:00
Orhun Parmaksız
6f8ea19baa
refactor(config): make example templates more user-friendly 2024-08-21 18:48:34 +03:00
Orhun Parmaksız
a71649b6cd
chore(website): remove v2 announcement 2024-08-17 10:31:19 +02:00
Orhun Parmaksız
565b9c8df0
chore(website): add discord button to navbar 2024-08-17 10:30:15 +02:00
tison
b8045e97ed
feat(changelog): support count_tags option (#599)
* feat: support count_tags option

Signed-off-by: tison <wander4096@gmail.com>

* add fixures tags

Signed-off-by: tison <wander4096@gmail.com>

* fixup

Signed-off-by: tison <wander4096@gmail.com>

* add count_tags to args

Signed-off-by: tison <wander4096@gmail.com>

* add docs

Signed-off-by: tison <wander4096@gmail.com>

* run cargo fmt

Signed-off-by: tison <wander4096@gmail.com>

* fixup default to true

Signed-off-by: tison <wander4096@gmail.com>

* docs(website): update documentation about count_tags

---------

Signed-off-by: tison <wander4096@gmail.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-08-13 12:22:54 +03:00
DerTiedemann
ccf2ab769a
feat(parser): allow whole commit context to be used in commit parsers (#758)
* fix: reorder execution to have context poplulated before parsing/pruning

* feat: allow field to read from context object

* fix: add tests

* fix: add legacy fix for body field

* test: add fixture

* docs: update documentation

* refactor: clean up implementation

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-08-08 22:30:36 +03:00
Orhun Parmaksız
85bfa952e4
docs(website): clarify authentication with GitHub token (#787) 2024-08-08 10:57:00 +03:00
Binbin
9dbf47bac5
feat(bump): support bumping to a specific semver type (#744)
* feat: support bump a specific version type

* let --bump accept optional enum

* doc: update document for --bump

* test: add bump version fixtures tests

* refactor: polish implementation

* refactor: fix typo

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-07-31 08:48:03 +03:00
Amin Yahyaabadi
35dc1e46fd
feat(profiler): support performance profiling via pprof (#768)
* feat: support performance profiling via pprof

This adds support for performance profiling that allows for finding the bottlenecks and performance optimizations.

It can be enabled via `profiler` feature and the `bench` build profile.

```shell
cargo build --profile=bench --features=profiler
```

* refactor(profiling): clean up implementation

* feat(ci): run profiler

* fix(ci): fetch all the history for profiler

* docs(website): add profiling docs

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-07-29 11:25:23 +03:00
Orhun Parmaksız
c791418c7e
refactor(gitlab): clean up url encoding for GitLab 2024-07-28 09:12:43 +03:00
Anthony Butt
e3e7c07940
fix(gitlab): URL-encode the owner in remote requests for GitLab (#742)
Gitlab requires that the project path be fully encoded. See the docs for
details. https://docs.gitlab.com/ee/api/rest/#namespaced-path-encoding
Pulls in the urlencoding crate here. Might not be needed when you have
the choice to just update the documentation. I don't think the end user
should be required to url encode their own strings. It might be nicer to
just add the subgroup paradigm to the gitlab config in general for the
future. This will fix the problem for now.
2024-07-28 09:12:32 +03:00
Caleb Maclennan
dc144dd9d0
docs(website): correct inverted consequences of configuration value (#760) 2024-07-27 13:30:15 +03:00
Orhun Parmaksız
227a307d85
docs(website): add header to 2.4.0 blog post 2024-06-26 13:32:45 +03:00
Orhun Parmaksız
5558cc51b1
docs(website): add highlights for 2.4.0 (#729) 2024-06-26 12:49:31 +03:00
Mateusz Kurowski
854b411e47
docs(website): add more context about ignore_tags matching commits (#710)
Signed-off-by: Bukowa <gitbukowa@gmail.com>
2024-06-26 12:47:14 +03:00
Orhun Parmaksız
e7807e13c4
feat(context): add repository path to template context (#721) 2024-06-25 23:41:37 +03:00
Meitar Reihan
3eb828e69a
feat(changelog): add tag message to release context (#713)
* feat: add tag message to release context

- add to the release context the tag's message if it exists
- add message to the default config

* feat(args): add `--with-tag-message` argument

to allow setting the message of the last release in the context

* docs: update args

* docs: add adding-tag-messages

* refactor: polish implementation

* tests(test-tag-message): fix the template

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-22 13:29:49 +03:00
Meitar Reihan
8e03356706
feat(bump): support bumping based on configurable custom pattern (#725)
* chore(deps): bump next_version from 0.2.17 to 0.2.18

Bumps [next_version](https://github.com/MarcoIeni/release-plz) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/MarcoIeni/release-plz/releases)
- [Changelog](https://github.com/MarcoIeni/release-plz/blob/main/CHANGELOG.md)
- [Commits](https://github.com/MarcoIeni/release-plz/compare/next_version-v0.2.17...next_version-v0.2.18)

---
updated-dependencies:
- dependency-name: next_version
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: Support bumping version based on configurable custom pattern

closes #717

* refactor: clean up implementation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-21 23:38:52 +03:00
dependabot[bot]
d642d33c27
chore(deps-dev): bump typescript from 5.4.5 to 5.5.2 in /website in the minor group (#723)
Bumps the minor group in /website with 1 update: [typescript](https://github.com/Microsoft/TypeScript).


Updates `typescript` from 5.4.5 to 5.5.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 20:48:56 +03:00
dependabot[bot]
9e152a2dc0
chore(deps): bump @easyops-cn/docusaurus-search-local from 0.44.1 to 0.44.2 in /website in the patch group (#724)
Bumps the patch group in /website with 1 update: [@easyops-cn/docusaurus-search-local](https://github.com/easyops-cn/docusaurus-search-local/tree/HEAD/packages/docusaurus-search-local).


Updates `@easyops-cn/docusaurus-search-local` from 0.44.1 to 0.44.2
- [Release notes](https://github.com/easyops-cn/docusaurus-search-local/releases)
- [Commits](https://github.com/easyops-cn/docusaurus-search-local/commits/v0.44.2/packages/docusaurus-search-local)

---
updated-dependencies:
- dependency-name: "@easyops-cn/docusaurus-search-local"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 17:48:53 +03:00
dependabot[bot]
4a3edcaf5d
chore(deps): bump @easyops-cn/docusaurus-search-local from 0.44.0 to 0.44.1 in /website in the patch group (#720)
Bumps the patch group in /website with 1 update: [@easyops-cn/docusaurus-search-local](https://github.com/easyops-cn/docusaurus-search-local/tree/HEAD/packages/docusaurus-search-local).


Updates `@easyops-cn/docusaurus-search-local` from 0.44.0 to 0.44.1
- [Release notes](https://github.com/easyops-cn/docusaurus-search-local/releases)
- [Commits](https://github.com/easyops-cn/docusaurus-search-local/commits/v0.44.1/packages/docusaurus-search-local)

---
updated-dependencies:
- dependency-name: "@easyops-cn/docusaurus-search-local"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-20 10:27:19 +03:00
Buk Bukowski
94891c2c27
feat(args): add --ignore-tags argument (#696)
* feat(cli,args): allow overwriting `ignore_tags` argument

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): cargo fmt

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): clippy

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert "chore(lint): clippy"

This reverts commit f307647f87.

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert chore(lint): cargo fmt in changelog.rs

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore: git update-index --chmod=+x .github/fixtures/test-cli-arg-ignore-tags/commit.sh

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore(lint): fix formatting

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* revert changes to test-fixtures-locally.sh

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* revert changes to .gitignore

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* chore: change doc in args.rs and doc

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* Revert "chore(lint): fix formatting"

This reverts commit c829865feb.

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* style(lint): rustfmt

Signed-off-by: Bukowa <gitbukowa@gmail.com>

* tests(fixtures): uncomment commit

* tests(fixtures): fix expected.md

---------

Signed-off-by: Bukowa <gitbukowa@gmail.com>
2024-06-17 20:47:14 +03:00
Cyclonit
9fc12bb90c
feat(changelog): make changelog.header a template (#698)
* feat(changelog): make changelog.header a template (#697)

* refactor: clean up implementation

* docs: update the description of header field

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-17 20:43:00 +03:00
Jan Ferdinand Sauer
50c240c25b
feat(changelog): support parsing commits by footer (#569)
* feat: Enable footer-based commit parsing

Enable defining parsers for a commit's footer, similar to the already-
present commit parsers for a commit's message or body.

For example:

```toml
commit_parsers = [
  { footer = "changelog: ignore", skip = true },
]
```

Due to an inconsistency between the conventional commits specification
and its reference parser, footers are currently interpreted as
`key:value` instead of the (correct) `key: value`. See
https://github.com/conventional-commits/parser/issues/47 for details.
As a future-proof workaround, you can use `key: ?value` in the regex.

* chore: fix typo

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-06-16 19:32:39 +03:00