Open friday opened 1 week ago
Hello 👋🏼 thanks for reporting!
I'm not sure about suppressing the configuration error, because the bump settings are in fact configurable so it might be better to let the user know about the absence of a configuration.
What do you think?
Changelog body is not specified, using the default template
I agree with this though, hence #855 :)
I'm not sure about suppressing the configuration error, because the bump settings are in fact configurable so it might be better to let the user know about the absence of a configuration.
Nice! I just learned about this after creating this issue, but it didn't hit me that it affected the issue :)
What do you think?
That does makes sense. Although, if you have a cliff.toml
, but don't specify a [bump] section, then it will not warn right? So I think in some ways it's treated as optional (I assume for backwards compatibility since you recently added it) while in other ways not. Maybe it should be more strict even, as long as you have a reason that's what matters. The warning is useful, after all :+1:
Thanks for responding so fast, elaborating, and for creating and maintaining this awesome tool :muscle:
Is there an existing issue for this?
Description of the bug
git cliff --bumped-version
will warn if cliff.toml is missing, or missing parts. For example:"cliff.toml" is not found, using the default configuration
orChangelog body is not specified, using the default template
, even though this command does not use the template.This is obviously easy to prevent by creating the template, and it doesn't output to stdout, so this is not an urgent issue.
Steps To Reproduce
git cliff --bumped-version WARN git_cliff > "cliff.toml" is not found, using the default configuration. v1.2.3
Expected behavior
It should not warn since it doesn't use the template.
Screenshots / Logs
No response
Software information
Additional context
No response