ALBS-915: bumped service version, small fixes in diff format

This commit is contained in:
Kirill Zhukov 2023-01-12 10:45:11 +01:00
parent eeff11d2f7
commit 3b8cd27ac4
2 changed files with 5 additions and 3 deletions

View File

@ -196,7 +196,7 @@ def compare(rhel_oval: Dict[str, Advisory],
except KeyError:
report['diff_count'] += 1
diff.append({'advisory_name': advisory_name,
'diff': 'advisory is missing in oval'})
'diff': 'Advisory is missing in OVAL'})
report['oval_missing_advisory'].append(advisory_name)
report['oval_missing_advisory_count'] += 1
else:
@ -225,7 +225,7 @@ def compare(rhel_oval: Dict[str, Advisory],
report['errata_missing_advisory_count'] += 1
report['diff_count'] += 1
diff.append(
{'advisory_name': advisory_name, 'diff': 'advisory is missing in errata'})
{'advisory_name': advisory_name, 'diff': 'Advisory is missing in Errata'})
continue
# check if some packages are missing from errata SA
alma_errata_packages = alma_errata_sa.packages

View File

@ -2,3 +2,5 @@
First version of service
2023-01-04 v1.0.1
Fixed missing packages false positives
2023-01-12 v1.0.2
Added support for Bug/Enhancement Advisories