Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add importer for project KB MSR2019 dataset#260

Merged
pombredanne merged 1 commit intoaboutcode-org:mainaboutcode-org/vulnerablecode:mainfrom
sbs2001:msr2019sbs2001/vulnerablecode:msr2019Copy head branch name to clipboard
Sep 28, 2020
Merged

Add importer for project KB MSR2019 dataset#260
pombredanne merged 1 commit intoaboutcode-org:mainaboutcode-org/vulnerablecode:mainfrom
sbs2001:msr2019sbs2001/vulnerablecode:msr2019Copy head branch name to clipboard

Conversation

@sbs2001
Copy link
Collaborator

@sbs2001 sbs2001 commented Sep 27, 2020

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

Copy link
Member

@pombredanne pombredanne left a comment

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" ?

vulnerabilities/importers/project_kb_msr2019.py Outdated Show resolved Hide resolved
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Copy link
Member

@pombredanne pombredanne left a comment

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.

advsiories = []
for row in csv_reader:
vuln_id, proj_home, fix_commit, _ = row
commit_link = proj_home + "/commit/" + fix_commit
Copy link
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.