4 | | * voici la commande pour récupérer une version avec les accès en écriture sur le nouveau [[BR]] |
5 | | serveur subversion du modèle. Cela est possible si vous avez bien un login/mot de passe sur le serveur. [[BR]] |
6 | | Merci de bien faire attention à ne modifier que des sous-répertoires qui vous sont réservés. [[BR]] |
7 | | Le serveur étant globalement accessible en écriture. |
| 6 | * WARNING : this presentation has been updated the 1st of december, 2010 : |
| 7 | http://dods.ipsl.jussieu.fr/orchidee/Trac_Subversion_1.pdf |
| 8 | |
| 9 | == SVN commands == |
| 10 | |
| 11 | Please see TechnicalReports#a17112010 to understand SVN '''server tree and authorizations''' for ORCHIDEE. |
| 12 | |
| 13 | See this link : |
| 14 | {{{ |
| 15 | http://forge.ipsl.jussieu.fr/orchidee/browser |
| 16 | }}} |
| 17 | to watch the tree (only open directories). [[BR]] |
| 18 | You can use trunk dir or tags/ORCHIDEE_1_9_5. |
| 19 | |
| 20 | === Subversion server === |
| 21 | |
| 22 | ORCHIDEE default login/password is avaible to read trunk and all tags directories (sechiba/...). |
| 23 | |
| 24 | === Subversion by ssh === |
| 25 | |
| 26 | This is the old way to work on SVN for ORCHIDEE. |
| 27 | You can use it only if one admin of ORCHIDEE has given a login/password to you ! [[BR]] |
| 28 | Then, you will have an access to all versions of the model.[[BR]] |
| 29 | |
| 30 | This is '''strickly forbidden''' for simple ORCHIDEE developpers ! [[BR]] |
| 31 | |
| 32 | Thank's to modify only your own reserved branch by this way. [[BR]] |
| 33 | Because all the server will be accessible by this way. |
15 | | pour l'organisation des sous-répertoires. [[BR]] |
16 | | Vous pouvez essayer trunk et tags/ORCHIDEE_1_9_5. |
| 46 | You must change the right if it is not "drwx------" (but "drwxr-xr-x" for example), like this : |
| 47 | {{{ |
| 48 | /home/mylogin 2> chmod -R og-rx .subversion/ |
| 49 | }}} |
| 50 | because your ORCHIDEE svn password will be write in some subdir and it is not safe. |
| 51 | |
| 52 | Two config files are in this .subversion dir : |
| 53 | * config |
| 54 | * server |
| 55 | |
| 56 | For config file, you may want to save yours ORCHIDEE password in .subversion tree. |
| 57 | There will be no need to enter them again for each of your logins. You can switch on : |
| 58 | * store-passwords = yes |
| 59 | * store-auth-creds = yes |
| 60 | Please read the comment to be sure it is what you want ! |
| 61 | |
| 62 | For server file, you may want to bypass Subversion message about clearly saving the password. You can |
| 63 | switch on the store-plaintext-passwords option of groups section : |
| 64 | {{{ |
| 65 | [groups] |
| 66 | [...] |
| 67 | store-plaintext-passwords = yes |
| 68 | }}} |