Memory Pool System Experimental-Release Procedure

1. Introduction

This is the procedure for making an experimental release of the Memory Pool System.

An experimental release is a cheap and quick way to make under-development MPS code available to external parties (eg. customers), typically to let them evaluate new functionality. See Justification, below.

The intended readership of this document is Ravenbrook development staff. (If you are a user of the MPS, and want to build object code from an mps-kit, please see the readme.txt file in the kit).

This document is not confidential.

2. Procedure

2.1. Prepare your modified MPS source

Make your changes in a development branch: branch/YYYY-MM-DD/NAME/. (In the rest of this procedure, relative paths assume you have cd'd to this directory).

2.2. Determine release name and origin

An experimental release's name is simply the Perforce changelevel of its origin, prefixed with "exp-".

The following procedure is cheap and usually works, despite the race condition.

  1. p4 changes -m 1, add 1: this is the expected changelevel NNNNNN for your experimental release.

  2. Edit code/version.c: set MPS_RELEASE to "exp-NNNNNN".

  3. Edit code/w3build.bat: @set mpsreleasename to "exp-NNNNNN".

  4. Submit code/version.c and code/w3build.bat.

  5. p4 changes -m 1 to check that you did indeed get changelevel NNNNNN.

If someone else grabbed your intended changelevel, repeat until you win.

2.3. Make the release package

This example is for an experimental release to Configura.

  1. Clean directory, Sync to origin, Build:

      p4 sync code/...#0
      rm -rf code
      p4 sync code/...@NNNNNN
      code/w3build.bat
  2. Make Zip Archive, in development branch's release directory, using Windows GUI:

    • browse to code/exp-NNNNNN
    • right-click > Send To > Compressed (zipped) folder
    • prefix archive name with "MMconfigura-"
    • place in release/

    release/ is a new "branch release directory", a peer of the /code directory. It is only present in branches from which we make experimental releases. Experimentally released files go here, for example: //info.ravenbrook.com/project/mps/branch/2007-04-18/diag/release/MMconfigura-exp-162399.zip.

  3. Add to perforce:

      p4 add -t binary release/MMconfigura-exp-162399.zip
      p4 submit ...

    or equivalent.

2.4. Test and Publish

  1. Test as appropriate.

  2. Make webserver allow access to the release: see http://info.ravenbrook.com/procedure/webserver/.

  3. Send email, including your (informal) release notes, and a link to the release on www.ravenbrook.com...zip (not info.ravenbrook.com!).

3. Justification and Design

An experimental release is a cheap and quick way to make under-development MPS code available to external parties (eg. customers), typically to let them evaluate new functionality.

This procedure was designed by simplifying and removing steps from the formal release-build procedure. For design justification, see http://info.ravenbrook.com/mail/2007/05/23/17-34-46/0.txt and http://info.ravenbrook.com/mail/2007/05/24/12-40-54/0.txt.

A. References

B. Document History

2008-01-07 RHSK Created from http://info.ravenbrook.com/mail/2007/07/04/14-01-34/0.txt