How we solved GitLab's changelog conflict crisis
about.gitlab.com
How we solved GitLab's changelog conflict crisis
1–10 of 14 posts
Re: How we solved GitLab's changelog conflict crisis
#2This solution is neat, but Git also has a very simple built in solution: https://git-scm.com/docs/gitattributes#gitattributes-union
Re: How we solved GitLab's changelog conflict crisis
#3This solution is neat, but Git also has a very simple built in solution: https://git-scm.com/docs/gitattributes#gitattributes-union
union is bad in general, there is a risk of bad merge
Re: How we solved GitLab's changelog conflict crisis
#4Funny thing, i had this idea back in 2015, i even implemented a tool for that,
old blog post: https://medium.com/@nettsundere/on-reducing-changelog-merge-...
Re: How we solved GitLab's changelog conflict crisis
#5Funny thing, i had this idea back in 2015, i even implemented a tool for that, old blog post: https://medium.com/@nettsundere/on-reducing-changelog-merge-...
that was the tool https://github.com/nettsundere/cyberlog
Re: How we solved GitLab's changelog conflict crisis
#6Re: How we solved GitLab's changelog conflict crisis
#7Git supports merge drivers to do things like this:
https://git-scm.com/docs/gitattributes#_defining_a_custom_me...
Debian has had a merge driver for its changelogs for a while: https://salsa.debian.org/dpkg-team/dpkg/commit/9b98847665d8b...
Re: How we solved GitLab's changelog conflict crisis
#8A number of Python projects use a fairly similar way of managing changelogs: https://github.com/hawkowl/towncrier
Re: How we solved GitLab's changelog conflict crisis
#9I imagine just sorting the changelog entries per release (maybe split into sections) would get you quite far, too.
Re: How we solved GitLab's changelog conflict crisis
#10TL;DR - ChangeBlog -> MD ;)