Once the test release is created, the user needs to populate it with the particular packages he wishes to modify via the addpkg command. Let's say that header files in a second package depend on the package the user wants to modify. The user will want to build the libraries in the second package, but not modify the code. He can add the second package to the test release via the lnkpkg command.
When adding packages to the test release, an important consideration is which particular version to add. See Appendix A for more details on cvs versioning. By default, it will check out of CVS the version of <package> that was used to make the <base-release>. It is a version that is guaranteed to work with <base-release>; however, it may not be the head version of the package. Developers will always want to use the head version when using the development release. The developer should be aware that the head version is not guaranteed to work with the <base-release>. The user can optionally specify to check out either the head version or a specific tagged version on the addpkg command line. One must be careful when committing changes to a version that is not the head or branched versions may be created, see Appendix A.
For Example:
cd ~foo.
If <tag> is present, addpkg does a
cvs checkout -r<tag> package.
In
Figs. 3 and 4, the user typed
addpkg pkgB
to create the sub-directory pkgB and fill
pkgB with sub-directories and code from CVS. addpkg
also creates a soft link between the test release include area and the newly
created package include area. For example, in
Figs. 3 and 4, addpkg
created a symbolic link ~foo/test/include/pkgB/ which points to
~foo/test/pkgB/include/.
~foo/test/pkgA/ points to
$SRT_DIST/packages/pkgA/1.1/, and the symbolic link
~foo/test/include/pkgA/ points to $SRT_DIST/packages/pkgA/1.1/include/.
You can figure out which packages you need to link to by running the SoftRelTools script depend (see Section 4.12).
Once the user has a test release created in his development area, he can use the following commands in 3.4 to make modifications.