Version Control



next up previous
Next: Unpacking the Distribution Up: Installation Instructions for Unix Version Previous: Requirements

Version Control

If you are installing SIPE-2 for the first time, you can skip the rest of this section.

All AIC systems are stored by system name as subdirectories of the aic-export directory which is created during unpacking (e.g., aic-export/sipe). (The examples in this section assume you are connected to the parent of aic-export.) Each version of a system is in a subdirectory (of the system name) that is its release number (e.g., aic-export/sipe/4.5 contains SIPE-2 version 4.5). The version of each system in current use is denoted by a symbolic link named released (e.g., sipe/released links to sipe/4.5). New versions of systems will appear in new version subdirectories, leaving the old versions intact. To change the version of a system that is being used, simply reset this link. All released links will be updated to the latest versions during unpacking of a new version.

Old versions of systems can be retained as a backup or deleted. For example, version 4.5 of SIPE-2 can be deleted as follows:

        % rm -r -f aic-export/sipe/4.5
If you are installing SRI software for the first time, skip the remainder of this section which discusses installation of a new version of SRI software in the same aic-export directory as a previous version. Systems in the distribution that have new versions will appear in new subdirectories, leaving the old version intact. Systems that do not have new versions will overwrite the existing files, but the only changes should be possible additional patch files. All released links will be updated to the latest versions during unpacking.

Before September, 1994, SRI distributions did not use version numbers. If you are upgrading a distribution created before then, it is necessary to do one of the following:

  1. Create a separate copy of the entire aic-export tree. This is done by unpacking the new distribution in a different location than the existing aic-export (see next section).
  2. Delete the existing aic-export tree as follows:

     
          % rm -r -f aic-export
  3. Keep both versions on the disk. This is accomplished by renaming the existing released subdirectories as follows:gif

     
          % cd aic-export
          % mv sipe/released sipe/old  
          % mv grasper/released grasper/old  
          % mv library/released library/old



David E. Wilkins wilkins@ai.sri.com
Last modified: Fri Jan 3 17:47:26 1997