Changes between Version 1 and Version 2 of doc/tec/developerrules/svnbranch


Ignore:
Timestamp:
Nov 12, 2018 11:04:14 AM (6 years ago)
Author:
westbrink
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/developerrules/svnbranch

    v1 v2  
    33== (1) Creating an svn branch ==
    44
    5 * abc
    6   * def
     5* Repository branch (only for admins)
     6  * @palm server: permissions to be set in /palmdata/conf/svn_authz file
     7  * svn copy https://palm.muk.uni-hannover.de/svn/palm/trunk https://palm.muk.uni-hannover.de/svn/palm/branches/<feature_name> -m "Branch for <feature_name> created."
     8  * (rename: svn move <path to old branch> <path to new branch> -m „...“)
    79
    8 {{{abc}}}
     10* Local branch copy (for developers)
     11  * Create local working directory where the local copy of branch <feature_name> is placed, we recommend: \\ mkdir -p ~/palm/branches \\ The directory branches is on the same level as the directory current_version, where the official PALM releases/revisions (trunk) should be located
     12  * You can browse your branch under https://palm.muk.uni-hannover.de/trac/browser/palm/branches
     13
     14== (2 a) Checkout of local branch copy ==
     15
     16* {{{cd $HOME/palm/branches/ }}}
     17* {{{ svn checkout --username <your PALM username> https://palm.muk.uni-hannover.de/svn/palm/branches/<feature_name>}}}
     18
     19== (2 b) Update of local branch copy ==
     20
     21If the local branch copy already exists, and you would like to update it with a newer svn revision of this branch:
     22
     23* {{{cd $HOME/palm/branches/}}}
     24* {{{svn update <feature_name>}}}
     25
     26You can also update/downdate to or checkout a specific revision:
     27
     28* {{{svn update -r<revision number> <feature_name>}}}
     29* {{{svn checkout -r<revision number> --username ... }}}
     30
     31== (3) Code development in local ... ==
     32
     33* __...'''svn''' branch copy__ \\ Versioning happens when commiting to the svn repository branch. With every commit, the PALM revision number is incremented.
     34* __...'''git''' branch copy__ \\ To avoid too numerous commits to the svn repository branch, local versioning could be done using git (→ follow steps on next slide)
     35
     36__'''NOTE'''__: As you know, in order to compile and run PALM, the PATH and PALM_BIN variables need to be set in your shell environment (e.g. .profile or .bashrc) as in this example:
     37
     38
     39
     40