mirror of https://github.com/apache/lucene.git
Additions to releaseWizard (#1763)
- Backporting the DOA changes - Adding link to Solr Upgrade Notes in release notes - Adding step for obtaining jira permissions.
This commit is contained in:
parent
4761dbabd9
commit
0f06eff4b7
|
@ -97,6 +97,7 @@ def expand_jinja(text, vars=None):
|
||||||
'release_version_major': state.release_version_major,
|
'release_version_major': state.release_version_major,
|
||||||
'release_version_minor': state.release_version_minor,
|
'release_version_minor': state.release_version_minor,
|
||||||
'release_version_bugfix': state.release_version_bugfix,
|
'release_version_bugfix': state.release_version_bugfix,
|
||||||
|
'release_version_refguide': state.get_refguide_release() ,
|
||||||
'state': state,
|
'state': state,
|
||||||
'gpg_key' : state.get_gpg_key(),
|
'gpg_key' : state.get_gpg_key(),
|
||||||
'epoch': unix_time_millis(datetime.utcnow()),
|
'epoch': unix_time_millis(datetime.utcnow()),
|
||||||
|
@ -582,6 +583,9 @@ class ReleaseState:
|
||||||
if self.release_type == 'bugfix':
|
if self.release_type == 'bugfix':
|
||||||
return "%s.%s.%s" % (self.release_version_major, self.release_version_minor, self.release_version_bugfix + 1)
|
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):
|
def get_java_home(self):
|
||||||
return self.get_java_home_for_version(self.release_version)
|
return self.get_java_home_for_version(self.release_version)
|
||||||
|
|
||||||
|
|
|
@ -125,11 +125,15 @@ templates:
|
||||||
* Feature 1 pasted from WIKI release notes
|
* Feature 1 pasted from WIKI release notes
|
||||||
* Feature 2 ...
|
* 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>
|
<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>
|
<https://lucene.apache.org/core/{{ release_version_underscore }}/changes/Changes.html>
|
||||||
announce_lucene_mail: |
|
announce_lucene_mail: |
|
||||||
|
@ -327,6 +331,16 @@ groups:
|
||||||
- http://www.apache.org/dev/openpgp.html#apache-wot
|
- http://www.apache.org/dev/openpgp.html#apache-wot
|
||||||
- https://id.apache.org
|
- https://id.apache.org
|
||||||
- https://dist.apache.org/repos/dist/release/lucene/KEYS
|
- 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
|
- !TodoGroup
|
||||||
id: preparation
|
id: preparation
|
||||||
title: Prepare for the release
|
title: Prepare for the release
|
||||||
|
@ -1278,6 +1292,43 @@ groups:
|
||||||
cmd: git push origin
|
cmd: git push origin
|
||||||
logfile: push.log
|
logfile: push.log
|
||||||
stdout: true
|
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
|
- !TodoGroup
|
||||||
id: announce
|
id: announce
|
||||||
title: Announce the release
|
title: Announce the release
|
||||||
|
@ -1339,8 +1390,8 @@ groups:
|
||||||
- https://en.wikipedia.org/wiki/Apache_Solr
|
- https://en.wikipedia.org/wiki/Apache_Solr
|
||||||
- !TodoGroup
|
- !TodoGroup
|
||||||
id: post_release
|
id: post_release
|
||||||
title: Tasks to do after 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 :)
|
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:
|
todos:
|
||||||
- !Todo
|
- !Todo
|
||||||
id: add_version_bugfix
|
id: add_version_bugfix
|
||||||
|
@ -1589,7 +1640,7 @@ groups:
|
||||||
id: jira_close_resolved
|
id: jira_close_resolved
|
||||||
title: Close all issues resolved in the release
|
title: Close all issues resolved in the release
|
||||||
description: |-
|
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.
|
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 }}
|
. 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
|
id: jira_clear_security
|
||||||
title: Clear Security Level of Public Solr JIRA Issues
|
title: Clear Security Level of Public Solr JIRA Issues
|
||||||
description: |-
|
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
|
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:
|
related to the release:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue