You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable cover cz_conventional_commits via [tool.commitizen.customize] #1270
hey there👋 it's a fantastic cil tools. thanks for your guys contribution!
it's impossible to cover the default options such as commit Patten via toml after checking the docs and raw code,only will work on complicated full customization in toml which is scary.
😭
of course,[tool.commitizen.customize] would be invalid because of [tool.commitizen]name is not cz_customize according to the docs and raw code.
it looks like we coverdcz_conventional_commits version with [tool.commitizen.customize],which is what we need.
so let's replace the name as cz_customize, it will work on cz bump --dry-run,but cz commit -a would failed for no complete definition [tool.commitizen.customize],also docs had given the complete one looks terrified.
Possible Solution
i think we can realize it via making class CustomizeCommitsCz:to inherit from ConventionalCommitsCz directly.
changed the title [-]Enable toml cover partial custom settings[/-][+] Enable cover cz_conventional_commits via [tool.commitizen.customize][/+]on Oct 23, 2024
Maybe instead of breaking tool.commitizen.customize we could create a new one: tool.commitizen.rules.
Which would override the existing commitizen definition:
Yep, I think we should do it. We probably could make the rule a column of tool.commitizen.customize? If not provided, then it'll work as it is now. If provided, it'll inherit from that cz rule. Might need to do some import or class magic for this, but probably worth exploring 🤔
For visibility: PR #1570 (open) is the in-flight implementation of [tool.commitizen.customize]-style overrides for cz_conventional_commits. It's been waiting for review since 2025-08; reviving it would unblock both this issue and the broader umbrella in #1278.
Surfaced via the round-2 triage in #1965 — flagging that the implementation pathway exists but is review-bound.
Activity
woile commentedon Oct 22, 2024
Needs more information and examples. I don't understand what have you tried to do
AtticusZeller commentedon Oct 23, 2024
sorry for lack of enough context.
in short,I found that the
changelogdid not include total commit records(only fix feat etc)i wanna simply keep the current configuration and cover the
attrthat defines which commit should be involved inchangelogwithtomlextra configgiven official config and then cover it,but now we can not cover a bit
customconfig withtomluntil the completecustomconfig Intomlhope it will clarify my feature request.😄
[-]Enable toml cover custom settings[/-][+]Enable toml cover partial custom settings[/+]woile commentedon Oct 23, 2024
But what did you already do? Can you share the toml that didn't work?
This is a very common case and it's documented here:
https://commitizen-tools.github.io/commitizen/customization/#1-customize-in-configuration-file
[-]Enable toml cover partial custom settings[/-][+] Enable cover cz_conventional_commits via [tool.commitizen.customize][/+]AtticusZeller commentedon Oct 23, 2024
all finished but docs in #1274!
AtticusZeller commentedon Oct 25, 2024
if you guys find it really different to customize, I recommend git-cliff or git-changelog.
it would help a lot😊
woile commentedon Nov 28, 2024
I think we should continue with this. It makes sense to allow the modification of an existing provider.
Right @Lee-W @noirbizarre ?
woile commentedon Nov 28, 2024
Maybe instead of breaking
tool.commitizen.customizewe could create a new one:tool.commitizen.rules.Which would override the existing commitizen definition:
Thoughts?
Lee-W commentedon Nov 28, 2024
Yep, I think we should do it. We probably could make the rule a column of
tool.commitizen.customize? If not provided, then it'll work as it is now. If provided, it'll inherit from that cz rule. Might need to do some import or class magic for this, but probably worth exploring 🤔bearomorphism commentedon May 9, 2026
For visibility: PR #1570 (open) is the in-flight implementation of
[tool.commitizen.customize]-style overrides forcz_conventional_commits. It's been waiting for review since 2025-08; reviving it would unblock both this issue and the broader umbrella in #1278.Surfaced via the round-2 triage in #1965 — flagging that the implementation pathway exists but is review-bound.