-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add changelog info section to PR template #1348
Conversation
👀 |
MAgPIE uses approach to have a changelog file that is manually filled. Pros I can imagine:
Cons I can imagine:
|
Maybe first discuss what is supposed to end up in the change log, before deciding on how to create one? |
That would require parallel changes to the changelog, i.e. two merge requests addressing some unversioned issue/bug, and altering the existing entry in the change log. I'll bring cake when that happens. |
What does github if two PRs add a line at the same position (which is what I would expect an addition to a changelog to look like)? Shouldn't github raise a merge conflict then to find out which line should come first? |
True, people will add their stuff all at the same position … |
Njam… 🍰 |
But I did work on a project (that thankfully is just finishing) using a changelog like that, and merge conflicts were never a problem. Either be smart about when to add to the change log (right before merging), or resolve the fairly simple conflicts. |
My most important arguments why we want to go for a partly automated process: |
No they don't. (Not pointing fingers, it's just the latest example.) So, what is this request about? Is it whether everybody understands what is meant by
Bit trivial, no? But there's no information on
If the intention is to have people provide a one-liner to be copied into the change log, then why not simply add another checkbox "[ ] goes into the change log" and copy the request's title into the change log? I guess most people will copy the title there anyway. |
In my opinion, a changelog should contain "notable changes" . I am not sure if this can be boiled down to a clear set of rules. I'd expect developers to use common sense when deciding if their changes should appear in a changelog.
The PR is about the whole process related to this adjustment of the template I described under "Purpose", not so much about the adjustment of the template itself
See my first answer. I don't think it is necessary to have a concise definition, but would be interested in hearing yours.
If we go with this approach, there will be only a list of changes (so the one-liner under the newly introduced section) and a link to the merge PR. No sections. As RSE group, we think this is good enough for a start. But if the majority group prefers the MAgPIE approach with sections, then we can also set this up.
|
Closed in favour of #1363 |
Purpose of this PR
In order to generate a changelog for releases, we want to collect relevant info as part of the PRs. The PR template now has a section where devs can add a concise description of the changes in their PR to be included in the changelog of the next release. It is optional, as not all PRs contain relevant info for the changelog.
We will later use the info to create the changelog in a semi-automatic process using a script gathering the info from all PRs (text and link to PR).
Type of change
Checklist: