-
-
Notifications
You must be signed in to change notification settings - Fork 234
Modify Rust importer to support package-first mode #1913
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
base: main
Are you sure you want to change the base?
Conversation
* Update Rust importer to only load and process advisories relevant to the purl passed in the constructor * Update Rust importer tests to include testing the package-first mode Signed-off-by: Michael Ehab Mikhail <michael.ehab@hotmail.com>
def __init__(self, purl=None, *args, **kwargs): | ||
super().__init__(*args, **kwargs) | ||
self.purl = purl | ||
if self.purl: |
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.
if self.purl: | |
if self.purl and self.purl.type!="cargo" |
We are not running Rust importers either in V1 nor in V2 as of now, I think we need to first make importer functional before doing this. |
@michaelehab can you join the community calls and chat rooms so we can discuss this? |
@michaelehab it will be helpful for us mentors and community members to design and help you if you can regularly join us in VCIO community calls that happens on Tuesday 8:00 AM PST https://meet.jit.si/VulnerableCode |
@TG1999 @pombredanne Sure, I will start joining this call too regularly so we can discuss this more. |
Solves #1911