Replies: 4 comments 5 replies
-
Thanks for your interest!
To clarify, conventional commits is merely a vessel to have a format to signal whether or not something should go into the changelog, as opposed to
Even though it's not the same, it naturally scopes messages by crate. Adding the conventional scope to the mix might be a possibility but it's not planned.
I don't actually know what it currently does with those.
Indeed, this reflects my needs only (as most of the tool) and that could be a configurable.
Currently removing commits from the changelog or re-arranging them is somewhat cumbersome and I can't imagine that to be useful for a bigger amount of commits. This is why conventional commits are intended to be used sparingly to lift only those messages into the changelog.
Maybe these ramblings above can help to plot a path forward to making it suitable for conventional-commit-only projects, contributions in that regard are welcome as long as the defaults don't change. |
Beta Was this translation helpful? Give feedback.
-
For configuration, there is crates that are able to put a configuration file layer on top of an existing clap app. That way, each flag in the clap app can be represented by a value in a toml file and it sorts out defaults that way. This way, everything that can be configured in file can also be set in the CLI when invoking the program. If anyone were to implement this, I recommend starting with a command-line flag for handling the headline filter. Configuration files could then be tacked separately, knowing that it should be sorted by a crate. |
Beta Was this translation helpful? Give feedback.
-
It's possible to obtain the
Two config files are fine to start with - they are separate programs with mutually incompatible settings, potentially. If config settings should be shared, I think this would have to be implemented somehow differently, with 'somehow' being unclear to me at this point.
I'd be happy with that as well - that way this file would be specific to the way the changelog looks and sharing between the two programs is should be easier. |
Beta Was this translation helpful? Give feedback.
-
That's great, I am looking forward to it. Thank you!
Sounds like a win-win :)! Thanks for the clarification! I admit that I do have a bias towards Ed Page who just tends to deliver supreme quality and responds to requests very quickly, so it's a safe bet to me. |
Beta Was this translation helpful? Give feedback.
-
Hi,
The cargo-smart-release readme tells to follow conventional commits
Therefore, I would personally expect the changelog generator to fully support the convention:
BREAKING CHANGE
footers in the generated changelogfeat
,fix
,perf
anddocs
in the generated changelog, but notchore
,refactor
,ci
,build
andtest
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions