Skip to content

Top-level unordered lists are flattened and appear as separate changes #30

@EliahKagan

Description

@EliahKagan

It looks like when a conventional commit has a top-level unordered list in its commit message, the bullet points are themselves shown in csr-generated changelogs as though they are separate changes of the same kind.

That's what I think is going on in the gix-path v0.10.11 release notes.

If that was not generated in the usual way using cargo-smart-release or some other factor has resulted in the flattening, then this issue may need to be refined or closed, but I figured opening this may be a reasonable first step in investigating it.


The following is a simplified but still non-trivial example that illustrates how the effect is misleading. But I am not confident that I have all the details of this bug right; I have not run code from cargo-smart-release to produce this. Instead, it is an illustration of what I mean when I say top-level unordered lists are flattened, and also a demonstration of how in extreme cases it could result in obscuring the distinction between claims intended to be affirmed in release notes and those intended to be denied in release notes.

Suppose I have two conventional commits. This is the first:

fix: Remove hidden bogosort functionality

If users turn out to be depending on bogosort, we may:

- Add instructions for using an earlier version.
- Add back bogosort and document it properly.

We defaulted to bogosort on Tuesdays based on these mistaken beliefs:

- Bogosort runs in O(n log n log log n log log log n) if you have an odd number of RAM sticks.
- The software can never be run on Tuesday.

This is the second:

fix: Time zones are remembered across sessions

I think this will be rendered as something like:

Bug Fixes

  • Remove hidden bogosort functionality

    If users turn out to be depending on bogosort, we may:

  • Add instructions for using an earlier version.

  • Add back bogosort and document it properly.

    We defaulted to bogosort on Tuesdays based on these mistaken beliefs:

  • Bogosort runs in O(n log n log log n log log log n) if you have an odd number of RAM sticks.

  • The software can never be run on Tuesday.

  • Time zones are remembered across sessions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions