Support for sha256 object identifiers?

未关闭
#1,411 0 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
git, python
领域
devtools

调研方向

未识别出文件或测试。首先跟踪 pygit2 如何表示对象标识符,以及这些 bindings 如何依赖 libgit2 对 SHA-1 的假设。确定 SHA-256 支持是局部的还是广泛分布的;完成的标准是 pygit2 能够一致地支持 SHA-256 对象标识符。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Python
星标
1.7k
派生
408
平均合并
2 天 57 分钟
30 天内合并 PR
7

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

libgit2/pygit2 的其他 Issue

查看 libgit2/pygit2 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。