-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL OVAL deprecation. New errata workflow #998
Merged
javihernandez
merged 20 commits into
AlmaLinux:master
from
javihernandez:rhel-oval-deprecation
Oct 24, 2024
Merged
RHEL OVAL deprecation. New errata workflow #998
javihernandez
merged 20 commits into
AlmaLinux:master
from
javihernandez:rhel-oval-deprecation
Oct 24, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add `/errata/new/` endpoint that accept POST requests. This new endpoint and crud method ensures that all the required data about an errata is inserted into database. Resolves: AlmaLinux/build-system#346
Includes: * Add endpoints for single and bulk errata release. * Generate OVAL data based on errata data * Ensure the errata packages mapping for OVAL generation Package mapping for pulp, and pulp resources creation/publication remain the same as before. Resolves: AlmaLinux/build-system#347
* Add new endpoint `/errata/get_new_oval_xml/` * Generate OVAL XML based on the errata data coming from database Resolves: AlmaLinux/build-system#348
anfimovdm
reviewed
Sep 26, 2024
Also, use a subquery to get the platform id when fetching erratas following review comments.
anfimovdm
approved these changes
Oct 9, 2024
This way, the OpenSCAP html reports include links to CVEs involved in every advisory.
Also, skip mapped packages from pulp whose sourcerpm is empty
soksanichenko
approved these changes
Oct 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
javihernandez
force-pushed
the
rhel-oval-deprecation
branch
from
October 16, 2024 13:15
b1268b3
to
f72780c
Compare
anfimovdm
approved these changes
Oct 18, 2024
maccelf
approved these changes
Oct 22, 2024
javihernandez
force-pushed
the
rhel-oval-deprecation
branch
from
October 23, 2024 09:19
148f0a4
to
0bf9aa8
Compare
* upstream/master: (39 commits) Bump sqlalchemy from 2.0.35 to 2.0.36 Bump pyfakefs from 5.7.0 to 5.7.1 Bump fastapi from 0.115.0 to 0.115.2 Bump uvicorn from 0.31.0 to 0.32.0 Create new event loop for tests (AlmaLinux/build-system#367) Fix x86_64_v2 repos for ALK10 Fixed setting up proxy while bootstraping repositories Update urls - Change export path for almalinux-kitten-10 - Renave extras repo to extras-common Preparing errata bulk releases for UI (AlmaLinux/build-system#325) - Adding force parameter to bulk releases errata - Setting IN_PROGRESS status in router - black formatting Add ability to add new platforms to the product (AlmaLinux#1008) Bump aiohttp from 3.10.9 to 3.10.10 Bump pyfakefs from 5.6.0 to 5.7.0 Bug fixes in the product-exporter script Bump black from 24.8.0 to 24.10.0 Bump sentry-sdk[fastapi] from 2.15.0 to 2.16.0 Fix path appending in the products-exporter script Add ppc64le repository for EPEL-7 flavor Add ppc64le repos for CentOS7 platform. Bump aiohttp from 3.10.8 to 3.10.9 ...
javihernandez
force-pushed
the
rhel-oval-deprecation
branch
from
October 23, 2024 09:24
0bf9aa8
to
2340397
Compare
Also, making pylint happier
And also apply black format and make pylint happier
Korulag
approved these changes
Oct 23, 2024
maccelf
approved these changes
Oct 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is the web-server side of https://github.com/AlmaLinux/build-system/milestone/7.
Resolves the following issues:
get_oval_xml
endpoint with new oval data generation approach build-system#348