Skip to content

Make git clone based pipelines faster #2317

@TG1999

Description

@TG1999

I was thinking how we can import data a bit faster, atleast the one's which are based on a git clone. Like we can get the commit hash of the clone that we are doing, and only import the delta of advisories between last clone and current clone ?

last_imported_commit ---> new_commit

git diff --name-status last_imported_commit new_commit

A advisories/CVE-2026-1111.yaml
M advisories/CVE-2025-9999.yaml
D advisories/CVE-2024-1234.yaml

Then:

import new advisory
update changed advisory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions