aboutcode-org / aboutcode-org/vulnerablecode

Make git clone based pipelines faster

Aperta
#2,317 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
702
Fork
328
Merge medio
3g 8h
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.