Closed
Description
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
- 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. - 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.