Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Support standard stream #42

Open
kgryte opened this issue Aug 30, 2016 · 1 comment
Open

Support standard stream #42

kgryte opened this issue Aug 30, 2016 · 1 comment

Comments

@kgryte
Copy link

kgryte commented Aug 30, 2016

Similar to the Node.js module codecov, would be useful if the bash script accepted a coverage report from stdin; e.g.,

$ cat ./lcov.info | bash <(curl -s https://codecov.io/bash) -F test

This would allow support for pipelining without the need to write to disk in order to upload.

@stevepeak
Copy link
Contributor

Hey @kgryte thank you for the feature suggestion. I do not know of a way to have both these options work without locking stdin on the first call below:

bash <(curl -s https://codecov.io/bash)

-vs-

echo "<report data>" | bash <(curl -s https://codecov.io/bash)

All my attempts to read /dev/stdin have locked the IO waiting for content to be written to stdin. My research into this has not resolved well... :(

@drazisil drazisil added this to To do in Change Tracking Nov 18, 2019
@thomasrockhu thomasrockhu self-assigned this Nov 29, 2020
@thomasrockhu thomasrockhu removed their assignment Jul 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

3 participants