Support for sha256 object identifiers?
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 1.7k
- 派生
- 408
- 平均合并
- 2 天 57 分钟
- 30 天内合并 PR
- 7
描述
First, thank you for all the hard work you put in the bindings.
Second, now that the latest revisions of git, and as far as I can tell libgit2 as well, both support using sha256 for object identifiers, I am wondering how much work it would be to add this to pygit2? Is the hashing function well-encapsulated in a few places or is it a widespread assumption that sha1 is used?
If support for it did not require too much mastery over the internals of pygit2, I would be willing to take a look at it.
Cheers,
Erick
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未识别出文件或测试。首先跟踪 pygit2 如何表示对象标识符,以及这些 bindings 如何依赖 libgit2 对 SHA-1 的假设。确定 SHA-256 支持是局部的还是广泛分布的;完成的标准是 pygit2 能够一致地支持 SHA-256 对象标识符。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- git, python
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100