[LTP] metadata: add linter for JSON file

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Thu Jun 25 17:43:59 CEST 2026


Hi Andrea,

On Thu, 25 Jun 2026, Andrea Cervesato wrote:
> metadata: add linter for JSON file

> +"""
> +Lint semantic consistency of generated metadata/ltp.json.
> +
> +  * CVE tag values must use a valid bare 20YY-NNNN[...] identifier. With
> +    --check-cve-exists, every CVE is verified against the official CVE
> +    Services API (https://cveawg.mitre.org).

The docstring refers to --check-cve-exists but the actual argparse flag
is --check-cve-online:

> +    parser.add_argument(
> +        "--check-cve-online",

Should the docstring say --check-cve-online instead?

Verdict - Needs revision

---
Note:

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list