libgit2 / libgit2/libgit2sharp
Protect repository instances from domain wide GlobalSettings changes
未關閉
還沒有人認領這個 Issue。
Up for grabs
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
As seen in https://github.com/libgit2/libgit2sharp/issues/1119
- Paybe should we also improve the documentation of this type. Indeed, this type holds registrations that exceeds the lifespan of a
Repository.I feel that pretty strange side-effects may happen would we blindly deregister while some repos are still alive and leveraging those. - Perhaps some kind of locking of global values while any Repository objects are not yet disposed could provide some value?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先閱讀 issue 1119 並追蹤 GlobalSettings 和 Repository 型別,尤其要了解註冊如何比 Repository 執行個體存活得更久。明確在 repository 持續存活期間,保護或鎖定應保證什麼,以及文件是否應描述這些生命週期限制;當預期行為和範圍達成共識時即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- backend-api-design
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100