Skip to content
Michel Pawlak edited this page Mar 14, 2017 · 3 revisions

Overview

  • when committing new files to the codebase, run the command that adds missing license headers (see below)
  • use wellformed commit messages (see below)
  • if possible do not mix quality improvement commits with functional modifications commits

Adding missing license headers

When adding new files, the have Maven build won't pass if they don't include expected license headers. All QualInsight projects are configured in order to ease the task of adding missing license headers. All you have to do is to run the following command:

mvn license:format

What is a "wellformed commit message" ?

A wellformed commit message respects this template: <imperative verb> <concise subject> #<issue id>.

Examples:

improve documentation #12
add unit tests #12
lower method complexity #12

Please avoid this kind of commit message:

I improved the documentation
#12
unit tests
#12 lower method complexity

Table of Content

Clone this wiki locally