Changes between Initial Version and Version 1 of doc/tec/developerrules


Ignore:
Timestamp:
Sep 15, 2010 1:31:53 PM (15 years ago)
Author:
raasch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified doc/tec/developerrules

    v1 v1  
     1= How to change the source code and how to document modifications =
     2
     3Only authorized users are allowed to commit changes to the repository. Rules given below are still preliminary (Sep 2010) and may undergo future changes.
     4
     5   1. Change source code in your current working copy. Document changes in the respective file headers unter "{{{Current revisions:}}}". Additionally, document all changes in a local file (e.g. {{{~/palm/current_version/CURRENT_MODIFICATIONS}}}), including the files that have been changed. Classify changes in three cases, new (N), changed (C), and bugfix (B). Try to be as short and as precise as possible in describing the changes! [[BR]] [[BR]]
     6   2. Test the changed version, unless it works sufficiently. [[BR]] [[BR]]
     7   3. Commit the changes to the repository
     8      {{{
     9         svn commit -m "message string" trunk
     10      }}}
     11      where {{{"message string"}}} is a short, meaningful summary of the changes. [[BR]] [[BR]]
     12      Alternatively, in case that you have made quite a lot of changes, you can also give the contents of your file {{{CURRENT_MODIFICATIONS}}} as the log message:
     13      {{{
     14         svn commit -F CURRENT_MODIFICATIONS trunk
     15      }}} [[BR]] [[BR]]
     16   4. Enter the changes into the change log ([wiki:doc/tec/changelog]). [[BR]] [[BR]]
     17   5. Move the change comments in the file headers from {{{"Current revisions:"}}} to {{{"Former revisions:"}}}. Set the current svn id in front of that. [[BR]] [[BR]]
     18      Example:  [[BR]] [[BR]]
     19      before move:
     20      {{{
     21      ! Current revisions:
     22      ! -----------------
     23      ! new dummy argument abcd
     24      !
     25      ! Former revisions:
     26      ! -----------------
     27      ! $Id: init_3d_model.f90 425 2010-02-06 13:37:48Z raasch $
     28      !
     29      ! 407 2009-12-01 15:01:15Z maronga
     30      ! var_ts is replaced by dots_max
     31      }}} [[BR]] [[BR]]
     32      after move:
     33      {{{
     34      ! Current revisions:
     35      ! -----------------
     36      !
     37      !
     38      ! Former revisions:
     39      ! -----------------
     40      ! $Id: init_3d_model.f90 425 2010-02-06 13:37:48Z raasch $
     41      !
     42      ! 425 2010-02-06 13:37:48Z raasch
     43      ! new dummy argument abcd
     44      !
     45      ! 407 2009-12-01 15:01:15Z maronga
     46      ! var_ts is replaced by dots_max
     47      }}}  [[BR]] [[BR]]
     48   6. Commit the changes in the technical documentation and the file headers:
     49      {{{
     50         svn commit -m "last commit documented" trunk
     51      }}}