Model Archival information
This page contains information to assist in archiving JSim projects and other information in the local installation of CVS (Concurrent Version Control System).
General layout
A CVS archive is available for each individual user. TO confirm you have access, check to see if your environment variable $CVSROOT (use the 'echo $CVSROOT' command) is set. If not, our System Administrator may have to run a 'cvs init' command to initalize your archive. Curently, all user archives are under /cvsroot/physiome/model/username/.Getting started
To add your first project to CVS use the 'cvs import' command:
Example: you have model(s) in a sub directory called my_physio_models located within /user1/username/. The following steps will add this directory including all subdirectories and files in it:
- At the command line, confirm you are in the dir of project my_physio_models (/user1/username/my_physio_models). Type the following command to create new project with existing files:
- cvs import -m "Comments about this project" my_physio_models project_label start , where project_label is whatever label you wish to affix to the project.
- You should see information from cvs showing that the files were imported to cvs.
- Now back up files, you must delete the whole directory first before you can check out the project back into your working directory:
mv -v my_physio_models my_physio_models_backup. - Now checkout the project:
cvs checkout my_physio_models.
All of the files should be available for editing or viewing within the working directory.
Simple introduction to CVS commands (external website).
Basic CVS commands
- Adding a file to exisiting CVS project.
Two step process:
- cvs add filename
- cvs commit -m "comments" filename - Checking in changes to a file
- cvs commit -m "comments" filename - Getting a previous version of a file from CVS:
- cvs -Q update -p -r revision filename
- Specific example: You have a file that is currently revision 1.5 and you want revision 1.3:
cvs -Q update -p -r 1.3 Comp1Reaction.proj >Comp1Reaction_v1.3.proj - List of commands: Type cvs man at command line.
- Adding a file to exisiting CVS project.
Web view of CVS archive.
From this web location, click on the user you want to look at and follow the directory tree to the information you are seeking.
[This page was last modified 03Feb10, 4:26 pm.]
Model development and archiving support at physiome.org provided by the following grants: NIH U01HL122199 Analyzing the Cardiac Power Grid, 09/15/2015 - 05/31/2020, NIH/NIBIB BE08407 Software Integration, JSim and SBW 6/1/09-5/31/13; NIH/NHLBI T15 HL88516-01 Modeling for Heart, Lung and Blood: From Cell to Organ, 4/1/07-3/31/11; NSF BES-0506477 Adaptive Multi-Scale Model Simulation, 8/15/05-7/31/08; NIH/NHLBI R01 HL073598 Core 3: 3D Imaging and Computer Modeling of the Respiratory Tract, 9/1/04-8/31/09; as well as prior support from NIH/NCRR P41 RR01243 Simulation Resource in Circulatory Mass Transport and Exchange, 12/1/1980-11/30/01 and NIH/NIBIB R01 EB001973 JSim: A Simulation Analysis Platform, 3/1/02-2/28/07.