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

[Proposal] Maintain a changelog for OSD repo #2394

Closed
noCharger opened this issue Sep 20, 2022 · 8 comments · Fixed by #2414
Closed

[Proposal] Maintain a changelog for OSD repo #2394

noCharger opened this issue Sep 20, 2022 · 8 comments · Fixed by #2414

Comments

@noCharger
Copy link
Contributor

Hi Team,

When I was driving the OSD 2.3.0 release, I had to review all the changes made between the current release branch and the previous one in order to write release notes. The process could be expedited if we kept a CHANGELOG, where the commit owner added context each time a PR was merged to the main branch, even though it's good to gain knowledge for myself reading PRs. In addition, we can automate the release notes PR cut by obtaining data from CHANGELOG.md.

Notes: OpenSearch repo is also following this practice https://github.com/opensearch-project/OpenSearch/blob/main/CHANGELOG.md

Ref: https://keepachangelog.com/en/1.0.0/

Thanks,
Louis

@ruanyl
Copy link
Member

ruanyl commented Sep 21, 2022

Totally agree that writing CHANGELOG at the point when making a release could be frustrating because the people drafting the release may not have a full context of the commits.

I have a proposal here #2189 about fully automating the release process which includes the CHANGELOG generating.

The idea is to ensure each PR contains a description file to state what/why changes, a GitHub bot can do the PR verification to make sure the description file exists. It is good because the reviewers can not only comment on the actual code but also on the descriptions.

When preparing a new release, these description files are "consumed" to generate the CHANGELOG automatically.

@ahopp
Copy link
Contributor

ahopp commented Sep 21, 2022

I like the outcome but not super invested in the mechanism. @ruanyl your recommendation in #2189 seems sound to me and automated seems better than manual. @kavilla @ashwin-pc any thoughts on the mechanism proposed?

@ashwin-pc
Copy link
Member

I agree that automated is better than manual, but for reasons like those called out by @prudhvigodithi in #2189, we may need an interim solution like that suggested by @noCharger.

I love the idea of a CHANEGLOG.md. In addition to that, we must also:

  1. Backfill the changelog for all prior releases.
  2. Add to the PR checklist a step to make sure that the CHANGELOG.md is updated if necessary

This being said, let's continue the discussion for an automated process in #2189 to see how we can get around those limitations and how to prioritize it.

@kavilla
Copy link
Member

kavilla commented Sep 22, 2022

Hey yall!

I like it. I had an idea to keep track of release-notes once branching. But at least keeping a change log as OpenSearch does will solve this problem and make things a lot more easier for releasing and can be reviewed ahead of time.

@tmarkley also created an issue here: #591

@ashwin-pc for:

  1. Backfill the changelog for all prior releases.

Do you mean like all major, minor, and patch versions?

@joshuarrrr
Copy link
Member

I'm also onboard, although I understand this issue to be a dupe of #591, where the first incremental step is the initial generation of CHANGELOG.md. Changes to processes, workflows, or automation can follow later.

@ashwin-pc
Copy link
Member

Do you mean like all major, minor, and patch versions?
Ideally yes. But as Josh mentioned creating the initial file.

I also like how the PR template for OpenSearch has a checklist item for the changelog. Something we should consider too.

@joshuarrrr yeah this is a dupe. @noCharger lets close this and continue the discussion on #591

kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Sep 23, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
opensearch-project#2394

Signed-off-by: Kawika Avilla <[email protected]>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Sep 23, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
opensearch-project#2394

Signed-off-by: Kawika Avilla <[email protected]>
@kavilla kavilla linked a pull request Sep 23, 2022 that will close this issue
7 tasks
kavilla added a commit that referenced this issue Sep 26, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this issue Sep 28, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 806e96c)
kavilla pushed a commit that referenced this issue Sep 28, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 806e96c)
opensearch-trigger-bot bot pushed a commit that referenced this issue Sep 28, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 806e96c)
kavilla pushed a commit that referenced this issue Sep 28, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 806e96c)
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Sep 30, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
opensearch-project#2394

Signed-off-by: Kawika Avilla <[email protected]>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Sep 30, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
opensearch-project#2394

Signed-off-by: Kawika Avilla <[email protected]>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Sep 30, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
opensearch-project#2394

Signed-off-by: Kawika Avilla <[email protected]>
joshuarrrr pushed a commit that referenced this issue Sep 30, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>

Signed-off-by: Kawika Avilla <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this issue Sep 30, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit b497050)
joshuarrrr pushed a commit that referenced this issue Sep 30, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
#2394

Signed-off-by: Kawika Avilla <[email protected]>

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit b497050)

Co-authored-by: Kawika Avilla <[email protected]>
@seraphjiang
Copy link
Member

I'm proposing deprecating changelog file which cause more issue than the benefit. we should figure out better solution to generate release note for sure.

opensearch-project/OpenSearch#4769

opensearch-project/OpenSearch#1868

FYI

@noCharger @ruanyl @ahopp @ashwin-pc @kavilla @joshuarrrr

cc: @dblock

@ashwin-pc
Copy link
Member

@seraphjiang can we wait on a path forward before deprecating? That seems to be the case but just making sure.

sipopo pushed a commit to sipopo/OpenSearch-Dashboards that referenced this issue Dec 16, 2022
Adding a CHANGELOG.md to be manually update per PR

This should be automated though in the future.

Issue:
opensearch-project#2394

Signed-off-by: Kawika Avilla <[email protected]>
Signed-off-by: Sergey V. Osipov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants