ansible-community / antsichaut

Antsichaut aims to automate the filling of a changelog.yaml used by antsibull-changelog
https://pypi.org/project/antsichaut/
MIT License
5 stars 4 forks source link

Remove outdated duplicates #15

Closed cidrblock closed 1 year ago

cidrblock commented 1 year ago

We have found that if the title of a PR changes after it has been merged, for example, to fix a spelling error, that a duplicate entry is created in the changelog because the entire line is not found and therefore a new line is added.

This walks the entire, current version's entry and removes any line where the PR matches but the line does not.

I've been testing this on a new collection in an effort to leverage release drafter while still generating a collection change log. Thank for your work here and in the example repo.

This is good stuff.

rndmh3ro commented 1 year ago

Thanks @cidrblock, I'll take a look in about 2 weeks, when I'm back from vacation. :)

rndmh3ro commented 1 year ago

@cidrblock would you mind reopening this, please?