JuliaIO / Tar.jl

TAR files: create, list, extract them in pure Julia
MIT License
79 stars 19 forks source link

Give hint about possible insufficient storage on error message #161

Closed giordano closed 1 year ago

giordano commented 1 year ago

I'm usually not a big fan of having overly specific hints in error messages, but basically every time I've seen

Error: AssertionError: size == padded_size == 0

reported during installation of artifacts the problem was insufficient space on disk. I think in this case it'd be beneficial to tip to check disk usage.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (b0b8ec7) 97.38% compared to head (692dba5) 97.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #161 +/- ## ======================================= Coverage 97.38% 97.38% ======================================= Files 4 4 Lines 803 803 ======================================= Hits 782 782 Misses 21 21 ``` | [Impacted Files](https://app.codecov.io/gh/JuliaIO/Tar.jl/pull/161?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaIO) | Coverage Δ | | |---|---|---| | [src/extract.jl](https://app.codecov.io/gh/JuliaIO/Tar.jl/pull/161?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaIO#diff-c3JjL2V4dHJhY3Quamw=) | `98.15% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.