By default, msrt checks out a copy of the MINOS offline code from the main (CVS) code repository in a read-only fashion (no commit possible). You can still build, run and locally modify the code. If you want to have any changes committed then it is possible, and easy, to switch your code base to a read-write access method (see msrt migrate). You local "test" releases can have access methods independent of the base release (see SRT's cvsmigrate).
After the code is built, you can use msrt to help with routine updating and rebuilding.
Msrt can easily be adapted to other groups SRT systems
cvs -d :pserver:anonymous@minoscvs.fnal.gov:/cvs/minoscvs/rep1 login password: anoncvs cvs -d :pserver:anonymous@minoscvs.fnal.gov:/cvs/minoscvs/rep1 get setup/msrt (setup/ is created, you can now copy msrt to some place in your PATH)
msrt
For the full documentation type:
msrt help
Or, click on the above link.
New users should follow the 12 STEP PROGRAM section of this help output. It will walk you through what is needed to start from zero and end up with a working offline software setup.
msrt update
msrt clean
msrt clean PackageOne PackageTwo PackageThree
msrt update PackageOne PackageTwo PackageThree
msrt build PackageOne PackageTwo PackageThree
msrt update NewPackage
This will also add an entry into your local "packages" file for
that release. Be aware of this if you ever commit the packages
file. The entries will be appended, so check the bottom of the
file.
msrt filldb -U <URL> -u <user> -p <password>
The URL will look something like:
mysql://localhost/offline
where "localhost" might be your full host name.
msrt release -r RX.Y.Z
msrt build -r RX.Y.Z
msrt update -r RX.Y.Z
msrt clean -r RX.Y.Z
Notes
msrt -e <command> <command options>
This option overrides some commmand options (ie.
"-r <release-name>)."
msrt migrate [optional list of packges]
You will still need to arrange for proper CVS/SSH access. See
WebDocs/cvs-rep.html
Note: technically, you should never need to convert your base release from read-only to read-write because you are supposed to never directly edit base release files, but instead check out packages into your test release area and commit them from there. In spite of that, many find it convenient to directly edit code in and commit from the base release.