Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

I would like to show every commits on ChangeLog#1277

Answeredbywoile
orcahmlee asked this question inQ&A
Discussion options

Hi Team,

I used the default settings forcz ch but it wouldn't show every commits on the ChangeLog such asci,test,docs. Is there a configuration can let me choose what committing types can show on the ChangeLog instead of creating a[tool.commitizen.customize] section for this slight change?

You must be logged in to vote
Answered by woileOct 25, 2024

I don't think so, you'll have to add a customize, something like:

[tool.commitizen.customize]commit_parser ="^((?P<change_type>feat|fix|refactor|perf|docs|style|refactor|BREAKING CHANGE)(?:\\((?P<scope>[^()\r\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?"changelog_pattern ="^((BREAKING[\\-\\ ]CHANGE|\\w+)(\\(.+\\))?!?):"change_type_map = {"feat"="Feat","fix"="Fix","refactor"="Refactor","perf"="Perf","docs"="Docs","style"="Style"}

Replies: 1 comment 1 reply

Comment options

I don't think so, you'll have to add a customize, something like:

[tool.commitizen.customize]commit_parser ="^((?P<change_type>feat|fix|refactor|perf|docs|style|refactor|BREAKING CHANGE)(?:\\((?P<scope>[^()\r\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?"changelog_pattern ="^((BREAKING[\\-\\ ]CHANGE|\\w+)(\\(.+\\))?!?):"change_type_map = {"feat"="Feat","fix"="Fix","refactor"="Refactor","perf"="Perf","docs"="Docs","style"="Style"}
You must be logged in to vote
1 reply
@orcahmlee
Comment options

Thanks for your reply with the wonderful example. I would try it.

Answer selected byorcahmlee
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@orcahmlee@woile

[8]ページ先頭

©2009-2025 Movatter.jp