Make git clone based pipelines faster

オープン
#2,317 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
git, python

調査の方向性

ファイルやテストは指定されていません。まず git-clone ベースのインポートパイプラインを見つけ、クローンの状態と advisory のインポートが現在どのように追跡されているかを確認します。コミットハッシュと git diff のステータスを、追加、変更、削除された advisory にどのように対応付けるかを定義します。完了の条件は、後続のインポートがその差分だけを正しく処理することです。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
716
フォーク
347
平均マージ
13時間 47分
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aboutcode-org/vulnerablecode のほかの issue

aboutcode-org/vulnerablecode の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。