Whamcloud - gitweb
LU-6833 build: gerrit_checkpatch.py improvements 60/15560/4
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 10 Jul 2015 13:51:39 +0000 (08:51 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 31 Jul 2015 01:34:24 +0000 (01:34 +0000)
commit1c1ea56c02631f1df6a85e19f800ed5c097d69fd
treea292f2487c47a6c6c7519a51a5dbc9ef73de75a0
parent2e0d4e010eb4c2e28507f55c1b649d70bccd06a0
LU-6833 build: gerrit_checkpatch.py improvements

In contrib/scripts/gerrit_checkpatch.py:
  Add LASSERT and LCONSOLE, to the list of ignored types.
  Use a 60 second HTTP request timeout to avoid hangs.
  Catch any Exception around HTTP methods.
  Refactor some methods for to facilitate unit testing.
  Add timestamps to log messages.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ic8ddf815e58744af1cfa5a03986d869b790d91ae
Reviewed-on: http://review.whamcloud.com/15560
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/scripts/gerrit_checkpatch.py