Currently, if you try to run scriv collect and there are no changelog fragments, this happens:
$ scriv collect
Collecting from changelog.d
No changelog fragments to collect
$ echo $?
0
... and the changelog is unchanged.
I find this behavior unhelpful. I'm using scriv in automation, so I'd like to be able to rely on the property that if scriv collect succeeds, then it has added a new section to the changelog file. Therefore, I'd like to ask that this behavior be changed to one of the following:
Do nothing and return an error status.
Insert an empty section into the changelog and return a success status.
I don't think I have a strong preference for either, but 1 seems like the safer option.
Currently, if you try to run
scriv collect
and there are no changelog fragments, this happens:... and the changelog is unchanged.
I find this behavior unhelpful. I'm using scriv in automation, so I'd like to be able to rely on the property that if
scriv collect
succeeds, then it has added a new section to the changelog file. Therefore, I'd like to ask that this behavior be changed to one of the following:I don't think I have a strong preference for either, but 1 seems like the safer option.