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 (diff) – NEMO

Changes between Version 56 and Version 57 of Developers


Ignore:
Timestamp:
2018-06-25T17:51:17+02:00 (4 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers

    v56 v57  
    2626 
    2727{{{#!sh 
     28#---------------------------------------------------------------------------------- 
     29## To do the first time 
     30#---------------------------------------------------------------------------------- 
    2831## Create a void NEMO development organisation (trunk + branches + releases) 
    29 svn co --depth immediates http://forge.ipsl.jussieu.fr/nemo/svn/NEMO/ dev_orga 
    30 cd dev_orga 
     32svn co --depth immediates http://forge.ipsl.jussieu.fr/nemo/svn/NEMO/ NEMO_dev 
     33cd NEMO_dev 
    3134 
    3235## Switch from user to developer role if you have the rights by changing the URL scheme 
    33 svn sw --relocate    http://forge.ipsl.jussieu.fr                           \ 
    34                   svn+ssh://$ID@forge.ipsl.jussieu.fr/ipsl/forge/projets 
     36svn sw --relocate    http://forge.ipsl.jussieu.fr                          \ 
     37                  svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets 
    3538## Copy your SSH key to your account on the Forge server to avoid repeated password requests 
    36 ssh-copy-id -i ~/ssh/id_rsa.pub $ID@forge.ipsl.jussieu.fr 
     39ssh-copy-id -i ~/ssh/id_rsa.pub ${ID}@forge.ipsl.jussieu.fr 
    3740 
    3841## Get the current directory tree under 'branches' 
     
    4144svn up --set-depth infinity   trunk 
    4245 
     46#---------------------------------------------------------------------------------- 
     47## To repeat for each development branch 
     48#---------------------------------------------------------------------------------- 
    4349## Create your development branch locally 
    4450svn copy trunk[@${PEGREV}]    branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
    45 ## And push it to the repository 
     51## If needed, edit the external references (${SVN_EDITOR} env. variable must be set) 
     52svn pedit svn:externals       branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
     53## Then push it to the repository 
    4654svn commit [-m 'log message'] branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
    4755 
     
    5159svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette 
    5260## Doc figures for building NEMO manual (not mandatory) 
    53 svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures ./doc/figures  
     61svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ./doc/figures 
    5462}}} 
    5563 
     
    6169We have identified the core code and the complementary codes of NEMO, the latter which are developing less rapidly have been extracted from the default development organisation of the repository (`branches` / `releases` / `trunk`) to different locations of the repository. 
    6270 
    63 From now on, a working copy of the NEMO reference (WC) is the summation of few checkouts from different sources defined by the `svn:externals` properties of the working copy. '''To be conservative, all externals definitions are fixed by default ([[Color('@REV', #BB4444)]])'''. \\ 
     71From now on, a working copy of the NEMO reference (WC) is the summation of few checkouts from different sources defined by the `svn:externals` properties of the working copy. '''To be conservative, all externals definitions are fixed by default (@[[Color(${, #AA22FF)]][[Color(PEGREV, #B8860B)]][[Color(}, #AA22FF)]])'''. \\ 
    6472Here is an example which is not supposed to be up to date with the current external codes. 
    6573 
    6674{{{#!sh 
    67 # Relative URL                Path in WC   Content 
    68 ^/utils/build/arch[@$REV]     arch         # FCM settings files for computing architectures 
    69 ^/utils/build/makenemo[@$REV] makenemo     # Main script for building a NEMO configuration 
    70 ^/utils/build/mk[@$REV]       mk           # Sub-scripts and FCM inputs for compiling 
    71 ^/utils/tools[@$REV]          tools        # User tools 
    72 ^/vendors/AGRIF/dev[@$REV]    ext/AGRIF    # Dependency for nesting 
    73 ^/vendors/FCM[@$REV]          ext/FCM      #     ""     for source code compilation 
    74 ^/vendors/IOIPSL[@$REV]       ext/IOIPSL   #     ""     for IO management 
     75# Relative URL                     Path in WC   Content 
     76^/utils/build/arch[@${PEGREV}]     arch         # FCM settings files for computing architectures 
     77^/utils/build/makenemo[@${PEGREV}] makenemo     # Main script for building a NEMO configuration 
     78^/utils/build/mk[@${PEGREV}]       mk           # Sub-scripts and FCM inputs for compiling 
     79^/utils/tools[@${PEGREV}]          tools        # User tools 
     80^/vendors/AGRIF/dev[@${PEGREV}]    ext/AGRIF    # Dependency for nesting 
     81^/vendors/FCM[@${PEGREV}]          ext/FCM      #     ""     for source code compilation 
     82^/vendors/IOIPSL[@${PEGREV}]       ext/IOIPSL   #     ""     for IO management 
    7583# '^' for repository root 
    7684}}}