Ravenbrook / Projects / Memory Pool System / Master Product Sources / Procedures
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/
.
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.
Ensure that version/VERSION/readme.txt
contains an up-to-date description of the release you intend to build
and the correct release name.
Submit readme.txt
to Perforce
before you continue.
Determine the changelevel at which you're going to make the
release. This should be the current changelevel; use p4 counter
change
to get it.
On a Unix box:
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
Create a tarball containing the MPS sources:
cp -r version/VERSION mps-kit-RELEASE
tar cf - mps-kit-RELEASE | gzip -c > release/RELEASE/mps-kit-RELEASE.tar.gz
rm -r mps-kit-RELEASE
Add the tarball to Perforce with the comment "Adding the MPS Kit tarball for release RELEASE."
On a Window box:
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.
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.
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. Specify the default "unzip to" folder as "mps-kit-RELEASE".
Add the self-extracting archive to Perforce with the comment "Adding the MPS Kit zip file for release RELEASE."
Edit the index of releases (release/index.html
) and
add the release to the table, in a manner consistent with previous
releases.
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.
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.
Submit these changes with the comment "Registered release RELEASE."
Inform the project manager and staff by e-mail to mps-staff@ravenbrook.com.
2002-06-17 | RB | Created based on P4DTI procedure. |
This document is copyright © 2002 Ravenbrook Limited. All rights reserved. This is an open source license. Contact Ravenbrook for commercial licensing options.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement, are disclaimed. In no event shall the copyright holders and contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
$Id: //info.ravenbrook.com/project/mps/branch/2002-05-22/open-source-prep/procedure/release-build/index.html#1 $
Ravenbrook / Projects / Memory Pool System / Master Product Sources / Procedures