To make a new production release with the package version
just created
After one or more packages have been updated, somebody decides that a release
incorporating the changes is required.
cd $SRT_DIST/releases
newrel -p <old release> <new release>
The old release provides the list of packages to include, and the initial
libraries and executables. newrel will prompt for the version of
each package required.
cd <new release>
ups declare -r <directory> -z <ups-database> -f <flavor> <project> <release>
Here we declare the release to UPS, which establishes a UPS database entry for
the release.
The arguments of ups declare we use are <directory>, the
directory on disk where the release resides, <ups-database>, the
disk location of the ups database, <flavor>, the UNIX operating system
type of the release's binaries (IRIX, AIX, etc.), <project>, the
project name (cdfsoft2, D0RunII, etc.), and <release>, the release
number.
gmake
These should be repeated for every supported architecture. Errors that occur
at this stage may result in changes to one or more packages and the creation
of a new release, but should not be corrected by changing the source in this
release. After the release is made a soft link characterizing the release as
current or development may optionally be created in the
area $SRT_DIST/releases pointing to the release number. If so, the
release manager needs to also declare the release to UPS
as current or development for consistency.
Figure 3:
Diagram of a simple test release directory structure, and how it relates to the
official release directory structure. Here the package ``pkgB'' is being
developed, but since nothing else depends on pkgB, all other include files
and libraries are taken from the current official release.
[width=5in]run_2_dev_simple.eps
Figure 4:
Diagram of a complex test release directory structure, and how it relates to the
official release directory structure. Here the package ``pkgB'' is being
developed , and ``pkgA'' depends on the contents of ```pkgB''. The curved lines
correspond to soft links.