Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Add configuration file option for changelog --start-rev/--incremental #291

Closed
@janw

Description

@janw

Description

When adopting commitizen and Conventional Commits on a long-running existing project, there are many old commits that do not follow the formatting spec. Thus running cz changelog always requires the --start-rev or --incremental parameter to be set so that it only considers commits after a certain point in time and not try to parse poorly formatted commit messages.

Possible Solution

  1. Introduce a configuration flag à la changelog_incremental (defaulting to False to mimic current behavior), that when set to True would have the same effect as providing the --incremental flag.
  2. Introduce a configuration flag à la changelog_start_rev that can hold a Git rev from which to always start creating the changelog.

Again, if this is something the maintainers agree is a useful feature, I'd be happy to provide a PR for it.

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