libgit2 / libgit2/pygit2

Add SSH support on Windows platforms

未关闭
#994 17 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

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

描述

So pygit2 now comes with a pre-compiled libgit2. That's nice.
But on Windows platforms it seems that SSH support is not enabled in that pre-compiled libgit2 version. Even if one installs libssh2, the included libgit2 will not work with SSH.

E.g.:

bool(pygit2.features & pygit2.GIT_FEATURE_SSH)

Will still report false. Not sure if I'm missing something here but if I understand this correctly then it would be nice if the included libgit2 would enable SSH support and eventually even come with a pre-compiled libssh2 for Windows platforms.

I saw that this was on the todo list here: https://github.com/libgit2/pygit2/issues/902
But it's not ticked and I'm not sure it was ever done.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先检查 pygit2 如何为 Windows 打包预编译的 libgit2,以及 pygit2.features 如何报告 GIT_FEATURE_SSH。查看 issue #902 中相关的 todo 项,并验证 Windows 构建依赖项。完成的标准是 Windows 发行版启用 SSH 支持,功能检查报告 true,并按照描述处理 libssh2 的可用性。

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

评估

技术栈
python
领域
build-system, operating-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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