Skip to content

[FEATURE]: Better progress for compressed archives #985

Open
@bryceschober

Description

Is your feature request related to a problem? Please describe.

The progress output when writing compressed images files quickly progresses to 99% and then pauses there while the rest of the disk is being written.

Describe the solution you would like to see implemented

I've seen this issue comment noting that this is expected behavior for compressed archives. On the other hand, I get the correct uncompressed size from the output of both gzip -l my_os.img.gz and zstd -vl my_os.img.zstd, and it seems that rpi imager could use the equivalent functionality...

Yeah, I know, I'm a programmer too. It's easy to say in one sentence of english. Implementing is another thing entirely. 😄

Describe alternatives you've considered

Live with uninformative progress display, or decompress it first. 😒

Additional context

None

Version

1.9.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions