Add SSH support on Windows platforms
还没有人认领这个 Issue。
- 主要语言
- 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 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