summaryrefslogtreecommitdiffstats
path: root/documentation/set_versions.py
diff options
context:
space:
mode:
authorMarta Rybczynska <rybczynska@gmail.com>2022-03-29 14:54:31 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-30 13:07:41 +0100
commit777f1d42b62ab482efa5a24600f4aeba1b156c64 (patch)
tree57f34b66df4db825abf4802101e689ca38abd2c0 /documentation/set_versions.py
parentbbdf96885dbd8c3f5e2e9f084571ca659a809016 (diff)
downloadpoky-777f1d42b62ab482efa5a24600f4aeba1b156c64.tar.gz
cve-check: add json format
Add an option to output the CVE check in a JSON-based format. This format is easier to parse in software than the original text-based one and allows post-processing by other tools. Output formats are now handed by CVE_CHECK_FORMAT_TEXT and CVE_CHECK_FORMAT_JSON. Both of them are enabled by default. The JSON output format gets generated in a similar way to the text format with the exception of the manifest: appending to JSON arrays requires parsing the file. Because of that we first write JSON fragments and then assemble them in one pass at the end. (From OE-Core rev: df567de36ae5964bee433ebb97e8bf702034994a) Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/set_versions.py')
0 files changed, 0 insertions, 0 deletions