-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fix batched_advisories method #338
Labels
Comments
Hritik14
added a commit
to Hritik14/vulnerablecode
that referenced
this issue
Mar 25, 2021
Use batch_advisories for now. It has it's own problems and there's aboutcode-org#338 for that. The generator thing won't do much, since we are importing like 10-20 MBs of data. The codebase already has overuse of methods starting with _ , I'd say avoid them. They don't help with readability nor are they trivial in this case _parse_md and _parse_yml: The name is misleading. The function is parsing + enriching the data. converted to get_advisories_from_yml and get_advisories_from_md Remove `"branch": None` in importer_yielder Group imports Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Hritik14
added a commit
to Hritik14/vulnerablecode
that referenced
this issue
Mar 29, 2021
Use batch_advisories for now. It has it's own problems and there's aboutcode-org#338 for that. The generator thing won't do much, since we are importing like 10-20 MBs of data. The codebase already has overuse of methods starting with _ , I'd say avoid them. They don't help with readability nor are they trivial in this case _parse_md and _parse_yml: The name is misleading. The function is parsing + enriching the data. converted to get_advisories_from_yml and get_advisories_from_md Remove `"branch": None` in importer_yielder Group imports Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Hritik14
added a commit
to Hritik14/vulnerablecode
that referenced
this issue
Mar 30, 2021
Use batch_advisories for now. It has it's own problems and there's aboutcode-org#338 for that. The generator thing won't do much, since we are importing like 10-20 MBs of data. The codebase already has overuse of methods starting with _ , I'd say avoid them. They don't help with readability nor are they trivial in this case _parse_md and _parse_yml: The name is misleading. The function is parsing + enriching the data. converted to get_advisories_from_yml and get_advisories_from_md Remove `"branch": None` in importer_yielder Group imports Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Hritik14
added a commit
to Hritik14/vulnerablecode
that referenced
this issue
Apr 1, 2021
Use batch_advisories for now. It has it's own problems and there's aboutcode-org#338 for that. The generator thing won't do much, since we are importing like 10-20 MBs of data. The codebase already has overuse of methods starting with _ , I'd say avoid them. They don't help with readability nor are they trivial in this case _parse_md and _parse_yml: The name is misleading. The function is parsing + enriching the data. converted to get_advisories_from_yml and get_advisories_from_md Remove `"branch": None` in importer_yielder Group imports Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Hritik14
added a commit
to Hritik14/vulnerablecode
that referenced
this issue
Apr 1, 2021
Use batch_advisories for now. It has it's own problems and there's aboutcode-org#338 for that. The generator thing won't do much, since we are importing like 10-20 MBs of data. The codebase already has overuse of methods starting with _ , I'd say avoid them. They don't help with readability nor are they trivial in this case _parse_md and _parse_yml: The name is misleading. The function is parsing + enriching the data. converted to get_advisories_from_yml and get_advisories_from_md Remove `"branch": None` in importer_yielder Group imports Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Hritik14
added a commit
to Hritik14/vulnerablecode
that referenced
this issue
Apr 2, 2021
Use batch_advisories for now. It has it's own problems and there's aboutcode-org#338 for that. The generator thing won't do much, since we are importing like 10-20 MBs of data. The codebase already has overuse of methods starting with _ , I'd say avoid them. They don't help with readability nor are they trivial in this case _parse_md and _parse_yml: The name is misleading. The function is parsing + enriching the data. converted to get_advisories_from_yml and get_advisories_from_md Remove `"branch": None` in importer_yielder Group imports Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Merged
This is all fixed and merged now.... closing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation of the
batched_advisories
at https://github.com/nexB/vulnerablecode/blob/6609bcfdebb4c28bd30dfd9d42011323d238ee4c/vulnerabilities/data_source.py#L195 needs to be simplifiedEventually we want to move to non-batch proccessing so this low priority
The text was updated successfully, but these errors were encountered: