Community contributions does not support > operator #166
Replies: 4 comments 8 replies
-
Hey Kate, I'm looking to update these to include the Affected Versions and Patched Versions as it currently says Unknown, I take it these would fall under the same error? I can't find them in the advisor-database repo. |
Beta Was this translation helpful? Give feedback.
-
@KateCatlin This advisory: Points to this discussion with the note: However, I do not see that it uses the '>' operator. Is this a mistake? |
Beta Was this translation helpful? Give feedback.
-
Hey @KateCatlin Edit: if it helps, I think the ">v2.2.0" can simply be removed |
Beta Was this translation helpful? Give feedback.
-
Hello all! We've resolved this issue and replaced the There is one very specific edge case which is still unable to be translated to OSV, but since that case does not relate to the discussion here we'll consider it separately. Thanks for chiming in here and providing us feedback along the way! |
Beta Was this translation helpful? Give feedback.
-
Hi all,
As a few of you have noted in Issues, our new community contributions feature is not supported for advisories that use a
>
operator (as opposed to a<
or>=
operator) when describing affected versions of a product.Unfortunately, that operator is incompatible with the OSV schema, which is the format we use in this database. We are working with our Curation team to change the advisories using the
>
operator to an OSV-compatible format, but there are some instances that pose difficulties due to limitations in our ability to describe affected versions without it.There are currently about 3 dozen advisories out of ~14,000 that could not be exported to this advisory database repository because of that incompatibility. Community members cannot make suggestions on this handful of affected advisories. Even if you remove all of the unsupported
>
operators, the update would still fail because there is no file in this repository to commit a change against.We do not have a workaround at present, but we're aware it's an issue and we're actively tracking it.
I'm starting this discussion post as a place to collect feedback and share updates as they arise!
Thank you all in advance,
Kate Catlin
Senior Product Manager, Advisory Database
Beta Was this translation helpful? Give feedback.
All reactions