User Tools

Site Tools


devel:git-commit-guidelines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
devel:git-commit-guidelines [2018/03/12 13:02]
miconda [Generic Guidelines]
devel:git-commit-guidelines [2018/03/12 13:03]
miconda [Generic Guidelines]
Line 166: Line 166:
   * do the commits per one module when changing in a module and other modules are affected and were updates as well   * do the commits per one module when changing in a module and other modules are affected and were updates as well
   * when updating the documentation and it is intended to do a backport, split the commit in one for xml files and one for the README file. Usually the commit to xml files can be backported without conflict (with git cherry-pick ...). README files are many times generated with different character sets, a matter of the system where they are generated, resulting in backporting conflicts. Thus is better to backport only the commit for xml files and generate the README for that branch, then push it to remote GIT repository   * when updating the documentation and it is intended to do a backport, split the commit in one for xml files and one for the README file. Usually the commit to xml files can be backported without conflict (with git cherry-pick ...). README files are many times generated with different character sets, a matter of the system where they are generated, resulting in backporting conflicts. Thus is better to backport only the commit for xml files and generate the README for that branch, then push it to remote GIT repository
-    * **IMPORTANT**: the README of the modules must not be generated by the developer and pushed to GIT. There is a tool running on server auto-generating the README shortly after the xml files of module's docs are updated and pushed to GIT repository+    * **IMPORTANT**: the README files for modules must no longer be generated by the developer and pushed to GIT. There is a tool running on server auto-generating the README file shortly after the xml files of the module's docs are updated and pushed to GIT repository
   * if it is a change that has to be repeated in many places, then the commit can be done at once to all changes. For example, renaming a token that is present in all docbook files, removing or adding a new field in a structure such as module exports.   * if it is a change that has to be repeated in many places, then the commit can be done at once to all changes. For example, renaming a token that is present in all docbook files, removing or adding a new field in a structure such as module exports.
  
devel/git-commit-guidelines.txt ยท Last modified: 2018/10/24 22:33 by henningw