ansible-community / antsichaut

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

Fix duplicates #19

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.