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> |
||
---|---|---|
.. | ||
abuild | ||
acpi | ||
amdfwtool | ||
amdtools | ||
archive | ||
arm_boot_tools/mksunxiboot | ||
autoport | ||
bimgtool | ||
bincfg | ||
board_status | ||
broadcom | ||
cbfstool | ||
cbmem | ||
checklist | ||
chromeos | ||
crossgcc | ||
docker | ||
dtd_parser | ||
ectool | ||
exynos | ||
futility | ||
fuzz-tests | ||
genbuild_h | ||
genprof | ||
gitconfig | ||
hugo | ||
ifdfake | ||
ifdtool | ||
intelmetool | ||
inteltool | ||
intelvbttool | ||
ipqheader | ||
k8resdump | ||
kbc1126 | ||
kconfig | ||
lint | ||
marvell | ||
me_cleaner | ||
mma | ||
msrtool | ||
mtkheader | ||
nvidia | ||
nvramtool | ||
optionlist | ||
post | ||
release | ||
riscvtools | ||
rockchip | ||
romcc | ||
sconfig | ||
scripts | ||
showdevicetree | ||
spkmodem_recv | ||
superiotool | ||
testing | ||
uio_usbdebug | ||
vgabios | ||
viatool | ||
x86 | ||
xcompile |