Apache Solr open-source search software
Additions to releaseWizard (#1763)
Houston Putman0f06eff4b7d9
diff --git a/dev-tools/scripts/releaseWizard.py b/dev-tools/scripts/releaseWizard.pyindex 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.yamlindex 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:++ <https://lucene.apache.org/solr/guide/{{ release_version_refguide }}/solr-upgrade-notes.html>++ Please read CHANGES.txt for a full list of {% if is_feature_release %}new features, changes and {% endif %}bugfixes:<https://lucene.apache.org/solr/{{ release_version_underscore }}/changes/Changes.html>- 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:<https://lucene.apache.org/core/{{ release_version_underscore }}/changes/Changes.html>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- !TodoGroupid: preparationtitle: Prepare for the release@@ -1278,6 +1292,43 @@ groups:cmd: git push originlogfile: push.logstdout: 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- !TodoGroupid: announcetitle: Announce the release@@ -1339,8 +1390,8 @@ groups:- https://en.wikipedia.org/wiki/Apache_Solr- !TodoGroupid: 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:- !Todoid: add_version_bugfix@@ -1589,7 +1640,7 @@ groups:id: jira_close_resolvedtitle: Close all issues resolved in the releasedescription: |-- 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 releaseyou 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_securitytitle: Clear Security Level of Public Solr JIRA Issuesdescription: |-- 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 directlyrelated to the release: