Skip to content
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

Switch to keepachangelog format #961

Closed
glensc opened this issue Jun 20, 2020 · 10 comments
Closed

Switch to keepachangelog format #961

glensc opened this issue Jun 20, 2020 · 10 comments

Comments

@glensc
Copy link
Contributor

glensc commented Jun 20, 2020

Current release notes are just pure noise for end user:

Examples:

Add upstream and testing container images
Add upstream and testing container images
there is a brew formula for skopeo
vendor github.com/containers/common v0.14.0
vendor github.com/containers/image/[email protected]

(yes, there are duplicate lines there)

Therefore a project was created under a flag "Don’t let your friends dump git logs into changelogs":

The purpose of the changelog is to list notable changes for the release. Changes that are meaningful for end-user.

I'd rather see no release notes than just git log that is done now. If I want to see git shortlog, I can do that from the console.

@mtrmac
Copy link
Contributor

mtrmac commented Jun 20, 2020

Thanks for you report.

As much as I feel your pain, and I’m also unhappy about the current state of this, I think we basically need to automate this (both the collection of data and enforcement that good enough change logs are written), or it’s not going to happen by default; and with N releases with bad change logs, the motivation to write a very good change log for release N+1 is not great if it’s going to be buried behind a bad change log the next time again.

Not that I immediately know how to automate this. A PR template might help as a reminder, but it’s too convenient to just delete it, and it doesn’t help collect the data. A CI check that requires an addition to the change log would complicate use of Dependabot.

I’m sure this is a solved problem somewhere, and close to home Podman does well. There might be something easy we can do to improve.

@glensc
Copy link
Contributor Author

glensc commented Jun 22, 2020

Some ideas

If the merge request volume is not too high, one can require that changelog entry is added from PR itself.

You may need merge=union in .gitattributes to resolve conflicts better:

do note that this still does not work in GitHub, but works okay with git command-line rebase: isaacs/github#487

A satisfactory solution would be also some automation that is able to collect changelog from pull request titles and categorizing with labels. I'm sure such tool exists, just haven't found one myself yet.

GitHub has a flow that you create .yaml file for each changelog entry, that information is used to make generate changelog prior release: https://docs.gitlab.com/ee/development/changelog.html

@rhatdan
Copy link
Member

rhatdan commented Oct 8, 2020

@glensc Is this still an issue?

@glensc
Copy link
Contributor Author

glensc commented Oct 8, 2020

@rhatdan doesn't seem anything changed if looking latest release:

@rhatdan
Copy link
Member

rhatdan commented Oct 9, 2020

Ok so this is a Human doing the release issue (Often me). As @mtrmac says, I don't see an easy way to fix this through software that will not just be ignored by busy humans.

@github-actions
Copy link

github-actions bot commented Jun 5, 2021

A friendly reminder that this issue had no activity for 30 days.

@lsm5
Copy link
Member

lsm5 commented Sep 28, 2021

@mtrmac @vrothberg @rhatdan have things changed on this front since the last time this issue was visited?

@vrothberg
Copy link
Member

vrothberg commented Sep 29, 2021

I suggest to do two things when (manually) creating the changelog:

  1. Make it a formatted list, not just lines.
  2. Try to filter out commits that are not useful to users.

I think we can close the issue and try to be better in the future.

@lsm5
Copy link
Member

lsm5 commented Sep 29, 2021

Thanks @vrothberg . Closing..

@lsm5 lsm5 closed this as completed Sep 29, 2021
@mwgamble
Copy link

I just found this issue after reading the release notes for v1.8.0:

https://github.com/containers/skopeo/releases/tag/v1.8.0

I think this issue is still very much a problem. The very first note in that list of patch notes is "v1.7.0". Not only does that not meaningfully describe the changes made in the relevant PR (a problem in of itself), it's useless noise for the wrong version!

The patch notes for v1.9.0 are just as bad:

https://github.com/containers/skopeo/releases/tag/v1.9.0

This text:

Bump github.com/docker/docker

Appears three times for the same release!

@rhatdan If you're looking for ways to improve these automatically generated patch notes with more automation, here are a couple of recommendations:

  1. Remove duplicate lines
  2. Remove PRs generated by Dependabot
  3. Remove PRs that only touch development-related files

Here's a few examples of PRs that only touch development-related files, that end users definitely do not care about:

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants