Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
remote-helper: prefactor to be more testable
Merged ade opened 2 months ago

To introduce new remote-helper changes like ‘dont push by default’ and ‘self’ / ‘rad’ remotes, this crate has been refactored to ease testing.

  • the command parsing has been refactored into a sans i/o esque typed parser.
  • the radicle node interactions have been hoisted into a NodeSession trait.
  • the git send_pack and fetch_pack interactions have hoisted into GitService trait.
  • the direct stdin/out printing has been replaced with BufRead and Writer traits.
ade opened with revision 5d72ffd1 on base 50fb228a +568 -182 2 months ago

To introduce new remote-helper changes like ‘dont push by default’ and ‘self’ / ‘rad’ remotes, this crate has been refactored to ease testing.

  • the command parsing has been refactored into a sans i/o esque typed parser.
  • the radicle node interactions have been hoisted into a NodeSession trait.
  • the git send_pack and fetch_pack interactions have hoisted into GitService trait.
  • the direct stdin/out printing has been replaced with BufRead and Writer traits.
lorenz pushed revision 2 0572c9c5 on base 119445ce +645 -245 2 months ago

Continuation of the refactoring.

lorenz pushed revision 3 1e619684 on base 119445ce +646 -245 2 months ago
  • Reorder and squash into slightly bigger but still cohesive commits.
  • Reword commit messages.
lorenz merged revision 1e619684 at 4d7b942b 2 months ago