Changes between Version 56 and Version 57 of Developers
- Timestamp:
- 2018-06-25T17:51:17+02:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers
v56 v57 26 26 27 27 {{{#!sh 28 #---------------------------------------------------------------------------------- 29 ## To do the first time 30 #---------------------------------------------------------------------------------- 28 31 ## Create a void NEMO development organisation (trunk + branches + releases) 29 svn co --depth immediates http://forge.ipsl.jussieu.fr/nemo/svn/NEMO/ dev_orga30 cd dev_orga32 svn co --depth immediates http://forge.ipsl.jussieu.fr/nemo/svn/NEMO/ NEMO_dev 33 cd NEMO_dev 31 34 32 35 ## 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/projets36 svn sw --relocate http://forge.ipsl.jussieu.fr \ 37 svn+ssh://${ID}@forge.ipsl.jussieu.fr/ipsl/forge/projets 35 38 ## 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.fr39 ssh-copy-id -i ~/ssh/id_rsa.pub ${ID}@forge.ipsl.jussieu.fr 37 40 38 41 ## Get the current directory tree under 'branches' … … 41 44 svn up --set-depth infinity trunk 42 45 46 #---------------------------------------------------------------------------------- 47 ## To repeat for each development branch 48 #---------------------------------------------------------------------------------- 43 49 ## Create your development branch locally 44 50 svn 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) 52 svn pedit svn:externals branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 53 ## Then push it to the repository 46 54 svn commit [-m 'log message'] branches/$year/'dev_r'${PEGREV}_${NameOfNewBranch} 47 55 … … 51 59 svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/CI/sette 52 60 ## Doc figures for building NEMO manual (not mandatory) 53 svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures ./doc/figures61 svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures ./doc/figures 54 62 }}} 55 63 … … 61 69 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. 62 70 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)]])'''. \\71 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(${, #AA22FF)]][[Color(PEGREV, #B8860B)]][[Color(}, #AA22FF)]])'''. \\ 64 72 Here is an example which is not supposed to be up to date with the current external codes. 65 73 66 74 {{{#!sh 67 # Relative URL Path in WC Content68 ^/utils/build/arch[@$ REV] arch # FCM settings files for computing architectures69 ^/utils/build/makenemo[@$ REV] makenemo # Main script for building a NEMO configuration70 ^/utils/build/mk[@$ REV] mk # Sub-scripts and FCM inputs for compiling71 ^/utils/tools[@$ REV] tools # User tools72 ^/vendors/AGRIF/dev[@$ REV] ext/AGRIF # Dependency for nesting73 ^/vendors/FCM[@$ REV] ext/FCM # "" for source code compilation74 ^/vendors/IOIPSL[@$ REV] ext/IOIPSL # "" for IO management75 # 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 75 83 # '^' for repository root 76 84 }}}