zowe / docs-site

Documentation for the Zowe project
https://docs.zowe.org/
Creative Commons Attribution 4.0 International
70 stars 133 forks source link

Automate the generation of releases notes from CHANGELOGs #1408

Open nannanli opened 4 years ago

nannanli commented 4 years ago

What's the expectation

Now we have a list of CHANGELOGs in different GitHub repos under Zowe. We want to pick up the changes applicable to the new release from different changelogs into a single Markdown file for download. This file can be used as input for the Zowe release notes, better to have exact format with release notes. Take v1.14 release notes for example: https://docs.zowe.org/stable/getting-started/summaryofchanges.html#new-features-and-enhancements

What need to be done

To do this:

Available CHANGELOGs

APIML

https://github.com/zowe/api-layer/blob/master/CHANGELOG.md

Version: Consistent with Zowe release version. Check if the new release version title (for example, 1.15.0) exists, if yes, pull the content in the section.
Tag: For entries labeled with Feature, move entries to New features and enhancements. For Bugfix, move entries to the Bug fix section.

Zowe CLI

Version: CLI specific version numbers so need to check the timestamp of changes. If changes made after the previous Zowe release date, pull the content. Notice that there might be multiple versions of Zowe CLI and their CHANGELOG content all need to be counted. Tag: For entries labeled with Feature, Enhancement:, move entries to New features and enhancements. For Bugfix, BugFix, move entries to the Bug fix section.

Core CLI Changelogs:

CLI Plug-in Changelogs:

Zowe Explorer

https://github.com/zowe/vscode-extension-for-zowe/blob/master/packages/zowe-explorer/CHANGELOG.md

Version: Zowe Explorer specific version numbers so need to check the timestamp of changes or understand the reelase that's being packcaged into Zowe. If changes made after the previous Zowe release date, pull the content. Tag: For entries labeled with Feature, Enhancement:, move entries to New features and enhancements. For Bugfix, BugFix, move entries to the Bug fix section. If no labels, all move to New features and enhancements.

Zowe JES/MVS/USS Explorers

(Need to identify branches) take v1.15 for example:

Zowe Application Framework (NOT BEING USED NOW, SO SKIP)

Zowe installation

https://github.com/zowe/zowe-install-packaging/blob/staging/CHANGELOG.md

Version: Consistent with Zowe release version. Pull the content in the new release section. Tag: For entries labeled with Feature, Enhancement:, move entries to New features and enhancements. For Bugfix, BugFix, move entries to the Bug fix section. If no labels, all move to New features and enhancements.

nannanli commented 4 years ago

@Roavill2 Hi Robbie, as mentioned in a previous doc call, we're looking for help to use script to pull docs from different changelogs in code repos. Here is the detailed description of the process. Cloud you take a look and let me know if any clarification is needed? Thank you!