Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Control: Type of git servers #2663

Closed
JoLuGit opened this issue Feb 8, 2017 · 9 comments
Closed

Source Control: Type of git servers #2663

JoLuGit opened this issue Feb 8, 2017 · 9 comments
Labels
feature-source-control status-deferred There is no way to implement this right now, but the team wants to do it. support Whether you're using Rubberduck or you've forked it and have questions, never hesitate to ask!

Comments

@JoLuGit
Copy link

JoLuGit commented Feb 8, 2017

Is it possible to use a ssh-based git server an put into the remote path field something like
ssh://myuser@mygitserver/repository

@Vogel612 Vogel612 added feature-source-control support Whether you're using Rubberduck or you've forked it and have questions, never hesitate to ask! labels Feb 8, 2017
@rubberduck203
Copy link
Member

It should be possible, but not something I've personally attempted. Are you getting some kind of failure when you try it?

@JoLuGit
Copy link
Author

JoLuGit commented Feb 8, 2017

It says:
Failure to clone remote repository.
Unsupported URL protocol

@Vogel612
Copy link
Member

Vogel612 commented Feb 8, 2017

I suspect that's because the url needs to be of the following kind:

 myuser@mygitserver:/path/to/repository

@rubberduck203
Copy link
Member

It's possible that the library we use doesn't support it. I'll look into that. Brb.

@rubberduck203
Copy link
Member

@rubberduck203
Copy link
Member

Ahhh. We do not, and likely will not be able to support this feature in the near future. The underlying library doesn't support it and I don't really want to bind to a fork of it.

you can use libgit2sharp fork with SSH support based on @Therzok work, available in NuGet under 'LibGit2Sharp-SSH' name.

libgit2/libgit2sharp#1072 (comment)

@Vogel612
Copy link
Member

Vogel612 commented Feb 8, 2017

so it seems we're awaiting libgit2sharp finding a way to fix the brokenness of Windows 👏 🙈

FWIW this means Rubberduck will possibly not be able to support this (unless we switch the internal git provider) unless there's considerable effort expended. This is pretty unfortunate, since one of the really important benefits of git over other version control is in the transport layer security you can get from ssh 😭

@rubberduck203
Copy link
Member

This is really unfortunate, but I don't expect libgit2sharp to ever support it. I counted a half dozen issues related to this, all with just as much activity around them. Edward Thomson chimed in saying that the way to fix it is to build our own version of libgit2sharp bound to a version of the ssh lib that works on windows. I'd rather not go that route, because I don't want us to end up supporting a custom version of both libgit2 and an ssh lib.

@rubberduck203 rubberduck203 added the status-deferred There is no way to implement this right now, but the team wants to do it. label Feb 9, 2017
@retailcoder
Copy link
Member

Thanks for the research @ckuhn203. Closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-source-control status-deferred There is no way to implement this right now, but the team wants to do it. support Whether you're using Rubberduck or you've forked it and have questions, never hesitate to ask!
Projects
None yet
Development

No branches or pull requests

4 participants