Changes between Version 3 and Version 4 of Developers/GoodPractices/UsualCommands
- Timestamp:
- 2019-06-04T17:09:15+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/GoodPractices/UsualCommands
v3 v4 1 {{{#! sh2 ## Create your development branch locally3 ##+ Here it is assumed that you have set up the recommended development environment1 {{{#!console 2 # Create your development branch locally 3 #+ Here it is assumed that you have set up the recommended development environment 4 4 $ svn copy trunk[@${rev}] branches/${year}/dev_r${rev}_${} 5 ##+ If not, create the dev branch directly in the repository then download it6 ## $ 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}_${} 9 9 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) 11 11 $ svn propedit svn:externals ${path_branch} 12 12 13 13 [...] 14 14 15 ## Create a new NEMO routine by copying the template in ./src/OCE/module_example15 # Create a new NEMO routine by copying the template in ./src/OCE/module_example 16 16 $ svn copy src/OCE/module_example src/${path}/${routine_name}.{f90,F90,h90} 17 ## Available extensions18 ## .f90: Fortran 90 routine without preprocessing (no C directives)19 ## .F90: Fortran 90 " with " (existing C directives)20 ## .h90: Fortran 90 file for embedded inclusions17 # 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 21 21 22 22 [...] 23 23 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} 26 26 27 27 [...] 28 28 29 ## Download sette tool to validate your changes to the NEMO reference29 # Download sette tool to validate your changes to the NEMO reference 30 30 $ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette ${path_branch} 31 31 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/ figures32 # 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 34 34 }}}