aboutcode-org / aboutcode-org/vulnerablecode

Make git clone based pipelines faster

Đang mở
#2,317 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
702
Fork
328
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.