CVS Migration

On Wednesday April 20 we will be migrating the CVS repository from minos1 (the old SGI) to minos01, one of the new Linux nodes.

For read/write the new CVSROOT will be the same as the old one, minoscvs@minoscvs.fnal.gov:/cvs/minoscvs/rep1. So you should not have to do anything to releases that are checked out using this CVSROOT.

For pserver the CVSROOT will change to :pserver:anonymous@minoscvs.fnal.gov:/cvs/minoscvs/rep1. This means that any release checked out using pserver will have to be migrated. As msrt only allows migration between read/write and pserver we have written a small script called migrate_release that you can use to change any pserver base or test releases (Brett may recognize the code). Either check the script out of cvs ($SRT_DIST/setup) or copy it from the web link.

To use the script (which assumes that $SRT_DIST is defined and points to your minossoft installation)

Migrating base releases

  1. Let's say you are going to migrate release R1.14. Change directory into the top of the release.
    cd $SRT_DIST/releases/R1.14
  2. Execute the script $SRT_DIST/setup/migrate_release -t base -r R1.14
  3. Answer y to the following
    Running the migrate release script for base release R1.14 in directory
    /afs/fnal.gov/files/code/e875/general/
    minossoft/releases/R1.14
    Is this what you want to do? (y/N)
    
  4. Answer n to the following
    Package SoftRelTools
    SoftRelTools has a special cvsroot file holding:
    :pserver:anonymous@srtcvs.fnal.gov:/srtcvs
    Change anyways? (y/N)
    
  5. All the instances of :pserver:anonymous@minos1.fnal.gov:/cvs/minoscvs/rep1 will be changed to :pserver:anonymous@minoscvs.fnal.gov:/cvs/minoscvs/rep1. Using the minoscvs alias in the pserver CVSROOT means that we will not have to migrate in future if we move the server again. You will have to do a cvs login as the path has changed. Don't forget to set you CVSROOT to the new path.

Migrating test releases

  1. Change directory to the top of your test release.
    e.g. cd /home/buckley/testrel
  2. Execute the script $SRT_DIST/setup/migrate_release -t test
    Note that for test releases you don't need the release name.
  3. Answer y to the following
    Running the migrate release script for test release  in directory /home/buckley/samtest
    Is this what you want to do? (y/N)
    
  4. All the instances of :pserver:anonymous@minos1.fnal.gov:/cvs/minoscvs/rep1 will be changed to :pserver:anonymous@minoscvs.fnal.gov:/cvs/minoscvs/rep1. Using the minoscvs alias in the pserver CVSROOT means that we will not have to migrate in future if we move the server again. You will have to do a cvs login as the path has changed. Don't forget to set your CVSROOT to the new path.