CHANGELOG.md is causing PR friction #612
Replies: 5 comments 4 replies
3 solutions suggested by Claude1. Union merge driver - 5 minutes, stopgap Git concatenates both sides instead of conflicting. Conflicts vanish, but you get duplicated section headers and arbitrary ordering — someone tidies it at release. Fine for a week, not a fix. 2. Changelog fragments the recommended approach answer For a Python project like mflux: towncrier (most common) or scriv — which, yes, is literally Ned Batchelder's tool and shares your name. Awkward. JS-land equivalent is changesets. 3. Generate it entirely - most disciplined As a community opensource project we must consider that some in our dev community may not be full time profesisional elite developers. @anthonywu can a CHANGELOG.md solution be added to Suggestions? |
|
Data point, since both of mine hit it this week. #603 and #604 both conflicted on CHANGELOG.md in the same spot, one line appended to the same section. @anthonywu resolved one of them for me and his next comment was "now I need another approval". That's where the cost is. Resolving it means touching the branch, and touching a green approved PR drops the approval, so a one-line collision turns into another round through whoever's around. Of your three, fragments are the only one where two PRs never write the same path. |
|
tbh the way I would do it is get rid of the changelog.md file and use GitHub Releases primitives: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes the git commit messages and PR title/body of PRs since the last release tag is sufficient context to auto-generate release messages when it is declared, we just need to write a skill/hook to operate |
|
I'm with Anthony. Get rid of the repo Markdown file and use Releases. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Because many PRs need to update CHANGELOG.md - it is frequently changing and getting PR merge conflicts. (PITA)
How can we manage CHANGELOG.md in a more frictionless way?
All reactions