Page MenuHomePhabricator

Serve Git reads over SSH
ClosedPublic

Authored by epriestley on Oct 26 2013, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 7, 3:02 AM
Unknown Object (File)
Tue, Jun 3, 10:27 PM
Unknown Object (File)
Tue, Jun 3, 10:26 PM
Unknown Object (File)
Tue, Jun 3, 10:26 PM
Unknown Object (File)
May 9 2025, 8:06 PM
Unknown Object (File)
May 4 2025, 7:58 AM
Unknown Object (File)
Apr 19 2025, 1:32 PM
Unknown Object (File)
Apr 9 2025, 7:01 PM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rP9a2e45ef12ea: Serve Git reads over SSH
Summary

Like D7423, but for SSH.

Test Plan

Ran git clone ssh://..., got a clone.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/infrastructure/ssh/PhabricatorSSHWorkflow.php
71

so this closes stdin?

src/infrastructure/ssh/PhabricatorSSHWorkflow.php
71

Yeah -- by default, write() closes the subprocess's stdin, unless the second parameter ("$keep_pipe") is set to true. At some point, it would probably be cleaner to replace this with $exec_channel->closeWriteChannel() or something, but that doesn't exist yet.