ALBS-915: add support for Bug/Enhancement Advisories #2

Merged
kzhukov merged 3 commits from ALBS-915 into main 2023-01-16 13:38:06 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 3b8cd27ac4 - Show all commits

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

@ -1,4 +1,6 @@
2022-12-30 v1.0.0
First version of service
2023-01-04 v1.0.1
Fixed missing packages false positives
Fixed missing packages false positives
2023-01-12 v1.0.2
Added support for Bug/Enhancement Advisories