From: Thanh Ha Date: Fri, 10 Mar 2017 16:49:47 +0000 (-0500) Subject: Disable GitCommit check for some patterns X-Git-Tag: release/boron-sr3~89^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=bb52124581754418cbecad2a6e16d56e6ded0d6a;p=releng%2Fbuilder.git Disable GitCommit check for some patterns Some patterns can be long such as: - Sign-off-by when someone has a long name - http / https URLs Change-Id: Ie5401a116de9599aaf85b91e63e1522d962c8e1a Signed-off-by: Thanh Ha --- diff --git a/.coafile b/.coafile index 945b4eab8..8bf881089 100644 --- a/.coafile +++ b/.coafile @@ -1,11 +1,20 @@ [default] -bears = SpaceConsistencyBear,GitCommitBear +bears = SpaceConsistencyBear files = scripts/* allow_trailing_whitespace = False enforce_newline_at_EOF = True indent_size = 4 use_spaces = yeah +[GitCommit] +bears = GitCommitBear +ignore_length_regex = Signed-off-by, + Also-by, + Co-authored-by, + http://, + https:// + + [YAML] bears = YAMLLintBear files = jjb/**/*.yaml,openstack-hot/**/*.yaml