Changes between Version 3 and Version 4 of Documentation/UserGuide/svnmore


Ignore:
Timestamp:
2010-12-01T10:15:04+01:00 (14 years ago)
Author:
mmaipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/svnmore

    v3 v4  
    11= Subversion server for orchidee = 
    2  * Presentation on Trac and Subversion give monday, the 22th of november, 2010 in [[BR]]  
     2 
     3== Presentation on Trac and Subversion == 
     4 * From Martial's meeting give monday, the 22th of november, 2010 in [[BR]]  
    35http://dods.ipsl.jussieu.fr/orchidee/Trac_Subversion.pdf 
    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 : 
     7http://dods.ipsl.jussieu.fr/orchidee/Trac_Subversion_1.pdf 
     8 
     9== SVN commands == 
     10 
     11Please see  TechnicalReports#a17112010 to understand SVN '''server tree and authorizations''' for ORCHIDEE. 
     12 
     13See this link : 
     14{{{ 
     15http://forge.ipsl.jussieu.fr/orchidee/browser 
     16}}} 
     17to watch the tree (only open directories). [[BR]] 
     18You can use trunk dir or tags/ORCHIDEE_1_9_5. 
     19 
     20=== Subversion server === 
     21 
     22ORCHIDEE default login/password is avaible to read trunk and all tags directories (sechiba/...). 
     23 
     24=== Subversion by ssh === 
     25 
     26This is the old way to work on SVN for ORCHIDEE. 
     27You can use it only if one admin of ORCHIDEE has given a login/password to you ! [[BR]] 
     28Then, you will have an access to all versions of the model.[[BR]] 
     29 
     30This is '''strickly forbidden''' for simple ORCHIDEE developpers ! [[BR]] 
     31 
     32Thank's to modify only your own reserved branch by this way. [[BR]] 
     33Because all the server will be accessible by this way. 
    834{{{ 
    935svn co svn+ssh://my_forge_login@forge.ipsl.jussieu.fr/ipsl/forge/projets/orchidee/svn/[trunk|tags|branches|perso] 
    1036}}} 
    11 Voir le lien suivant : 
     37 
     38== SVN Config files == 
     39 
     40They are in ~/.subversion directory. This directory must be open only for you ! as in [[BR]] 
    1241{{{ 
    13 http://forge.ipsl.jussieu.fr/orchidee/browser 
     42/home/mylogin 2> ls -la .subversion/ 
     43total 104 
     44drwx------   3 mylogin mygroup  4096 2010-12-01 09:47 . 
    1445}}} 
    15 pour l'organisation des sous-répertoires. [[BR]] 
    16 Vous pouvez essayer trunk et tags/ORCHIDEE_1_9_5. 
     46You 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}}} 
     50because your ORCHIDEE svn password will be write in some subdir and it is not safe. 
     51 
     52Two config files are in this .subversion dir : 
     53 * config 
     54 * server 
     55 
     56For config file, you may want to save yours ORCHIDEE password in .subversion tree. 
     57There 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 
     60Please read the comment to be sure it is what you want ! 
     61 
     62For server file, you may want to bypass Subversion message about clearly saving the password. You can 
     63switch on the store-plaintext-passwords option of groups section :  
     64{{{ 
     65[groups] 
     66[...] 
     67store-plaintext-passwords = yes 
     68}}}