coreboot-kgpe-d16/util/lint
Naresh G Solanki a6464b7ffd util/lint: Generate json output from checkpatch output
checkpatch_json.py processes the output of checkpatch.pl &
generates json format output of comments.

This json format output can be used to post comment on particular
CL using gerrit.

BUG=None
BRANCH=None
TEST= Run following commands:
1. Capture output of checkpatch.pl to file say checkpatch.txt
nice -n 20 git diff HEAD~ | util/lint/checkpatch.pl --no-signoff -q - |
tee checkpatch.txt
2. Generate json format file for the output.
util/lint/checkpatch_json.py checkpatch.txt comment.json
3. Post the comment.json using gerrit
ssh  coreboot.org gerrit review  -j  "<CL number>,<patchset number>"  < comment.json

Change-Id: I2471792796ab8e7d9855a6559fc731345ebd1525
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/23429
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-04-09 08:18:43 +00:00
..
check_lint_tests
checkpatch.pl util/lint/checkpatch.pl: Untaint filename 2018-01-29 15:34:59 +00:00
checkpatch_json.py util/lint: Generate json output from checkpatch output 2018-04-09 08:18:43 +00:00
const_structs.checkpatch util/lint: Update checkpatch & files to upstream linux 2017-06-29 14:42:26 +00:00
kconfig_lint util/lint: update kconfig_lint 2017-07-18 19:08:42 +00:00
kconfig_lint_README util/lint/kconfig_lint: update help checking 2017-06-07 23:12:40 +02:00
lint Makefile.inc: lint: Update to run lint-extended scripts 2017-08-14 18:05:41 +00:00
lint-000-license-headers util/lint: Check license headers of git hooks 2018-01-10 09:50:37 +00:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch util/lint: Don't run checkpatch on the documentation 2017-04-24 19:18:06 +02:00
lint-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-014-qualified-types util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-016-non-ascii util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-extended-007-checkpatch util/lint: add extended stable checkpatch for testing 2017-08-14 18:05:02 +00:00
lint-extended-015-final-newlines util/lint: Apply `final newlines` check to scripts 2018-01-26 17:28:16 +00:00
lint-extended-020-signed-off-by util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-000-license-headers util/lint: Update license header lint scripts 2017-08-10 15:53:17 +00:00
lint-stable-003-whitespace util/lint: ignore some more binary file types 2017-05-25 23:04:29 +02:00
lint-stable-004-style-labels util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-009-old-licenses Add minimal GNAT run time system (RTS) 2016-09-19 11:14:49 +02:00
lint-stable-010-asm-syntax util/lint: exclude patch files from asm syntax check 2017-07-21 15:55:21 +00:00
lint-stable-012-executable-bit lint-stable: Only check files tracked by git (ie source files) for +x 2017-12-05 15:04:11 +00:00
lint-stable-013-site-local util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-017-configs util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-018-symlinks util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-019-header-files util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-021-coreboot-lowercase util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
remccoms3.sed
spelling.txt util/lint: update checkpatch & spelling.txt to upstream versions 2017-09-20 01:28:13 +00:00