Creating a Release
Creating the release has the following steps:
Check the Release Status
See the page https://trac.mcs.anl.gov/projects/mpich2/roadmap for the relevant release to ensure that all pending bugs have been fixed.
Ensure that all testing has been performed
This includes both the results of the nightly tests and the special tests that are used to check that common configuration options continue to work and that the coding standards have been followed.
TODO: There was a comprehensive checklist of the prerequisites for a release. That needs to be placed here. Recent releases have not checked this list. What follows is a partial list
Check all tests. This includes
- The four major test suites (MPICH, C++, Intel, MPICH2)
- The LLNL-MPI/IO test; this needs to be run manually
- The special tests (See the special tests link); these are important for testing that various options and compiler choices work
- The "random" tests in the nightly test should not indicate any problems; these are used to test correct handling of the configure options
- Ensure that the Debugger interface works;
(cd src/mpi/debugger ; make tvtest)can be used as a start; a check with
totalviewshould also be performed
- Ensure that there are no performance artifacts, both for point-to-point and collective operations.
- Check the MPE build, including Jumpshot. Ensure Jumpshot can read and display slog files.
Update all necessary files and commit them to the trunk
- Update the version number in maint/Version.
- Update the
CHANGESfile. You can find the commits that went in by going through the svn log information.
- Update the
RELEASE_NOTESfile. This requires input from everyone, and generally requires asking each person (in person) if the current restrictions still apply, and if any new ones should be added.
- Update the
Create a release branch and tag
- A branch is only created once for a complete release cycle, i.e.,
1.0.7p1, etc., will have just one branch. At what point a release branch is to be created is not decided yet (e.g., alpha releases, beta releases, RCs, full release), but we currently do that at the time of the RC release. This essentially means an svn-copy of the trunk to the branches/release directory.
- If this is the first RC for this release cycle, create a branch. Branches are named as
Zare the major, minor and revision version numbers.
- If this is not the first RC, merge all required changes from the trunk to the release branch.
- A tag is created for every release from the branch. Tag is essentially an svn-copy of the branch to the tags/release directory. Tags are named as
a2/.. (for alpha releases),
rc2/.. (for RC releases), etc.
Create a final tarball for the release
- Get the
maintfrom the trunk and run it as
./release.pl --source=[path_to_tag_dir] --psource=[path_to_first_release_in_major_series] --version=[version]
- Commit the tarballs to the MPICH2 website SVN copy (
www/downloads/tarballs) and update the downloads and main pages with the release information.
- Update the SVN working copy for the main MPICH2 website (
svn update /mcs/web/research/projects/mpich2).
If this is a full release (e.g., 1.0.7, 1.0.8), update the MPICH2 website
- Update the news and downloads sections on the main page as well as on their detailed description pages.
- Update the user, install and windev guides.
- Update the documentation pages to point to the right version.
Mark the milestone complete on TRAC
- If there are any pending tickets, move them to the next release.
Send out the release announcement to email@example.com and party! Yay!
The older version of these release instructions can be found here: http://www.mcs.anl.gov/research/projects/mpich2/olddeveloper/release.htm