| 21 |
</head> |
</head> |
| 22 |
|
|
| 23 |
<body> |
<body> |
| 24 |
|
|
| 25 |
<center> |
<center> |
| 26 |
<h3>Obtaining the MITgcm Source using CVS</h3> |
<h3>Obtaining the MITgcm Source using CVS</h3> |
| 27 |
</center> |
</center> |
| 54 |
<p>using the "-P" option to check-out ("<i>cvs co -P</i>") prevents |
<p>using the "-P" option to check-out ("<i>cvs co -P</i>") prevents |
| 55 |
to download unnecessary empty directories.</p> |
to download unnecessary empty directories.</p> |
| 56 |
|
|
| 57 |
|
|
| 58 |
|
<p>Note that it is possible to checkout code without "cvs login" and without |
| 59 |
|
setting any shell environment variables by specifying the pserver name and |
| 60 |
|
password in one line, for example:</p> |
| 61 |
|
|
| 62 |
|
<pre> |
| 63 |
|
$ cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm |
| 64 |
|
</pre> |
| 65 |
|
|
| 66 |
<p>A large amount of additional (optional!) content is available |
<p>A large amount of additional (optional!) content is available |
| 67 |
from the <i>MITgcm_contrib</i> directory; much of it is specific to certain |
from the <i>MITgcm_contrib</i> directory; much of it is specific to certain |
| 68 |
setups (eg. high-res setups, in-development material that is not yet part |
setups (eg. high-res setups, in-development material that is not yet part |
| 148 |
</pre> |
</pre> |
| 149 |
|
|
| 150 |
<h4>Getting Specific Releases or "Checkpoints"</h4> |
<h4>Getting Specific Releases or "Checkpoints"</h4> |
| 151 |
|
|
| 152 |
<p>As shown within the |
<p>As shown within the |
| 153 |
<!-- <a href="http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/doc/tag-index">CVS Code Browser</a> --> |
<!-- <a href="http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/doc/tag-index">CVS Code Browser</a> --> |
| 154 |
<a href="http://mitgcm.org/viewvc/MITgcm/MITgcm/doc/tag-index">CVS Code Browser</a> |
<a href="http://mitgcm.org/viewvc/MITgcm/MITgcm/doc/tag-index">CVS Code Browser</a> |
| 155 |
, the MITgcm code is continuously undergoing updates. At |
, the MITgcm code is continuously undergoing updates. At |
| 166 |
</pre> |
</pre> |
| 167 |
|
|
| 168 |
<p>By default (that is, when no tag is specified), CVS will retrieve the |
<p>By default (that is, when no tag is specified), CVS will retrieve the |
| 169 |
latest version of all files.</p> |
latest version of all files. To download an older version corresponding |
| 170 |
|
to a specific time, e.g., May 1rst, 2008, at 5pm, one can use the "-D" |
| 171 |
|
CVS option as follows: </p> |
| 172 |
|
|
| 173 |
|
<pre> |
| 174 |
|
$ cvs co -P -D "2008-05-01 17:00" MITgcm |
| 175 |
|
</pre> |
| 176 |
|
|
| 177 |
<h4>Show changes that YOU have made</h4> |
<h4>Show changes that YOU have made</h4> |
| 178 |
|
|
| 241 |
|
|
| 242 |
<p>"cvs update" produces output to the terminal with the following |
<p>"cvs update" produces output to the terminal with the following |
| 243 |
meanings:</p> |
meanings:</p> |
| 244 |
|
|
| 245 |
<table align="center" border="0" cellpadding="10" width="90%" summary="CVS |
<table align="center" border="0" cellpadding="10" width="90%" summary="CVS |
| 246 |
update codes"> |
update codes"> |
| 247 |
<tr bgcolor="#00cccc"> |
<tr bgcolor="#00cccc"> |
| 284 |
|
|
| 285 |
<h4>Wow! CVS is so good, where can I learn more?</h4> |
<h4>Wow! CVS is so good, where can I learn more?</h4> |
| 286 |
|
|
| 287 |
<p>The <a |
<p>The <a |
| 288 |
href="http://web.mit.edu/afs/athena.mit.edu/project/gnu/doc/html/cvs_toc.html">basic |
href="http://web.mit.edu/afs/athena.mit.edu/project/gnu/doc/html/cvs_toc.html">basic |
| 289 |
manual</a> is a good reference. |
manual</a> is a good reference. |
| 290 |
For those who prefer the good old fashioned book there's |
For those who prefer the good old fashioned book there's |
| 291 |
<a href="http://cvsbook.red-bean.com/">"Open Source Development With CVS"</a>.</p> |
<a href="http://cvsbook.red-bean.com/">"Open Source Development With CVS"</a>.</p> |