Changes between Version 6 and Version 7 of Documentation/UserGuide/svnBranchePerso


Ignore:
Timestamp:
2019-07-22T16:07:46+02:00 (5 years ago)
Author:
ajornet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/svnBranchePerso

    v6 v7  
    4141If you have a login to the machine forge where the wiki and svn of ORCHIDEE are stored, you can visualize your account at forge: [https://forge.ipsl.jussieu.fr/orchidee/browser/perso]. 
    4242Ask for an account on forge using the email list orchidee-help. This login can be used to modify the wiki, to create and comment tickets and to vizualize your personal folder as well as all branches you have access to.  
     43 
     44== Starting from zero == 
     45 
     46This small guide explains how to properly commit your Orchidee source code into the Subversion for the first time. 
     47 
     48If you follow this guide, then the subversion will properly keep track of the modifications done in the code (what you see in svn log). 
     49 
     501. Create a new perso folder in the Subversion to place your files: [wiki:svnBranchePerso#Createyourpersonalfolder Check here] 
     51 
     522. Copy your starting Orchidee version (e.g: orchidee-som revision 5054) to your perso folder (in server).  
     53 
     54{{{ 
     55svn copy -c 5054 svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE-SOM/ORCHIDEE svn://forge.ipsl.jussieu.fr/orchidee/perso/haicheng.zhang/ORCHIDEE-MUSLE -m "Branch: some decription here" 
     56}}} 
     57 
     58This step is specially important because it will allow the svn to keep track of any modification done in the code. 
     59 
     603. Download the code from the server to your local machine: 
     61 
     62{{{ 
     63svn co svn://forge.ipsl.jussieu.fr/orchidee/perso/haicheng.zhang/ORCHIDEE-MUSLE ORCHSVN-MUSLE 
     64}}} 
     65 
     664. Bring all the modifications from your code (in local) to the downloaded folder ORCHSVN-MUSLE (in local) 
     67 
     68{{{ 
     69cd ORCHSVN-MUSLE 
     70 
     71cp /YOUR/ORCH/FOLDER/src_stomate/*90 src_stomate/ 
     72 
     73cp /YOUR/ORCH/FOLDER/src_sechiba/*90 src_sechiba/ 
     74 
     75cp /YOUR/ORCH/FOLDER/src_global/*90 src_global/ 
     76 
     77cp /YOUR/ORCH/FOLDER/src_xml/*xml src_xml/ 
     78 
     79... 
     80}}} 
     81 
     82For all the src_ folders. Make sure to procede this way to not mess it up with some hidden files. 
     83 
     845. Tell subversion there are new files (if applies) 
     85 
     86{{{ 
     87svn add src_somewhere/newfile.f90 -m "New: some explanation here" 
     88}}} 
     89 
     906. Send the modifications done to the code to the server 
     91 
     92{{{ 
     93svn commit -m "New: add some message here" 
     94}}} 
     95 
     96