Actions

Difference between revisions of "Developer Area/Release Instructions/Old Major Release"

From Mahara Wiki

< Developer Area‎ | Release Instructions
(writing release notes and generating stats)
(how to update the launchpad series)
Line 38: Line 38:
  
 
Have a look at the <tt>results</tt> text file to ensure that developers are only listed once (otherwise add them to the <tt>mahara.aliases</tt> file). Also make sure that there is no "(unknown)" company by making sure that all of the necessary mappings are in <tt>mahara.domain-map</tt>.
 
Have a look at the <tt>results</tt> text file to ensure that developers are only listed once (otherwise add them to the <tt>mahara.aliases</tt> file). Also make sure that there is no "(unknown)" company by making sure that all of the necessary mappings are in <tt>mahara.domain-map</tt>.
 +
 +
= Launchpad series =
 +
 +
When releasing 1.4, we did the following:
 +
 +
* Changed the status of [https://launchpad.net/mahara/1.5 1.5] to '''"Active development"''' and the description to '''"Future release of Mahara"'''
 +
* Changed the status of [https://launchpad.net/mahara/1.4 1.4] to '''"Current stable release"''' and the description to '''"Stable release of Mahara"'''
 +
* Changed the status of [https://launchpad.net/mahara/1.3 1.3] to '''"Supported"''' and the description to '''"Old stable release of Mahara"'''
 +
* Changed the status of [https://launchpad.net/mahara/1.2 1.2] to '''"Obsolete"''' and the description to '''"Old stable release of Mahara (no longer supported)"'''

Revision as of 13:07, 4 July 2011

Here are the things to do before running through the usual release instructions when preparing a new major release.

Major releases should be preceded by at least one release candidate.

Creating the new branch

  • Create a new branch in the admin section of Gerrit
  • Copy the changelog from the previous stable branch
  • Update the branch name in the "push" target of the Makefile

Bump the version on master

  • Go to the master branch and bump the version to 1.5.0dev (if you just created the 1.4_STABLE branch)

Bump the stable_version on mahara.org

(This is what sets the right download link in the header.)

Here's what I added in htdocs/local/upgrade.php for the 1.4 release:

if ($oldversion < 2011061501) {
    set_config('mahara_stable_version', '1.4');
}

Write the release notes

You can copy what you like from the 1.4 release notes.

Generate the git stats

Grab our version of gitdm from the mahara-scripts repo:

git clone git://gitorious.org/mahara/mahara-scripts.git

and here is how to generate the stats at the end:

GIT_DIR=~/code/mahara/.git git log -p -M --no-merges 1.3.0_RELEASE..1.4_STABLE | ./gitdm -c mahara.config -u -s -o results -h results.html

Have a look at the results text file to ensure that developers are only listed once (otherwise add them to the mahara.aliases file). Also make sure that there is no "(unknown)" company by making sure that all of the necessary mappings are in mahara.domain-map.

Launchpad series

When releasing 1.4, we did the following:

  • Changed the status of 1.5 to "Active development" and the description to "Future release of Mahara"
  • Changed the status of 1.4 to "Current stable release" and the description to "Stable release of Mahara"
  • Changed the status of 1.3 to "Supported" and the description to "Old stable release of Mahara"
  • Changed the status of 1.2 to "Obsolete" and the description to "Old stable release of Mahara (no longer supported)"