GEOS-5 Checkout and Build Instructions: Difference between revisions
Line 15: | Line 15: | ||
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:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma co -d GEOSagcm -r | % cvs -d :ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma co -d GEOSagcm -r Fortuna-1_5_UNSTABLE Fortuna | ||
So our module is '' | So our module is ''Fortuna'' (the current major version of GEOS) and the tag is ''Fortuna-1_5_UNSTABLE'' (the current development version). 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 '''sourcemotel''' then you should be prompted for your '''sourcemotel''' password. The assumption here is that your username on '''sourcemotel''' is the same as on the machine you are checking the code out on. If not, modify the command like this: | 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 '''sourcemotel''' then you should be prompted for your '''sourcemotel''' password. The assumption here is that your username on '''sourcemotel''' is the same as on the machine you are checking the code out on. If not, modify the command like this: | ||
% cvs -d :ext:SOURCEMOTEL_USERNAME@c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma co -d GEOSagcm -r | % cvs -d :ext:SOURCEMOTEL_USERNAME@c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma co -d GEOSagcm -r Fortuna-1_5_UNSTABLE Fortuna | ||
Here's short cut. So that you don't have to type in the ''-d :ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma'' business all the time, you can add the following lines to your, e.g., ''.cshrc'' file: | Here's a short cut. So that you don't have to type in the ''-d :ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma'' business all the time, you can add the following lines to your, e.g., ''.cshrc'' file: | ||
setenv CVSROOT ':ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma' | setenv CVSROOT ':ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma' | ||
Line 32: | Line 32: | ||
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: | ||
% cvs co -d GEOSagcm -r | % cvs co -d GEOSagcm -r Fortuna-1_5_UNSTABLE Fortuna | ||
Enter your password when prompted and the code should check out. | Enter your password when prompted and the code should check out. |