Skip to content

network checks are performed for old versions even though they are not displayed #391

@mgorny

Description

@mgorny

Since URL results are of FilteredVersionResult class, they are not displayed for old versions. However, pkgcheck (unnecessarily) still issues requests for all the URIs — so we're basically DoS-ing the servers to check something that we won't report.

To be honest, this whole FilteredVersionResult logic doesn't make much sense to me. We should really be filtering packages on input, not output (i.e. not doing checks on packages if we're not going to use the results).

@radhermit, any reason it was done like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions