Version 4 (modified by mmaipsl, 13 years ago) (diff) |
---|
Subversion server for orchidee
Presentation on Trac and Subversion
- From Martial's meeting give monday, the 22th of november, 2010 in
http://dods.ipsl.jussieu.fr/orchidee/Trac_Subversion.pdf
- WARNING : this presentation has been updated the 1st of december, 2010 :
http://dods.ipsl.jussieu.fr/orchidee/Trac_Subversion_1.pdf
SVN commands
Please see TechnicalReports#a17112010? to understand SVN server tree and authorizations for ORCHIDEE.
See this link :
http://forge.ipsl.jussieu.fr/orchidee/browser
to watch the tree (only open directories).
You can use trunk dir or tags/ORCHIDEE_1_9_5.
Subversion server
ORCHIDEE default login/password is avaible to read trunk and all tags directories (sechiba/...).
Subversion by ssh
This is the old way to work on SVN for ORCHIDEE.
You can use it only if one admin of ORCHIDEE has given a login/password to you !
Then, you will have an access to all versions of the model.
This is strickly forbidden for simple ORCHIDEE developpers !
Thank's to modify only your own reserved branch by this way.
Because all the server will be accessible by this way.
svn co svn+ssh://my_forge_login@forge.ipsl.jussieu.fr/ipsl/forge/projets/orchidee/svn/[trunk|tags|branches|perso]
SVN Config files
They are in ~/.subversion directory. This directory must be open only for you ! as in
/home/mylogin 2> ls -la .subversion/ total 104 drwx------ 3 mylogin mygroup 4096 2010-12-01 09:47 .
You must change the right if it is not "drwx------" (but "drwxr-xr-x" for example), like this :
/home/mylogin 2> chmod -R og-rx .subversion/
because your ORCHIDEE svn password will be write in some subdir and it is not safe.
Two config files are in this .subversion dir :
- config
- server
For config file, you may want to save yours ORCHIDEE password in .subversion tree. There will be no need to enter them again for each of your logins. You can switch on :
- store-passwords = yes
- store-auth-creds = yes
Please read the comment to be sure it is what you want !
For server file, you may want to bypass Subversion message about clearly saving the password. You can switch on the store-plaintext-passwords option of groups section :
[groups] [...] store-plaintext-passwords = yes