Changes between Version 14 and Version 15 of Documentation/UserGuide/CommitOnTrunk
- Timestamp:
- 2020-02-28T10:39:46+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/CommitOnTrunk
v14 v15 1 1 [[PageOutline]] 2 = Commit on the trunk or a branch = 2 = Guidelines and help to commit on the trunk (or a branch) = 3 Author: B. Guenet[[BR]] 4 Last revision: 2020/02/28, B. Guenet 5 3 6 Here are some general guidelines for committing into the trunk ORCHIDEE. These recommendations can also be applied to branches and other versions under SVN control. 4 7 5 8 Before commit: 6 * the code must be conform to the ORCHIDEE coding guidelines 7 * update to latest version: the modifications must be integrated in the latest version of the trunk (use "svn update", or extract a new ORCHIDEE) 8 * the modifications must be tested on at least one platform using MPI parallelism (except if only comments are changed) 9 * check difference in results. The reason for a change in result must be known before the commit. If possible, avoid change in results. 9 * the code must be conform to the ORCHIDEE coding guidelines (Documentation/UserGuide/CodingGuidelines) 10 * update to latest version: the modifications must be integrated in the latest version of the trunk (use "svn update", or extract a new ORCHIDEE). Be sure that your original code is backup somewhere locally to avoid deleting developments during the update. 11 * if svn update induce some conflicts between your local version and the trunk version carefully check them and solve them manually if necessary. Don't forget then, once the conflicts are resolved, to do "svn resolved myfile.f90" 12 * the modifications must be tested on at least one platform using MPI parallelism (except if only comments are changed). This means that you should launch a test simulation on more than one processor. 13 * check difference in results from your history files. The reason for a change in result must be known before the commit. If possible, avoid change in results except if it was on purpose. 10 14 * communicate and/or be aware of the latest news in the ORCHIDEE core team. For example a colleague announced that she/he will make a commit, better wait or ask if you could commit before. 11 15 … … 13 17 * if the behaviour of the model change. For example: change in parameter name in getin function, change in default value for some parameters, etc.. 14 18 * if the interface towards the atmosphere is changed 15 * bigmodifications19 * structural modifications 16 20 17 21 During commit: 18 22 * a commit should only resolve one problem at a time, related to one ticket. 19 23 * write a useful log message in English 20 * use '''#X''' to refer to the ticket number X (the # will make a link directly to the ticket when visualizing the log message on the web)24 * Within this log message, use '''#X''' to refer to the ticket number X (the # will make a link directly to the ticket when visualizing the log message on the web) 21 25 22 26 After commit: