Skip to content

Conversation

@jvrsantacruz
Copy link

Many commands such as git-receive-packs do not fit the
'run and get all output' model that it is offered through the
Python's Popen.communicate() API.
Such commands exchange messages with the remote side via stdin/stdout
alternatively depending on each other's output.

This commit should allow any command to run in this otherwise very neat server.
The rewrite of the process model was necessary in order to be able to use it
as git remote ssh server for testing gi interactions involving key handling, timeouts etc...

Many commands such as git-receive-packs do not fit the
'run and get all output' model, as they exchange messages
with the remote side via stdin/stdout.

This commit should allow any command to run in this otherwise very neat server.
@jvrsantacruz
Copy link
Author

It seems that 1 py27 test is failing in Travis but not in my workstation.
I'll try so check this somehow.

@Spitfire1900
Copy link
Collaborator

@jvrsantacruz would you like to update this PR to be mergable?

@Spitfire1900
Copy link
Collaborator

@jvrsantacruz can you add test cases?

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

Successfully merging this pull request may close these issues.

2 participants