GEOS-5 Checkout and Build Instructions (Fortuna): Difference between revisions
Line 16: | Line 16: | ||
Here, $CVSROOT specifies the CVS repository we'll be getting the code from, DIRECTORY is the name of the directory you would like to create to hold the code, MODULENAME is the particular module (set of code) we'll be checking out, and TAGNAME is a particular version of that module. Let's fill in the blanks: | Here, $CVSROOT specifies the CVS repository we'll be getting the code from, DIRECTORY is the name of the directory you would like to create to hold the code, MODULENAME is the particular module (set of code) we'll be checking out, and TAGNAME is a particular version of that module. Let's fill in the blanks: | ||
% cvs -d :ext:pcolarco@ | % cvs -d :ext:pcolarco@cvsacldirect:/cvsroot/esma co -d GEOSagcm -r AeroChem-Fortuna-2_4-b3 Fortuna | ||
So our module is ''Fortuna'' and the tag is ''AeroChem-Fortuna-2_4-b3''. The code will check-out to a newly created directory call ''GEOSagcm''. Note that I substituted the shortcut ''co'' for ''checkout'' in the above command. | So our module is ''Fortuna'' and the tag is ''AeroChem-Fortuna-2_4-b3''. The code will check-out to a newly created directory call ''GEOSagcm''. Note that I substituted the shortcut ''co'' for ''checkout'' in the above command. | ||
The above command is generally valid. You ought to be able to execute it and checkout some code. If you don't have your ''ssh keys'' setup on ''' | The above command is generally valid. You ought to be able to execute it and checkout some code. If you don't have your ''ssh keys'' setup on '''cvsacl''' then you should be prompted for your '''cvsacl''' password. The assumption here is that your username on '''cvsacl''' is the same as on the machine you are checking the code out on. | ||
Here's a short cut. So that you don't have to type in the ''-d :ext:pcolarco@ | Here's a short cut. So that you don't have to type in the ''-d :ext:pcolarco@cvsacldirect:/cvsroot/esma'' business all the time, you can add the following lines to your, e.g., ''.cshrc'' file: | ||
setenv CVSROOT ':ext:pcolarco@ | setenv CVSROOT ':ext:pcolarco@cvsacldirect:/cvsroot/esma' | ||
setenv CVS_RSH ssh | setenv CVS_RSH ssh | ||
Modify as appropriate to put in your username in or if you use a different shell (i.e., put the analog of these lines into your .bashrc file or whatever). Or if you are on a different machine than discover, the path to the ''' | Modify as appropriate to put in your username in or if you use a different shell (i.e., put the analog of these lines into your .bashrc file or whatever). Or if you are on a different machine than discover, the path to the '''cvsacl''' repository may be somewhat different. | ||
If you set that up, you should be able now to type in: | If you set that up, you should be able now to type in: |