diff --git a/dev-tools/scripts/releaseWizard.py b/dev-tools/scripts/releaseWizard.py index 9be2897b5b7..9c702376134 100755 --- a/dev-tools/scripts/releaseWizard.py +++ b/dev-tools/scripts/releaseWizard.py @@ -97,6 +97,7 @@ def expand_jinja(text, vars=None): 'release_version_major': state.release_version_major, 'release_version_minor': state.release_version_minor, 'release_version_bugfix': state.release_version_bugfix, + 'release_version_refguide': state.get_refguide_release() , 'state': state, 'gpg_key' : state.get_gpg_key(), 'epoch': unix_time_millis(datetime.utcnow()), @@ -582,6 +583,9 @@ class ReleaseState: if self.release_type == 'bugfix': return "%s.%s.%s" % (self.release_version_major, self.release_version_minor, self.release_version_bugfix + 1) + def get_refguide_release(self): + return "%s_%s" % (self.release_version_major, self.release_version_minor) + def get_java_home(self): return self.get_java_home_for_version(self.release_version) diff --git a/dev-tools/scripts/releaseWizard.yaml b/dev-tools/scripts/releaseWizard.yaml index 41a3a74afbe..09be4772d0a 100644 --- a/dev-tools/scripts/releaseWizard.yaml +++ b/dev-tools/scripts/releaseWizard.yaml @@ -125,11 +125,15 @@ templates: * Feature 1 pasted from WIKI release notes * Feature 2 ... - Please read CHANGES.txt for a full list of {% if is_feature_release %}new features and {% endif %}changes: + Please refer to the Upgrade Notes in the Solr Ref Guide for information on upgrading from previous Solr versions: + + + + Please read CHANGES.txt for a full list of {% if is_feature_release %}new features, changes and {% endif %}bugfixes: - Solr {{ release_version }} also includes {% if is_feature_release %}features, optimizations {% endif %} and bugfixes in the corresponding Apache Lucene release: + Solr {{ release_version }} also includes {% if is_feature_release %}features, optimizations and {% endif %}bugfixes in the corresponding Apache Lucene release: announce_lucene_mail: | @@ -327,6 +331,16 @@ groups: - http://www.apache.org/dev/openpgp.html#apache-wot - https://id.apache.org - https://dist.apache.org/repos/dist/release/lucene/KEYS + - !Todo + id: jira_permissions + title: Obtain the neccessary permissions for Apache Jira + description: |- + If you are not a PMC member and this is your first time as RM, please ask to be granted extra permissions in Jira in order to complete all steps of the release. + + If you are a PMC member, you will already have the necessary permissions. + links: + - https://issues.apache.org/jira/projects/LUCENE + - https://issues.apache.org/jira/projects/SOLR - !TodoGroup id: preparation title: Prepare for the release @@ -1278,6 +1292,43 @@ groups: cmd: git push origin logfile: push.log stdout: true + comment: Push the master branch + - !Command + cmd: "git checkout {{ stable_branch }} && git pull" + stdout: true + comment: Checkout the stable branch + - !Command + cmd: "git cherry-pick master" + logfile: commit.log + stdout: true + comment: Cherrypick the DOAP changes from master onto the stable branch. + - !Command + cmd: git show HEAD + stdout: true + comment: Ensure the only change is adding the new version. + - !Command + cmd: git push origin + logfile: push.log + stdout: true + comment: Push the stable branch + - !Command + cmd: "git checkout {{ release_branch }} && git pull" + stdout: true + comment: Checkout the release branch + - !Command + cmd: "git cherry-pick {{ stable_branch }}" + logfile: commit.log + stdout: true + comment: Cherrypick the DOAP changes from the stable branch onto the release branch. + - !Command + cmd: git show HEAD + stdout: true + comment: Ensure the only change is adding the new version. + - !Command + cmd: git push origin + logfile: push.log + stdout: true + comment: Push the release branch - !TodoGroup id: announce title: Announce the release @@ -1339,8 +1390,8 @@ groups: - https://en.wikipedia.org/wiki/Apache_Solr - !TodoGroup id: post_release - title: Tasks to do after release - description: There are many more tasks to do now that the new version is out there, so hang in there for a few more hours :) + title: Tasks to do after release. + description: There are many more tasks to do now that the new version is out there, so hang in there for a few more hours. todos: - !Todo id: add_version_bugfix @@ -1589,7 +1640,7 @@ groups: id: jira_close_resolved title: Close all issues resolved in the release description: |- - Go to JIRA search in both Solr and Lucene and find all issues that were fixed in the release + Go to JIRA search in both Solr and Lucene and find all issues that were fixed in the release you just made, whose Status is Resolved. . Go to https://issues.apache.org/jira/issues/?jql=project+in+(LUCENE,SOLR)+AND+status=Resolved+AND+fixVersion={{ release_version }} @@ -1631,7 +1682,7 @@ groups: id: jira_clear_security title: Clear Security Level of Public Solr JIRA Issues description: |- - ASF JIRA has a deficiency in which issues that have a security level of "Public" are nonetheless not searchable. + ASF JIRA has a deficiency in which issues that have a security level of "Public" are nonetheless not searchable. As a maintenance task, we'll clear the security flag for all public Solr JIRAs, even if it is not a task directly related to the release: