Add SSH support on Windows platforms
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting how pygit2 packages its pre-compiled libgit2 for Windows and how pygit2.features reports GIT_FEATURE_SSH. Review the related todo item in issue #902 and verify the Windows build dependencies. Done means the Windows distribution enables SSH support and the feature check reports true, with libssh2 availability addressed as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100