Skip to content

generate defaults for cz_customize pyproject.toml  #535

Open

Description

@willjhenry

Description

I want to add a type but, in order to do so, I need to define the entire commitizen sections of my pyproject.toml as outlined here: https://commitizen-tools.github.io/commitizen/customization/.

It would be much easier to have the option to start with the defaults filled in (e.g. default questions, default message_template,etc...) and then modify from there. As it is now, I am copying values out of the ConventionalCommitsCz

Possible Solution

No response

Additional context

No response

Additional context

No response

Activity

  1. Lee-W commented on Jul 22, 2022

    @Lee-W
    Member

    What's in my mind was making cz_conventional_commits configurable and deprecate cz_customize? What do you think?

  2. willjhenry commented on Jul 22, 2022

    @willjhenry
    Author
  3. willjhenry commented on Jul 22, 2022

    @willjhenry
    Author
  4. Lee-W commented on Jul 22, 2022

    @Lee-W
    Member

    either way works for me. 🙂 we're kinda out of bandwidth these days. would be great if you're interested in sending a PR

  5. amitlevy21 commented on Aug 3, 2022

    @amitlevy21

    @Lee-W Hi, I would like to try and open a PR making cz_conventional_commits read from config and then fallback to defaults, allowing extensibility without the need to specify all configuration for cz_customize if we just want to override small behavior. Is that ok from your side?

  6. amitlevy21 commented on Aug 3, 2022

    @amitlevy21

    @Lee-W I took the initiative and opened a PR. Hope it's ok and curios to hear your thoughts

  7. Lee-W commented on Aug 4, 2022

    @Lee-W
    Member

    Thanks @amitlevy21 . Will take a deeper look these days!

  8. shantonio commented on Jun 26, 2023

    @shantonio

    @Lee-W @amitlevy21
    any updates to use cz_customize with default parser ?

  9. Lee-W commented on Jun 27, 2023

    @Lee-W
    Member

    No update at this moment. Would appreciate it if anyone wants to take a look 🙂

  10. Sherensberk commented on Apr 4, 2025

    @Sherensberk

    Anyone has the "[tool.commitizen.customize]" for .toml that match with conventional_commit pattern? I just want to make a small change :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions