Skip to content
Commit 5dfd5ad5 authored by Lee Chee Yang's avatar Lee Chee Yang Committed by Richard Purdie
Browse files

cve_check: add CVE_VERSION_SUFFIX to indicate suffix in versioning



add CVE_VERSION_SUFFIX to indicate the version suffix type, currently
works in two value, "alphabetical" if the version string uses single
alphabetical character suffix as incremental release, blank to not
consider the unidentified suffixes. This can be expand when more suffix
pattern identified.

refactor cve_check.Version class to use functools and add parameter to
handle suffix condition.

Also update testcases to cover new changes.

Signed-off-by: default avatarLee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent c5a6cc41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment