rtyler / otto

Otto is your friendly continuous delivery companion.
GNU Affero General Public License v3.0
80 stars 5 forks source link

Refactor common executable code into an otto-exec crate #47

Open rtyler opened 3 years ago

rtyler commented 3 years ago

The sh step, local-orchestrator, and agent all have redundant code for executing and then streaming data from a subprocess.

This should get refactored into a common crate

rtyler commented 3 years ago

This code is the os_pipe using code that executes a subprocess and streams its stdout and stderr

sladyn98 commented 3 years ago

@rtyler Hey is this something that a person trying to learn rust can pick up or is there something easier :)

rtyler commented 3 years ago

@sladyn98 sorry for the delay, I've been incredibly busy with work lately and haven't had much time to work on Otto much less anything else :frowning:

I think this should be a relatively straight forward learning exercise, but I probably wouldn't start with it as a first taste of Rust. Depending on your timezone overlap, if you ping me over the weekend in the #otto channel on Freenode I can try to help show you around. :smile: