Skip to content

Add importer for project KB MSR2019 dataset#260

Merged
pombredanne merged 1 commit into
aboutcode-org:mainfrom
sbs2001:msr2019
Sep 28, 2020
Merged

Add importer for project KB MSR2019 dataset#260
pombredanne merged 1 commit into
aboutcode-org:mainfrom
sbs2001:msr2019

Conversation

@sbs2001

@sbs2001 sbs2001 commented Sep 27, 2020

Copy link
Copy Markdown
Collaborator

Signed-off-by: Shivam Sandbhor shivam.sandbhor@gmail.com

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. See my few nits inline.
I wonder if the format will be different in "kaybee" ?

Comment thread vulnerabilities/importers/project_kb_msr2019.py Outdated
Comment thread vulnerabilities/importers/project_kb_msr2019.py
Comment thread vulnerabilities/importers/project_kb_msr2019.py
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. See some FYI.

Comment thread vulnerabilities/importers/project_kb_msr2019.py
advsiories = []
for row in csv_reader:
vuln_id, proj_home, fix_commit, _ = row
commit_link = proj_home + "/commit/" + fix_commit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would tend to prefer a .format or an f-string.

@pombredanne pombredanne merged commit 8efdbd1 into aboutcode-org:main Sep 28, 2020
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