= Welcome to the NEMO development area [[PageOutline(2-3)]] You should find here everything regarding the development and the support of the NEMO reference. == Prerequisites === Become a NEMO developer First and foremost, if you don't already have a user account then you have to '''[/register create it]'''. {{{#!td ==== For NEMO consortium members If you have a user account or had a developer account before, \\ see with your local NEMO Officer. {{{#!td {{{#!SQLTable SELECT value AS "Name" FROM session_attribute WHERE name IN ('name') AND sid IN (SELECT sid FROM session_attribute WHERE name = 'role' AND value = 'Officer') }}} }}} {{{#!td {{{#!SQLTable SELECT value AS "Office" FROM session_attribute WHERE sid IN (SELECT sid FROM session_attribute WHERE name = 'role' AND value = 'Officer') AND name = 'office' }}} }}} }}} {{{#!td ==== For external users Submit your contribution to the NEMO System Team by \\ creating a [/newticket?type=Enhancement ticket] where you will present your proposal. \\ __If your changes are quite modest (one or few routines involved), \\ you can simply attached in the ticket the output of \\ any third-party diff tool for easy patching with `svn patch`__. ''Keep in mind that, despite the help we can offer, a certain amount of \\ work from you will be need to implement \\ your developments into the source code''. }}} === Recommended development installation After the global reorganisation of the repository, it is now advisable to entirely download the new default development organisation in your local computing architecture: * [browser:/NEMO/trunk]: ''the main development branch'' * [browser:/NEMO/branches] * NEMO/branches/YYYY: ''yearly development branches intended to be merged into trunk by the end of the year'' * NEMO/branches/{NERC,UKMO}: ''restricted to British operational activities'' * [browser:/NEMO/releases]: ''all official NEMO releases'', '''only the last one is maintained''' Follow the steps below to install {{{#!sh svn co http://forge.ipsl.jussieu.fr/nemo/svn/NEMO/trunk [...] cd [...] svn sw --relocate http://forge.ipsl.jussieu.fr svn+ssh://'ID'@forge.ipsl.jussieu.fr/ipsl/forge/projets # Change from user to developer if you have svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette # Sette tool to validate your changes to the NEMO reference svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures ./doc/figures # Doc figures for building NEMO manual }}} The first checkout will be a bit longer than usual but the SVN commands will be much simpler: the branching operations will be done locally and pushed later to the repository instead of committing directly to the repository with former complex `svn+ssh` syntax. \\ See [wiki:/Developers/SVNHowTo#Basics SVN basics] for more. === New build of the working copy To 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. \\ We 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. 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)]])'''. \\ Here is an example which is not supposed to be up to date with the current external codes. {{{#!sh # Relative URL Path in WC Content ^/utils/build/arch'[@REV]' arch # FCM settings files for computing architectures ^/utils/build/makenemo'[@REV]' makenemo # Main script for building a NEMO configuration ^/utils/build/mk'[@REV]' mk # Sub-scripts and FCM inputs for compiling ^/utils/tools'[@REV]' tools # User tools ^/vendors/AGRIF/dev'[@REV]' ext/AGRIF # Dependency for nesting ^/vendors/FCM'[@REV]' ext/FCM # "" for source code compilation ^/vendors/IOIPSL'[@REV]' ext/IOIPSL # "" for IO management # '^' for repository root }}} ''If you have to modify these properties to get external modifications, you can learn how to update your working copy in [wiki:Developers/SVNHowTo]''. == Development activities Document your developments before coding by following the procedure described at [wiki:Developers/DevelopingCodeChanges] == Support [wiki:Developers/WorkingOnTickets] == Forums Discussion