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 – NEMO
wiki:Developers/GoodPractices/UsualCommands

Version 2 (modified by nicolasmartin, 5 years ago) (diff)

--

## Create your development branch locally
##+ Here it is assumed that you have set up the recommended development environment 
$ svn copy trunk[@${REV}] branches/$year/dev_r${REV}_${NameOfNewBranch}
##+ If not, create the dev branch directly in the repository then download it
## $ svn copy     svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk                \
##                svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${NameOfNewBranch}
## $ svn checkout svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/$year/dev_r${REV}_${NameOfNewBranch}

## If needed, edit the external references for your branch (${SVN_EDITOR} env. variable must be set)
$ svn propedit svn:externals ${PATH_BRANCH}

[...]

## At your convenience, push your changes to the repository (externals are versioned SVN properties)
$ svn commit [-m 'log message'] ${PATH_BRANCH}

[...]

## Download sette tool to validate your changes to the NEMO reference
$ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette ${PATH_BRANCH}

## Get documentation figures for building NEMO manual (not mandatory)
$ svn checkout http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ${PATH_BRANCH}/doc/figures