question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[PROPOSAL] Introduce in automatically generated release notes

See original GitHub issue

Proposal in one sentence

Enable the automation of release notes generations for OpenSearch-Dashboards repo

What problem are you trying to solve?

Currently, both Release Notes and CHANGELOG are updated mainly by manual efforts.

These manual updates are introducing in unnecessary burdens into each and every single release and PR, which is not serving the best interest of the OSD project and the whole community. We need to improve our current process and make the sharing of release/change information smoother and less-painful for both our consumers and contributors.

Why should we solve it?

Release Notes / CHANGELOG are important, we definitely need to have a clear and concise way of telling people what has changed, when the changes happened and more details (like PR link) whenever needed. Yet the collection of these information should be in a much smarter, or in another word, automatic way. The current manual process should be revised ASAP, given some specific reasons including :

How do you propose to solve it?

One word - Automation

Specifically, enable the automation of release notes generations, which is a native github offering (ref doc : https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes)

Kudos to @seraphjiang as first proposed and implemented this feature in the dashboards-anywhere repo : https://github.com/opensearch-project/dashboards-anywhere/pull/90

Here is proposed improvement steps in detail :

  • Create a new file .github/release.yml to enable the automation for release notes generation
  • Define and update the label template in .github/release.yml (we can reuse the format in our current CHANGELOG file)
  • Create / update label suites if needed
  • Test the updates (in a fork), by creating testing releases and make sure release notes are generated as expected

Once the automation is tuned as expected, next step is proposed :

  • Remove the CHANGELOG update requirement in each individual PR
  • Update the CHANGELOG based on the automatically generated release notes
  • Release Notes preparation is still a mandatory step in the release process, yet this time it would fully depend on the automation process instead of manual efforts.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
seraphjiangcommented, Oct 27, 2022

@ZilongX @ashwin-pc @ananzh @AMoo-Miki

suggest to add releease.yml and have a try in 2.4.0 release, compare the auto generated note vs manual changelog so we know the gap.

0reactions
dblockcommented, Nov 7, 2022

@kotwanikunal I believe you’ve resolved much of the backport conflict problem in OpenSearch, what do you recommend doing here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatically generated release notes - GitHub Docs
Automatically generated release notes provide an automated alternative to manually writing release notes for your GitHub releases.
Read more >
Towards Automatically Generating Release Notes using ...
We propose an automatic generate release notes approach based on the commit messages and merge pull-request (PR) titles to mitigate this problem.
Read more >
Automatically generate release notes for github release - Steps
Github recently introduced a new way how to automatically generate release notes Automatically generated release notes - GitHub Docs.
Read more >
AUTOMATED Release Notes - GitHub Checkout - YouTube
Today, we are sharing some recent improvements we've made to GitHub Releases in a new public beta to make it easier to create...
Read more >
Automatically create Release Notes from annotated tags
Proposal. In the Create release page (/-/releases/new), user sees a checkbox for adding the message of an annotated tag to the release notes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found