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 57 and Version 58 of Developers


Ignore:
Timestamp:
2018-06-25T23:47:33+02:00 (6 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers

    v57 v58  
    2525Follow the steps below to download the recommended development installation 
    2626 
    27 {{{#!sh 
    28 #---------------------------------------------------------------------------------- 
    29 ## To do the first time 
    30 #---------------------------------------------------------------------------------- 
    31 ## Create a void NEMO development organisation (trunk + branches + releases) 
    32 svn co --depth immediates http://forge.ipsl.jussieu.fr/nemo/svn/NEMO/ NEMO_dev 
    33 cd NEMO_dev 
    34  
    35 ## Switch from user to developer role if you have the rights by changing the URL scheme 
    36 svn sw --relocate    http://forge.ipsl.jussieu.fr                          \ 
    37                   svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets 
    38 ## Copy your SSH key to your account on the Forge server to avoid repeated password requests 
    39 ssh-copy-id -i ~/ssh/id_rsa.pub ${ID}@forge.ipsl.jussieu.fr 
    40  
    41 ## Get the current directory tree under 'branches' 
    42 svn up --set-depth immediates branches 
    43 ## Download the trunk, the same procedure can be used for any sub-content (release, dev branch) 
    44 svn up --set-depth infinity   trunk 
    45  
    46 #---------------------------------------------------------------------------------- 
    47 ## To repeat for each development branch 
    48 #---------------------------------------------------------------------------------- 
    49 ## Create your development branch locally 
    50 svn copy trunk[@${PEGREV}]    branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
    51 ## If needed, edit the external references (${SVN_EDITOR} env. variable must be set) 
    52 svn pedit svn:externals       branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
    53 ## Then push it to the repository 
    54 svn commit [-m 'log message'] branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
    55  
    56 cd branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 
    57  
    58 ## Download sette tool to validate your changes to the NEMO reference 
    59 svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette 
    60 ## Doc figures for building NEMO manual (not mandatory) 
    61 svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures  ./doc/figures 
    62 }}} 
     27[[Include(wiki:Developers/WorkingEnvironment)]] 
    6328 
    6429See [wiki:/Developers/SVNHowTo#Basics SVN basics] for more. 
     
    7237Here is an example which is not supposed to be up to date with the current external codes. 
    7338 
    74 {{{#!sh 
    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 
    83 # '^' for repository root 
    84 }}} 
     39[[Include(wiki:Developers/ExternalDefinitions)]] 
    8540 
    8641''If you have to modify these properties to get external modifications, you can learn how to update your working copy in [wiki:Developers/SVNHowTo]''.