Wiki source code of Release Plan for version 10.11
Last modified by Vincent Massol on 2018/12/27 11:30
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | {{velocity}} | |
2 | #set ($object = $doc.getObject("ReleasePlans.ReleasePlanClass")) | ||
3 | #set ($version = $object.getProperty("version").getValue()) | ||
4 | #set ($versionPrefix = $stringtool.substringBefore($version, '-')) | ||
5 | #set ($versionParts = $stringtool.split($versionPrefix, '.')) | ||
6 | #set ($major = $numbertool.toNumber($versionParts[0])) | ||
7 | #set ($minor = $numbertool.toNumber($versionParts[1])) | ||
8 | #set ($shortVersion = $stringtool.replace($version, '.', '\.')) | ||
9 | #set ($shortVersion = $stringtool.replaceChars($shortVersion, '-', '')) | ||
10 | #set ($shortVersion = $stringtool.upperCase($shortVersion)) | ||
11 | #set ($isRC = $version.contains('rc')) | ||
12 | #set ($isMilestone = $version.contains('MILESTONE')) | ||
13 | #set ($shortVersion = $shortVersion.replace('MILESTONE', 'M')) | ||
14 | #set ($releaseNotesWikiLink = "xwiki:ReleaseNotes.Data.XWiki.${shortVersion}") | ||
15 | #set ($isFinal = !$isRC && !$isMilestone) | ||
16 | #set ($isFirstFinal = $versionParts.size() == 2 && $isFinal) | ||
17 | #set ($isBugfix = ($versionParts.size() == 3)) | ||
18 | |||
19 | {{info}} | ||
20 | Use these icons to mark the release progress: (x) not done, (/) done, (!) not done for a good reason (explain reason) | ||
21 | {{/info}} | ||
22 | |||
3.1 | 23 | * (/) Verify that no tests are failing [[on the CI Server>>http://ci.xwiki.org]] (or that failures are understood, see [[known flickering tests>>https://jira.xwiki.org/issues/?filter=14240]]). | |
4.1 | 24 | * (/) [[Verify>>ReleasePlans.ReleasePlanHelp||anchor="HInitialBackwardCompatibilityCheck"]] that the {{scm project="xwiki-commons" path="pom.xml"}}${escapetool.H}${escapetool.H}xwiki-commons${escapetool.H}${escapetool.H}'s top level POM{{/scm}} has a ${escapetool.H}${escapetool.H}xwiki.compatibility.previous.version${escapetool.H}${escapetool.H} property correctly pointing to the latest stable (non-milestone) release and if not, change it. | |
1.1 | 25 | * Make sure next version exists on [[jira>>https://jira.xwiki.org]] projects (JIRA releases are done automatically in the build): | |
4.1 | 26 | ** (/) [[Commons JIRA>>https://jira.xwiki.org/plugins/servlet/project-config/XCOMMONS/versions]] | |
27 | ** (/) [[Rendering JIRA>>https://jira.xwiki.org/plugins/servlet/project-config/XRENDERING/versions]] | ||
28 | ** (/) [[Platform JIRA>>https://jira.xwiki.org/plugins/servlet/project-config/XWIKI/versions]] | ||
5.1 | 29 | * (/) [[Verify>>ReleasePlanHelp||anchor="HVerifyJIRAissue"]] that there are no [[open issues on JIRA for version $version>>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=Project+in+%28%22XWiki+Commons%22%2C+%22XWiki+Rendering%22%2C+%22XWiki+Platform%22%29+and+fixVersion+in+%28%22$version%22%29+and+resolution+in+%28%22Unresolved%22%29]] and that there are [[no open Blockers>>https://jira.xwiki.org/issues/?jql=priority%20%3D%20Blocker%20and%20resolution%20%3D%20Unresolved%20and%20category%20%3D%2010000]]. | |
30 | * (/) Since the release is performed on ${escapetool.H}${escapetool.H}agent-1-1${escapetool.H}${escapetool.H} and since it shares memory with other ${escapetool.H}${escapetool.H}agent1-*${escapetool.H}${escapetool.H} agents, mark as offline [[agent1-1>>http://ci.xwiki.org/computer/agent-1-1/markOffline]], [[agent1-2>>http://ci.xwiki.org/computer/agent-1-2/markOffline]] and [[agent1-3>>http://ci.xwiki.org/computer/agent-1-3/markOffline]] to avoid using them in the CI. Put as comment {{code language="none"}}Temporarily marking agent-1-* offline for the release of $version{{/code}}. | ||
6.1 | 31 | * (/) [[Log on the release machine>>ReleasePlans.ReleasePlanHelp||anchor="HLogonReleasemachine"]], [[set up your identity>>ReleasePlans.ReleasePlanHelp||anchor="HSetupyouridentity"]], [[update the release scripts>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateReleasescripts"]] and [[set the correct Java version>>dev:ReleasePlans.ReleasePlanHelp||anchor="HConfiguretheJavaVersion"]] | |
1.1 | 32 | #if (!$isBugfix) | |
7.1 | 33 | * (/) [[Update translations>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateTranslations"]] | |
1.1 | 34 | #end | |
8.1 | 35 | * (/) [[Build the release>>ReleasePlans.ReleasePlanHelp||anchor="HBuildtherelease"]] | |
9.1 | 36 | * (/) Publish [[code contributors list>>ReleasePlans.ReleasePlanHelp||anchor="HGenerateCodeContributorslist"]] in the [[Release Notes for version $version>>${releaseNotesWikiLink}||anchor="HCredits"]] | |
37 | * (/) Publish [[backward compatibility reports>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateBackwardCompatibilityinthereleasenote"]] in the [[Release Notes for version $version>>${releaseNotesWikiLink}]] | ||
1.1 | 38 | #if ($isFirstFinal) | |
10.1 | 39 | * (/) [[Update backward compatibility setup in the build>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateBackwardCompatibilityinthereleasenote"]] (both in current branch and master) | |
1.1 | 40 | #end | |
11.1 | 41 | * (/) [[Clean up your identity>>ReleasePlans.ReleasePlanHelp||anchor="HCleanupidentity"]] | |
42 | * (/) Mark [[agent-1-1>>http://ci.xwiki.org/computer/agent-1-1/]], [[agent-1-2>>http://ci.xwiki.org/computer/agent-1-2/]] and [[agent-1-3>>http://ci.xwiki.org/computer/agent-1-3/]] online again (button on the right). | ||
12.1 | 43 | * (/) Verify that there are no [[missing documentation for closed JIRA issues for version $version>>https://jira.xwiki.org/issues/?jql=Project%20in%20%28%22XWiki%20Commons%22%2C%20%22XWiki%20Rendering%22%2C%20%22XWiki%20Platform%22%29%20and%20fixVersion%20in%20%28%22$version%22%29%20and%20resolution%20in%20%28%22Fixed%22%29%20and%20%28%28Documentation%20is%20EMPTY%29%20or%20%28%22Documentation%20in%20Release%20Notes%22%20is%20EMPTY%29%29]] | |
13.1 | 44 | * (/) Ensure that the [[Release Notes are complete and nice-looking for version $version>>${releaseNotesWikiLink}]] | |
14.1 | 45 | * (/) Set the Release date + Release flag in the [[Release Notes for version $version>>${releaseNotesWikiLink}]] by editing with the object editor. | |
46 | * (/) Force [[rebuild of the Debian repository index>>ReleasePlans.ReleasePlanHelp||anchor="HRebuildDebianDistribution"]] | ||
15.1 | 47 | * (/) Update the [[Download page>>http://www.xwiki.org/xwiki/bin/edit/Download/]] (Use bullets points for the major features to make it easy to read; Update/Bump the LTS if doing a final major version release, i.e. new cycle) | |
1.1 | 48 | #if (!$isRC && !$isMilestone) | |
15.1 | 49 | * (/) [[Force extensions update>>ReleasePlans.ReleasePlanHelp||anchor="HForceExtensionsUpdate"]] | |
1.1 | 50 | #end | |
17.1 | 51 | * (/) [[Create blog post on xwiki.org>>ReleasePlans.ReleasePlanHelp||anchor="HBlogpostonxwiki.org"]] | |
52 | * (/) [[Update the API doc>>platform:DevGuide.API]], including [[Rendering>>rendering:Main.JavaDoc]] | ||
53 | * (/) Update [[Wikipedia (en)>>http://en.wikipedia.org/wiki/XWiki]], [[Wikipedia (fr)>>http://fr.wikipedia.org/wiki/XWiki]]#if (!$isRC && !$isMilestone)and [[Wikipedia (compare wiki software)>>http://en.wikipedia.org/wiki/Comparison_of_wiki_software]]#end only if this version is bigger than the existing one. | ||
1.1 | 54 | #if (!$isRC && !$isMilestone) | |
17.1 | 55 | * (/) Update [[Wikimatrix>>http://www.wikimatrix.org/edit/XWiki]] with [[Ludovic's account>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateWikimatrix"]] only if this version is bigger than the existing one. | |
1.1 | 56 | #end | |
18.1 | 57 | * (/) [[Announcement Mail>>ReleasePlans.ReleasePlanHelp||anchor="HAnnouncementMail"]] and [[Forum Post>>ReleasePlans.ReleasePlanHelp||anchor="HForumAnnouncement"]] | |
58 | * (/) [[Announce on Twitter>>ReleasePlans.ReleasePlanHelp||anchor="HAnnounceonTwitter"]] with the [[xwikiorg account>>https://twitter.com/xwikiorg/]] | ||
59 | * (/) Update the [[Release Plan page>>ReleasePlans.WebHome||anchor="HNextReleaseManagers"]] to move yourself to the bottom of the list for your next release. | ||
60 | * (/) Ensure that the [[release date in this Release Plan>>path:$doc.getURL("edit", "editor=object")]] corresponds to the date when the release was finished | ||
1.1 | 61 | #if (!$isBugfix) | |
18.1 | 62 | * (/) Update the release date on the [[Roadmap page>>xwiki:Roadmaps.WebHome]] for non bugfix releases and move the roadmap items to the archive page (for final releases) | |
1.1 | 63 | #end | |
64 | #if ($isFinal) | ||
20.1 | 65 | * (/) [[Update the XWiki official Docker images>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateDocker"]] | |
1.1 | 66 | #end | |
67 | #if ($isFirstFinal) | ||
68 | * Delete the "stable-XXX" branches before the "stable-${version}" ones on github and in Jenkins by using the "Delete branch" UI button when on the branch jobs: | ||
19.1 | 69 | ** (/) [[Commons>>https://github.com/xwiki/xwiki-commons/branches]] | |
70 | ** (/) [[Rendering>>https://github.com/xwiki/xwiki-rendering/branches]] | ||
71 | ** (/) [[Platform>>https://github.com/xwiki/xwiki-platform/branches]] | ||
1.1 | 72 | #end | |
73 | {{/velocity}} |