Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Ignore duplicate commit URLs from forked repositories

未關閉
#2,361 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@panshularora 已經在處理了。

開始於 2026年10月20日。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
python
領域
security

研究方向

首先定位處理 advisory commit_url 項目的程式碼,並比較提交 3bd8afbff29e50b38f889b2f688785a669b9aafc 的兩個範例 URL。新增一個涵蓋 fork 儲存庫與原始儲存庫的回歸測試;當相同的提交存在於原始儲存庫中時忽略 fork URL,同時不刪除不同的提交,即表示完成。

由索引模型根據 Issue 內容生成。

描述

Some vulnerabilities contain multiple commit_url entries that reference the same commit hash in different repositories.

For example:
https://github.com/pypa/advisory-database/blob/main/vulns/requests/PYSEC-2015-17.yaml
https://public.vulnerablecode.io/advisories/pypa/requests/PYSEC-2015-17

The advisory contains the following commit URLs:

Both URLs point to the same Git commit (3bd8afbff29e50b38f889b2f688785a669b9aafc). The kennethreitz/requests repository is forked repository, while psf/requests is the current original repository.

To avoid duplicate patch commits, we should ignore commit URLs from forked repositories when the same commit is available in the original repository

主要語言
Python
星號
716
分支
347
平均合併
13 小時 47 分鐘
30 天內合併 PR
8

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aboutcode-org/vulnerablecode 的其他 Issue

查看 aboutcode-org/vulnerablecode 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。