mietek/halcyon

Use --progress-bar in curl calls

pbrisbin opened this issue · 3 comments

Sometimes the S3 downloads take a bit, it'd be nice to have progress output.

I agree. Unfortunately, processing curl output breaks the progress bars. Compare:

$ curl --progress-bar https://halcyon.global.ssl.fastly.net/osx-10.10-x86_64/halcyon-ghc-7.8.4.tar.gz 2>&1 >/dev/null
$ curl --progress-bar https://halcyon.global.ssl.fastly.net/osx-10.10-x86_64/halcyon-ghc-7.8.4.tar.gz 2>&1 >/dev/null | sed 's/^/      /'

I was afraid of that and almost mentioned it in my description. I can't think of a good solution :/

This is now tracked as part of mietek/bashmenot#10.