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