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 3 and Version 4 of Developers/GoodPractices/UsualCommands


Ignore:
Timestamp:
2019-06-04T17:09:15+02:00 (5 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers/GoodPractices/UsualCommands

    v3 v4  
    1 {{{#!sh 
    2 ## Create your development branch locally 
    3 ##+ Here it is assumed that you have set up the recommended development environment  
     1{{{#!console 
     2 # Create your development branch locally 
     3 #+ Here it is assumed that you have set up the recommended development environment  
    44$ svn copy trunk[@${rev}] branches/${year}/dev_r${rev}_${} 
    5 ##+ If not, create the dev branch directly in the repository then download it 
    6 ## $ 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}_${} 
    8 ## $ svn checkout svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${} 
     5 #+ If not, create the dev branch directly in the repository then download it 
     6 # $ 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}_${} 
     8 # $ svn checkout svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${} 
    99 
    10 ## If needed, edit the external references for your branch (${SVN_EDITOR} env. variable must be set) 
     10 # If needed, edit the external references for your branch (${SVN_EDITOR} env. variable must be set) 
    1111$ svn propedit svn:externals ${path_branch} 
    1212 
    1313[...] 
    1414 
    15 ## Create a new NEMO routine by copying the template in ./src/OCE/module_example 
     15 # Create a new NEMO routine by copying the template in ./src/OCE/module_example 
    1616$ 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 
     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 
    2121 
    2222[...] 
    2323 
    24 ## At your convenience, push your changes to the repository (externals are versioned SVN properties) 
    25 $ svn commit [-m 'log message'] ${path_branch} 
     24 # At your convenience, push your changes to the repository (externals are versioned SVN properties) 
     25$ svn commit [-m 'one-liner log message'] ${path_branch} 
    2626 
    2727[...] 
    2828 
    29 ## Download sette tool to validate your changes to the NEMO reference 
     29 # Download sette tool to validate your changes to the NEMO reference 
    3030$ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette ${path_branch} 
    3131 
    32 ## Get documentation figures for building NEMO manual (not mandatory) 
    33 $ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ${path_branch}/doc/figures 
     32 # Get documentation figures for building NEMO manual (not mandatory) 
     33$ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ${path_branch}/doc/latex/figures 
    3434}}}