| 3 | |
| 4 | == How to get a branch or your SVN version easy ? == |
| 5 | |
| 6 | First you have to get the TOOLS directory of ORCHIDEE. Here is the alias you can add in your login-shell configuration file to do it easy : |
| 7 | {{{ |
| 8 | alias recup_TOOLS 'svn co svn://forge.ipsl.jussieu.fr/orchidee/trunk/TOOLS' |
| 9 | }}} |
| 10 | Then you can run it ! |
| 11 | {{{ |
| 12 | > recup_TOOLS |
| 13 | }}} |
| 14 | |
| 15 | After gets modipsl (see all IGCM courses for that - here I have named it MY_EXPERIENCE ) and go to util directory inside : |
| 16 | {{{ |
| 17 | > cd MY_EXPERIENCE/util |
| 18 | }}} |
| 19 | you can simply run the script '''recup_my_ORCHIDEE''' with the right arguments : |
| 20 | {{{ |
| 21 | > ../../TOOLS/recup_my_ORCHIDEE my_svn.login_name MY_BRANCHE_WORK MYMAIL@fr |
| 22 | }}} |
| 23 | It will modify ORCHIDEE_SVN_DEV configuration to be abble to get MY_BRANCHE_WORK of the SVN server with the login my_svn.login_name and |
| 24 | get you the right model you asked. After that, it will send you a mail on MYMAIL@fr. |
| 25 | |
| 26 | For example, I want to donwload ORCHIDEE_FM branch. I have the access to do so with the login toto.tata, my mail is my_mail@lsce.ipsl.fr, I will use : |
| 27 | {{{ |
| 28 | > ../../TOOLS/recup_my_ORCHIDEE toto.tata branches/ORCHIDEE_FM my_mail@lsce.ipsl.fr |
| 29 | }}} |
| 30 | It is very easy ! |
| 31 | |
| 32 | If I want to get my personnal directory, I can use : |
| 33 | {{{ |
| 34 | > ../../TOOLS/recup_my_ORCHIDEE toto.tata perso/toto.tata my_mail@lsce.ipsl.fr |
| 35 | }}} |
| 36 | |
| 37 | |