Skip to content

The query for affected and fixed packages should be abstracted as methods on the models (and/or on a model manager) #595

Closed
@Hritik14

Description

@Hritik14

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions