Skip to content
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

Ensure that archived packages are well ordered #253

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

wagoodman
Copy link
Contributor

When building multiple archives in the same day we need to make certain that we can order them from most recent to least recent. Today the "date" component in the archive represents the age of the data itself. This PR replaces the random trailer that guarantees uniqueness with the unix epoch of the time the DB is packaged. This helps to ensure that DBs can be well-ordered within the same day.

@wagoodman wagoodman marked this pull request as ready for review March 8, 2024 01:38
@wagoodman wagoodman merged commit 529a5b7 into main Mar 8, 2024
14 checks passed
@wagoodman wagoodman deleted the well-ordered-archives branch March 8, 2024 14:09
willmurphyscode pushed a commit that referenced this pull request Mar 27, 2024
* fix: don't accumulate result state with rhel provider

Sets the result store policy for the `rhel` provider to
`DELETE_BEFORE_WRITE`.  There shouldn't be a reason for the rhel
provider to need to accumulate result state between runs as it always
iterates over the full input set.  This will address an issue where
vulnerabilities marked as `not-affected` don't get dropped from the
results.

Signed-off-by: Weston Steimel <[email protected]>

* fix: merge out of support entries when affected or fixed version in more recent release

Signed-off-by: Weston Steimel <[email protected]>

* chore: bump label dataset

Signed-off-by: Weston Steimel <[email protected]>

---------

Signed-off-by: Weston Steimel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants