sshkit.ex icon indicating copy to clipboard operation
sshkit.ex copied to clipboard

v1: Connection re-use, Streaming, …

Open pmeinhardt opened this issue 5 years ago • 3 comments

This is still very much a work in progress, but I am quite happy with how it's chugging along and eager to release once I am happy with this next iteration of the package. 🚂

The main goals for the new release are: ✨

  • Connection re-use: In v0 the top-level run, upload and download functions all set up an SSH connection to the remote each time they are invoked. The new API encourages connecting to each remote only once and then using the connection for multiple operations.
  • Better, high-level streaming support (#163, #150): The top-level functions of v0 made it tricky to stream the output of commands. They were mostly geared towards aggregating the complete output before returning.

I'll post more updates here as I am making progress. Happy about feedback and questions. ✌️

Much love to all of you 💚


  • [ ] To do: #49
  • [ ] To do: #54
  • [ ] To do: #71
  • [x] Closes #163

pmeinhardt avatar Dec 17 '20 07:12 pmeinhardt

Exciting! Thanks for all your hard work on this, @pmeinhardt! Love these goals! 💯

rjanja avatar Dec 17 '20 08:12 rjanja

I might drop SFTP-based uploads from the goals for the next release for reasons outlined here: https://github.com/bitcrowd/sshkit.ex/issues/162#issuecomment-752236745

pmeinhardt avatar Dec 29 '20 20:12 pmeinhardt

Rebased :)

andreasknoepfle avatar Jan 11 '23 12:01 andreasknoepfle