gfx-rs / wgpu

A cross-platform, safe, pure-Rust graphics API.
https://wgpu.rs
Apache License 2.0
12.37k stars 906 forks source link

Changelog Conflicts are Annoying #3683

Open cwfitzgerald opened 1 year ago

cwfitzgerald commented 1 year ago

Right now, the way we manage our changelog is that each individual PR adds its own entry to the changelog in the appropriate section. This is a good first step as it decentralizes our changelog authoring and makes publishing less annoying.

This does leave us with two problems though:

We should investigate possible solutions to this problem and see if they are worth the trouble. One particular solution would be for each PR to include a yaml-type changelog in a separate file, then have a tool combine all of them into a single changelog. This should get rid of most of the merge points, but would require an xtask-like tool to merge all of them into the final changelog.

mockersf commented 1 year ago

On Bevy, we are using custom tooling that can extract sections from the PR description and merge them in a single file. It's also using PR tags for organisation.

At work, we are using https://github.com/changesets/changesets. It creates individual changelog files for each PR, and merge them at release time.