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

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions