Details
Description
As part of RC preparation, we need to identify all git commits that landed on release branch, however their corresponding Jira is either not resolved yet or does not contain expected fixVersions. Only when we have git commits and corresponding Jiras with expected fixVersion resolved, we get all such Jiras included in auto-generated CHANGES.md as per Yetus changelog generator.
Proposal of this Jira is to provide such script that can be useful for all upcoming RC preparations and list down all Jiras where we need manual intervention. This utility script should use Jira API to retrieve individual fields and use git log to loop through commit history.
The script should identify these issues:
- commit is reverted as per commit message
- commit does not contain Jira number format (e.g. HADOOP-XXXX / HDFS-XXXX etc) in message
- Jira does not have expected fixVersion
- Jira has expected fixVersion, but it is not yet resolved
- Jira has release corresponding fixVersion and is resolved, but no corresponding commit yet found
It can take inputs as:
- First commit hash to start excluding commits from history
- Fix Version
- JIRA Project Name
- Path of project's working dir
- Jira server url
Attachments
Issue Links
- is depended upon by
-
HADOOP-18198 Release Hadoop 3.3.3: hadoop-3.3.2 with some fixes
- Resolved
- links to