Last modified by Clément Aubin on 2018/11/30 15:53

Show last authors
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
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]]).
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.
25 * Make sure next version exists on [[jira>>https://jira.xwiki.org]] projects (JIRA releases are done automatically in the build):
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]]
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}}.
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"]]
32 #if (!$isBugfix)
33 * (x) [[Update translations>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateTranslations"]]
34 #end
35 * (/) [[Build the release>>ReleasePlans.ReleasePlanHelp||anchor="HBuildtherelease"]]
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}]]
38 #if ($isFirstFinal)
39 * (x) [[Update backward compatibility setup in the build>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateBackwardCompatibilityinthereleasenote"]] (both in current branch and master)
40 #end
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).
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]]
44 * (/) Ensure that the [[Release Notes are complete and nice-looking for version $version>>${releaseNotesWikiLink}]]
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"]]
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) {{info}}Not done as 10.8.2 is only a bugfix version and XWiki 10.9 has already been released.{{/info}}
48 #if (!$isRC && !$isMilestone)
49 * (/) [[Force extensions update>>ReleasePlans.ReleasePlanHelp||anchor="HForceExtensionsUpdate"]]
50 #end
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]] {{info}}Not done as 10.8.2 is only a bugfix version and XWiki 10.9 has already been released.{{/info}}
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. {{info}}Not done as 10.8.2 is only a bugfix version and XWiki 10.9 has already been released.{{/info}}
54 #if (!$isRC && !$isMilestone)
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. {{info}}Not done as 10.8.2 is only a bugfix version and XWiki 10.9 has already been released.{{/info}}
56 #end
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. {{info}}Not done as this release was not part of the release plan.{{/info}}
61 #if (!$isBugfix)
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)
63 #end
64 #if ($isFinal)
65 * (!) [[Update the XWiki official Docker images>>ReleasePlans.ReleasePlanHelp||anchor="HUpdateDocker"]] {{info}}Not done as 10.8.2 is only a bugfix version and XWiki 10.9 has already been released.{{/info}}
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:
69 ** (x) [[Commons>>https://github.com/xwiki/xwiki-commons/branches]]
70 ** (x) [[Rendering>>https://github.com/xwiki/xwiki-rendering/branches]]
71 ** (x) [[Platform>>https://github.com/xwiki/xwiki-platform/branches]]
72 #end
73 {{/velocity}}

Get Connected