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)]] |
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)]] |