Memory Pool System Release Build Procedure

1. Introduction

This is the procedure for building a release of the Memory Pool System from the version sources.

The readership of this document is anyone developing the integration.

This document is not confidential.

All relative paths are relative to //info.ravenbrook.com/project/mps/.

2. Procedure

2.1. Setting up for release

  1. Choose a release name of the form "VERSION.N" (for example, 0.3.0). VERSION is the number of the version you're releasing. N is the first unused release number (starting at zero). Look in the index of releases (release/index.html) for existing release numbers for your version.

  2. Ensure that version/VERSION/readme.txt contains an up-to-date description of the release you intend to build and the correct release name.

  3. Submit readme.txt to Perforce before you continue.

  4. Determine the changelevel at which you're going to make the release. This will usually be the latest submitted changelevel on the version branch; to get it use

    p4 changes -m 1 version/VERSION/...

2.2. MPS Kit Tarball

On a Unix box:

  1. Sync the version sources to the changelevel you determined in step 2.1. Sync the version sources to a clean area of the disk, to be sure that there are no extraneous files around.

    p4 sync version/VERSION/...#none
    rm -rf version/VERSION
    p4 sync version/VERSION/...@CHANGELEVEL
  2. Create a tarball containing the MPS sources, and open it for add:

    cp -r version/VERSION mps-kit-RELEASE
    mkdir -p release/RELEASE
    tar cf - mps-kit-RELEASE | gzip -c > release/RELEASE/mps-kit-RELEASE.tar.gz
    rm -r mps-kit-RELEASE
    p4 add release/RELEASE/mps-kit-RELEASE.tar.gz
  3. Add the readme.txt file to the release directory:

    p4 integrate version/VERSION/readme.txt release/RELEASE/readme.txt
  4. Submit the tarball and the readme.txt file to Perforce with the comment "Adding the MPS Kit tarball and readme.txt file for release RELEASE."

2.3. MPS Kit Zip file

On a Microsoft Windows box:

  1. Sync the version sources to the changelevel you determined in step 2.1. Sync the version sources to a clean area of the disk, to be sure that there are no extraneous files around.

  2. Launch WinZip and create a new archive called "mps-kit-RELEASE.zip" in the directory "release/RELEASE". Add the MPS sources by selecting "version/VERSION" and turning on "Include subfolders" option.

  3. Make a self-extracting archive called "mps-kit-RELEASE.exe" from "mps-kit-RELEASE.zip" (in the same directory), by selcting Actions → Make .EXE File.

  4. Add the self-extracting archive and the zip file to Perforce with the comment "Adding the MPS Kit zip file for release RELEASE."

2.4. Registering the release

  1. Edit the index of releases (release/index.html) and add the release to the table, in a manner consistent with previous releases.

  2. Edit the index of versions (version/index.html) and add the release to the list of releases for VERSION, in a manner consistent with previous releases.

  3. Edit the //info.ravenbrook.com/infosys/cgi/issue.cgi script to add the release changelevel to the releases table, so that the correct set of known and fixed issues can be derived.

  4. Submit these changes with the comment "Registered release RELEASE."

  5. Inform the project manager and staff by e-mail to mps-staff@ravenbrook.com.

A. References

B. Document History

2002-06-17 RB Created based on P4DTI procedure.
2002-06-19 NB Fixed up based on experience of release 1.100.0.
2004-03-03 RB Fixed the way we determine the release changelevel to avoid possible pending changelists.