Changes between Version 2 and Version 3 of Developers/GoodPractices/UsualCommands
- Timestamp:
- 2018-11-09T01:08:36+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/GoodPractices/UsualCommands
v2 v3 2 2 ## Create your development branch locally 3 3 ##+ 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}_${} 5 5 ##+ If not, create the dev branch directly in the repository then download it 6 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}_${ 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}_${} 9 9 10 10 ## 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 12 21 13 22 [...] 14 23 15 24 ## 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} 17 26 18 27 [...] 19 28 20 29 ## 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} 22 31 23 32 ## Get documentation figures for building NEMO manual (not mandatory) 24 $ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures ${ PATH_BRANCH}/doc/figures33 $ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures ${path_branch}/doc/figures 25 34 }}}