Changes between Version 20 and Version 21 of doc/tec/developerrules


Ignore:
Timestamp:
Feb 1, 2018 12:17:09 PM (7 years ago)
Author:
kanani
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/developerrules

    v20 v21  
    11= How to change and commit the source code and how to document modifications =
    2 [[NoteBox(note,Please note that the change-and-commit procedure has changed with revision r2235)]]
    3 
    4 Strict rules apply to formatting of the PALM FORTRAN code. These rules are outlined in the [attachment:PALM_coding_standard.docx PALM coding standard document].
    52
    63Only authorized users are allowed to commit changes to the repository.
    74
    8    1. Change source code in your current working copy. Document all changes in the respective file headers under "{{{Current revisions:}}}". Additionally, all changes might be documented in a local file (e.g. {{{~/palm/current_version/CURRENT_MODIFICATIONS}}}), including the names of those 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]]
    9    2. Test the changed version, until it works sufficiently. Starting with revision r2347 the script {{{testsuite}}} is available which can be used to test the current state of the trunk. Starting with r2515 the script {{{palmtest}}} supersedes {{{testsuite}}}. [[BR]] [[BR]]
    10    3. Run the script document_changes to save the change comments ('''NOT''' for [attachment:howto_svn_branches.pdf branches]). After having made your changes in the source code, simply call
     5'''1. Make sure your code complies to the [attachment:PALM_coding_standard.docx PALM coding standard].''' Strict rules apply to formatting of the PALM FORTRAN code.  [[BR]] [[BR]]
     6'''2. Change source code in your current working copy and document all changes in the respective file headers''' under "{{{Current revisions:}}}". Additionally, all changes might be documented in a local file (e.g. {{{~/palm/current_version/CURRENT_MODIFICATIONS}}}), including the names of those 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]]
     7'''3. Test the changed version, until it works sufficiently.''' Starting with r2515 the script {{{palmtest}}} is available which can be used to test the current state of the trunk ([wiki:doc/tec/testsuite details] about palmtest). [[BR]] [[BR]]
     8'''4. Run the script document_changes to save the change comments''' ('''NOT''' for [attachment:howto_svn_branches.pdf branches]). After having made your changes in the source code, simply call
    119      {{{
    1210         document_changes trunk
     
    4846
    4947
    50    4. Commit the changes to the repository
     48'''5. Commit the changes to the repository'''
    5149      {{{
    5250         svn commit -m "message string" trunk
     
    5957      The id tag in the modified source code will change accordingly.
    6058
    61    5. Enter the changes into the change log ([wiki:/doc/tec/changelog]). [[BR]] [[BR]]
     59'''6. Enter the changes into the change log''' ([wiki:/doc/tec/changelog]). [[BR]] [[BR]]
    6260
    6361= How to work with svn branches =