swellaby / rusty-hook

git hook manager, geared toward Rust projects
MIT License
207 stars 11 forks source link

Feature Request - stream git hook output #96

Closed sagiegurari closed 4 years ago

sagiegurari commented 4 years ago

Description

I run cargo make ci-flow as part of git pre push. that script runs many tasks and takes a bit to finish. it would be nice to see where it is in the execution, so if you would stream the githook script output in realtime instead of buffering it into memory and flushing only at the end, it would be really help and will improve the usability.

Value

Users for long running hooks won't think it is stuck and would get real time progress.

by the way, this crate is really great.

calebcartwright commented 4 years ago

That seems perfectly reasonable and doable. Thanks for the request and kind words @sagiegurari!

calebcartwright commented 4 years ago

@sagiegurari streaming the git hook output has been added to v0.11.0 so closing this issue. if you have any questions or see any issues, please let us know!

sagiegurari commented 4 years ago

thanks a lot!!! will update today :)

sagiegurari commented 4 years ago

just verified and it works great. thanks again.