Changes between Initial Version and Version 1 of SvnTutorial


Ignore:
Timestamp:
03/01/17 13:46:35 (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SvnTutorial

    v1 v1  
     1== svn Tutorial ==
     2
     3In this tutorial, you will learn how to download the ROMS/TOMS source code. To proceed, you will need to know your '''username''' and '''password''' which you selected when filling the ROMS/TOMS registration form.
     4
     5== Check to Make Sure You Can See the Repository ==
     6
     7The easiest way to view a repository is to simply look at it in a web browser.  Enter the URL of the repository (and your username and password), and start looking.  This is also a good way to see individual files in the repository without actually downloading them.
     8
     9If you are using '''esvn''', right-click on the file menu and choose '''Browse Repository''' and enter repository URL:
     10
     11[[Image(esvn_browser.jpg)]]
     12
     13Now you should be able to look at the '''branches''', '''tags''', and '''trunk'''. You can also navigate the repository with a web browser, but cannot do any of the version control stuff that follows.
     14
     15== Checkout a Copy of the Trunk ==
     16This process brings a copy of main code from the repository to your computer and places it under svn control.[[BR]]
     17
     18[[Image(esvn_checkout.jpg)]]
     19
     20You should see a bunch of stuff stream by like:
     21{{{
     22svn checkout https://www.myroms.org/svn/src/trunk /home/ocean/src --username ocean --password ****** --non-interactive
     23A /home/ocean/src/ROMS
     24A /home/ocean/src/ROMS/License_ROMS.txt
     25A /home/ocean/src/ROMS/Tangent
     26A /home/ocean/src/ROMS/Tangent/tl_rho_eos.F
     27A /home/ocean/src/ROMS/Tangent/tl_uv3dmix.F
     28A /home/ocean/src/ROMS/Tangent/tl_def_his.F
     29...
     30A /home/ocean/src/Compilers/UNICOS-mk-f90.mk
     31A /home/ocean/src/Compilers/CYGWIN-g95.mk
     32A /home/ocean/src/Compilers/OSF1-f90.mk
     33A /home/ocean/src/Compilers/Darwin-ifort.mk
     34A /home/ocean/src/Compilers/AIX-xlf.mk
     35A /home/ocean/src/Compilers/SunOS-f95.mk
     36A /home/ocean/src/makefile
     37Checked out revision 11.
     38successfully (0)
     39}}}
     40
     41If you are using svn from the command line, as you would on most unix style machines, check out the respository using the command:
     42{{{
     43svn checkout  https://www.myroms.org/svn/src/trunk  /home/ocean/src
     44}}}
     45
     46== Footnote on building svn on unix-like machines ==
     47On Unix style machines, you will need to have subversion installed.  You will typically want to build this from source, as you will want to compile with secure socket layers enabled (the binary versions of svn do not have this feature).  Find the source at {{{http://subversion.tigris.org/}}}.  Configure and make with:
     48
     49{{{./configure --with-ssl}}}[[BR]]
     50{{{make}}}[[BR]]
     51{{{sudo make install}}}[[BR]]
     52
     53
     54
     55
     56