Implement SSH upload-pack for branch discovery, clone, fetch, and pull #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Carry every read-side Git remote operation over a verified and authenticated SSH channel while reusing IronStorage's existing embedded Git object, checkout, and merge logic.
Scope
russhsession channel without a PTY and execute the server-sidegit-upload-packservice for the validated repository path.gix/IronStorage fetch boundary or the smallest equivalent pure-Rust pack-protocol adapter; do not run localgit fetch-pack,ssh, or a shell.git-upload-pack '<path>'exec request.Tests and verification
russhserver and pure-Rust upload-pack fixture; application tests must not require an installedsshorgitexecutable.Acceptance criteria
git-upload-pack.Depends on the remote-model and SSH authentication/host-verification issues in this milestone.
Protocol reference: https://git-scm.com/docs/pack-protocol#_ssh_transport
Implemented and pushed in
051e14235f.Implementation:
Verification: