Repository navigation
Preserve affected packages when OSV range has only introduced:0 (#2535) - #2543
Open
sumitkhond111-del wants to merge 1 commit into
Open
sumitkhond111-del wants to merge 1 commit into
sumitkhond111-del wants to merge 1 commit into
Conversation
…tcode-org#2535) Signed-off-by: sumitkhond111-del <sumitkhond111@gmail.com>
Author
|
Fixes #2535 Summary
Testing
|
Jean-Regis-M
left a comment
There was a problem hiding this comment.
Ran this at 7ce0701 through parse_advisory_data_v3 over all 7,943 advisories in pypa/advisory-database.
30 of them change. Each one goes from no affected package on main to vers:pypi/>=0, for example PYSEC-2024-266 (apache-airflow). None of the 30 has an explicit versions list, so nothing that was listed gets widened.
I also fed a record with only {"introduced": "0"} through every ecosystem. pypi, npm, nuget, gem, golang, hex and composer now keep the package. None of them did on main.
The OSV and PyPA/GitHub importer tests pass (27, against 26 on main).
This branch has not been deployed
This file contains hidden or 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
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.
No description provided.