-
Notifications
You must be signed in to change notification settings - Fork 775
SOLR-17979 Improve release tooling during 9.10 release #3808
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
SOLR-17979 Improve release tooling during 9.10 release #3808
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces validateChangelogs.py, a validation tool that helps release managers ensure changelog folder structure consistency across the four active Solr development branches (main, stable, release, and previous major branches). The tool validates that versioned changelog folders are identical across branches, prevents released files from appearing in unreleased folders, analyzes feature distribution, and optionally checks for duplicate JIRA issues. Additionally, it can generate a consolidated CHANGELOG.md preview similar to the legacy CHANGES.txt format.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| dev-tools/scripts/validateChangelogs.py | New validation tool with full implementation for changelog structure validation, branch discovery, duplicate detection, and report generation |
| dev-tools/scripts/releaseWizard.yaml | Added changelog validation step and relocated cherry-pick task to occur before validation |
| dev-tools/scripts/changes2logchange.py | Modified slug generation to use spaces instead of dashes and improved filename sanitization |
| dev-tools/scripts/README.md | Added documentation for the new validateChangelogs.py tool |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I'll test this tool in the upcoming 9.10 release, tweak as needed and merge after the release. |
78039a7 to
dd8d70a
Compare
5249d1c to
607a121
Compare
- Port tool parseContributorsFromChanges.py to use logchange - Release Wizard improvements for 9.10.0: - support for persisting vars in commands - changed logchange steps - Many improvements in the 1-time changes2logchange.py utility - Bug fix changes2html.py to handle ALPHA/BETA releases - New validateChangelogs.py tool
607a121 to
6016746
Compare
- Port tool parseContributorsFromChanges.py to use logchange - Release Wizard improvements for 9.10.0: - support for persisting vars in commands - changed logchange steps - Many improvements in the 1-time changes2logchange.py utility - Bug fix changes2html.py to handle ALPHA/BETA releases - New validateChangelogs.py tool
- Port tool parseContributorsFromChanges.py to use logchange - Release Wizard improvements for 9.10.0: - support for persisting vars in commands - changed logchange steps - Many improvements in the 1-time changes2logchange.py utility - Bug fix changes2html.py to handle ALPHA/BETA releases - New validateChangelogs.py tool
- Port tool parseContributorsFromChanges.py to use logchange - Release Wizard improvements for 9.10.0: - support for persisting vars in commands - changed logchange steps - Many improvements in the 1-time changes2logchange.py utility - Bug fix changes2html.py to handle ALPHA/BETA releases - New validateChangelogs.py tool
- Port tool parseContributorsFromChanges.py to use logchange - Release Wizard improvements for 9.10.0: - support for persisting vars in commands - changed logchange steps - Many improvements in the 1-time changes2logchange.py utility - Bug fix changes2html.py to handle ALPHA/BETA releases - New validateChangelogs.py tool
https://issues.apache.org/jira/browse/SOLR-17979
Some new tools and improvements to wizard and existing tooling for RM