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 41 and Version 42 of Developers


Ignore:
Timestamp:
2018-06-04T22:10:56+02:00 (6 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers

    v41 v42  
    4646__If your changes are quite modest (one or few routines involved), \\ 
    4747you can simply attached in the ticket the output of \\ 
    48 any third-party diff tool for easy patching__. 
     48any third-party diff tool for easy patching with `svn patch`__. 
    4949 
    5050''Keep in mind that, despite the help we can offer, a certain amount of \\ 
     
    5555=== Recommended development installation 
    5656 
    57 After the global reorganisation of the repository, it is now advisable to entirely download the new default development organisation in your  
     57After the global reorganisation of the repository, it is now advisable to entirely download the new default development organisation in your local computing architecture: 
    5858* [browser:/NEMO/trunk]: ''the main development branch'' 
    5959* [browser:/NEMO/branches] 
     
    6262* [browser:/NEMO/releases]: ''all official NEMO releases'', '''only the last one is maintained''' 
    6363 
     64The first checkout will be a bit longer than usual but the SVN commands will be much simpler: the modifications will be done locally and not directly to the repository by committing with former complex `svn+ssh` syntax. See [wiki:/Developers/SVNHowTo#Basics SVN basics] for more. 
     65 
    6466{{{#!sh 
    65 # One step  method: download directly a copy with write access) or 
     67# One step  method: download directly a copy with write access or 
    6668svn co svn+ssh://"ID"@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO [...] 
    6769# Two steps method: download a read-only copy and switch to developer when  
    6870# * you have your developer access or 
    69 # * a backup of the work by committing to the repository is required 
     71# * a backup of the work is required by committing to the repository 
    7072svn co http://forge.ipsl.jussieu.fr/nemo/svn/NEMO  [...] 
    71 ... 
     73...... 
    7274svn sw --relocate http://forge.ipsl.jussieu.fr svn+ssh://"ID"@forge.ipsl.jussieu.fr/ipsl/forge/projets 
    7375}}} 
    7476 
    75 ===  
     77=== New build of the working copy 
    7678 
    77 If needed, you can learn the new [wiki:Developers/SVN_HowTo SVN basics] to work with the repository.  
     79To facilitate the development work by simplifying the management and the sharing of the code in the repository, while ensuring the consistency of the working copies, we have introduced the [http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html SVN externals definitions] in the building of the working copies. \\ 
     80We have identified the core code and the complementary codes of NEMO, the latter which is developing less rapidly than the NEMO core has been extracted from the development organisation of the repository (`branches` / `releases` / `trunk`) to different locations of the repository. 
     81 
     82From now on, a working copy of the NEMO reference is the summation of few checkouts from different sources defined by the `svn:externals` properties of the working copy. \\ 
     83Here is  
     84 
     85{{{#!sh 
     86# Relative URL                  
     87# '^' for repository root 
     88^/utils/build/arch"[@REV]"     arch       # FCM configuration file for generic computing architectures 
     89^/utils/build/makenemo"[@REV]" makenemo   # Bash main script for building a NEMO configuration 
     90^/utils/build/mk"[@REV]"       mk         # Bash sub-scripts and FCM input files for compiling 
     91^/utils/tools"[@REV]"          tools      # User tools 
     92^/vendors/AGRIF/dev"[@REV]"    ext/AGRIF  # NEMO dependency for nesting 
     93^/vendors/FCM"[@REV]"          ext/FCM    #  ""      ""     for source code compilation 
     94^/vendors/IOIPSL"[@REV]"       ext/IOIPSL #  ""      ""     for IO management 
     95}}} 
     96 
     97If you have to modify these properties in your working copy, you can learn the new [wiki:Developers/SVNHowTo SVN basics] to work with the repository.  
    7898 
    7999== Development activities