MerginMaps / MerginMaps/python-api-client

get_file_diff doesn't work for projects that changed schema

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

還沒有人認領這個 Issue。

bug
主要語言
Python
星號
23
分支
12
平均合併
2 天 13 小時
30 天內合併 PR
7

描述

If you change the schema there is no diff in file_history, but this version is still in get_versions_with_file_changes returned list.

Probably for such case the function should return exception that diff is not supported for this version range.

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

首先追蹤 get_file_diff 和 get_versions_with_file_changes,重點關注當 schema 變更不留下任何 diff 時如何處理 file_history 項目。重現一個包含 schema 變更的版本範圍,然後驗證不受支援的範圍會產生預期的例外,而不是嘗試執行檔案 diff。

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

評估

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

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

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