We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The query for affected and fixed packages should be abstracted as methods on the models (and/or on a model manager)
Originally posted by @pombredanne in #525 (comment)
Currently we query for affected and fixed packages as: https://github.com/nexB/vulnerablecode/blob/67fc00e5a8dbdf690f1c1b0d627da0d06322adb9/vulnerabilities/views.py#L81-L87
This needs to be abstracted as model methods.
Related:
PackageSearchView
The text was updated successfully, but these errors were encountered:
@Hritik14 @pombredanne .. is this issue open for contribution ?
Sorry, something went wrong.
Hi @Hritik14 and @pombredanne, can I work on this issue, or has it already been solved?
We now have these at least in https://github.com/nexB/vulnerablecode/blob/457f8f8ce8550502714d3f19d914c5ab2409c935/vulnerabilities/models.py#L651-L670
Closing this now. Note that we still need to rework the models as described in #966
No branches or pull requests
The query for affected and fixed packages should be abstracted as methods on the models (and/or on a model manager)
Originally posted by @pombredanne in #525 (comment)
Currently we query for affected and fixed packages as: https://github.com/nexB/vulnerablecode/blob/67fc00e5a8dbdf690f1c1b0d627da0d06322adb9/vulnerabilities/views.py#L81-L87
This needs to be abstracted as model methods.
Related:
PackageSearchView
#596The text was updated successfully, but these errors were encountered: