New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Developers/GoodPractices/UsualCommands (diff) – NEMO

Changes between Version 2 and Version 3 of Developers/GoodPractices/UsualCommands


Ignore:
Timestamp:
2018-11-09T01:08:36+01:00 (5 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers/GoodPractices/UsualCommands

    v2 v3  
    22## Create your development branch locally 
    33##+ Here it is assumed that you have set up the recommended development environment  
    4 $ svn copy trunk[@${REV}] branches/$year/dev_r${REV}_${NameOfNewBranch} 
     4$ svn copy trunk[@${rev}] branches/${year}/dev_r${rev}_${} 
    55##+ If not, create the dev branch directly in the repository then download it 
    66## $ svn copy     svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk                \ 
    7 ##                svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${NameOfNewBranch} 
    8 ## $ svn checkout svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${NameOfNewBranch} 
     7##                svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${} 
     8## $ svn checkout svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${} 
    99 
    1010## If needed, edit the external references for your branch (${SVN_EDITOR} env. variable must be set) 
    11 $ svn propedit svn:externals ${PATH_BRANCH} 
     11$ svn propedit svn:externals ${path_branch} 
     12 
     13[...] 
     14 
     15## Create a new NEMO routine by copying the template in ./src/OCE/module_example 
     16$ svn copy src/OCE/module_example src/${path}/${routine_name}.{f90,F90,h90} 
     17## Available extensions 
     18## .f90: Fortran 90 routine without preprocessing (no C directives) 
     19## .F90: Fortran 90   "     with          "       (existing C directives) 
     20## .h90: Fortran 90 file for embedded inclusions 
    1221 
    1322[...] 
    1423 
    1524## At your convenience, push your changes to the repository (externals are versioned SVN properties) 
    16 $ svn commit [-m 'log message'] ${PATH_BRANCH} 
     25$ svn commit [-m 'log message'] ${path_branch} 
    1726 
    1827[...] 
    1928 
    2029## Download sette tool to validate your changes to the NEMO reference 
    21 $ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette ${PATH_BRANCH} 
     30$ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette ${path_branch} 
    2231 
    2332## Get documentation figures for building NEMO manual (not mandatory) 
    24 $ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ${PATH_BRANCH}/doc/figures 
     33$ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ${path_branch}/doc/figures 
    2534}}}