Skip to content
Commit 37a40c30 authored by Lee Chee Yang's avatar Lee Chee Yang Committed by Steve Sakoman
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>
(cherry picked from commit 5dfd5ad5)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 294baea4
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