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

SSH Protocol Support #54

Closed
fcharlie opened this issue Dec 4, 2017 · 2 comments
Closed

SSH Protocol Support #54

fcharlie opened this issue Dec 4, 2017 · 2 comments

Comments

@fcharlie
Copy link

fcharlie commented Dec 4, 2017

I suggest GVFS Team support SSH protocol。For some people, the SSH protocol is actually easier to access。

We known git fetch and push is call remote server git-upload-pack or git-receive-pack, Gvfs can also be made into a command, and then either HTTP or SSH server, the user request is converted to the server call this command, get the output of this command. Here are the command arguments I suggested

git-gvfs GVFS Implementation
usage: [command] [args] gitdir
    config         show server config
    size           input json object ids, show those size
    pack-objects   pack input oid's objects
    loose-object   --oid; send loose object
    prefetch       --lastPackTimestamp; prefetch transfer

When gvfs clone convert to ssh -X git@example.com git-gvfs pack-objects someone.git json data write to stdin, read git-gvfs's stdout as a packfile.

The server is easier to implement, but the client has some trouble

@damoando4
Copy link

+1

@sanoursa
Copy link
Contributor

sanoursa commented Jun 4, 2018

No plans to expand the protocol support at the moment, though this is something we will likely need to consider again once our implementations on Mac and Linux get farther along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants