Skip to content
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

refactor(scanner): Extract VCSPath filtering functions #9428

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 15, 2024

  1. refactor(scanner): Extract VCSPath filtering functions

    Scanners generally do not consider the VCSPath when performing an
    ORT scan on a repository, as they scan the entire repository and
    its dependencies. The resulting scan data is cached for reuse
    across multiple scans.
    
    When reusing cached scan results for ORT scans with a specified
    VCSPath, where only a subset of the repository is scanned, it
    is necessary to filter out extraneous scan results. Helper
    functions already exist to handle this filtering.
    
    This refactoring extracts these helper functions and allows
    ORT Server to use them.
    See: eclipse-apoapsis/ort-server#1358
    
    Signed-off-by: Wolfgang Klenk <[email protected]>
    wkl3nk committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    88ddaad View commit details
    Browse the repository at this point in the history