Closed mdlutz24 closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
436891f
) 91.93% compared to head (525f165
) 91.96%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for the PR!
Thanks for the PR!
Thanks for the test!
Motivation Fixes #1640: The pull:database command fails silently if pv is not installed
Proposed changes if pv is not installed, run gunzip with the -c flag so the decompressed output is piped to the mysql command
Alternatives considered There are other possible ways to manage output redirection in bash, this seemed simplest.
Testing steps On a system without pv installed set the appropriate ACLIDB**** environmental variables and execute an acli pull:database request. See the database downloaded and the command appear to succeed. Open the database and see that it is not empty.
./bin/acli ckc