a6464b7ffd
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> |
||
---|---|---|
.. | ||
check_lint_tests | ||
checkpatch.pl | ||
checkpatch_json.py | ||
const_structs.checkpatch | ||
kconfig_lint | ||
kconfig_lint_README | ||
lint | ||
lint-000-license-headers | ||
lint-001-no-global-config-in-romstage | ||
lint-007-checkpatch | ||
lint-008-kconfig | ||
lint-014-qualified-types | ||
lint-016-non-ascii | ||
lint-extended-007-checkpatch | ||
lint-extended-015-final-newlines | ||
lint-extended-020-signed-off-by | ||
lint-stable-000-license-headers | ||
lint-stable-003-whitespace | ||
lint-stable-004-style-labels | ||
lint-stable-005-board-status | ||
lint-stable-006-board-name | ||
lint-stable-008-kconfig | ||
lint-stable-009-old-licenses | ||
lint-stable-010-asm-syntax | ||
lint-stable-012-executable-bit | ||
lint-stable-013-site-local | ||
lint-stable-017-configs | ||
lint-stable-018-symlinks | ||
lint-stable-019-header-files | ||
lint-stable-021-coreboot-lowercase | ||
remccoms3.sed | ||
spelling.txt |