Skip to content

Conversation

@RyuzakiKK
Copy link
Contributor

list-chunks has now a new --detailed option that allows to print additional information about the chunks, including their compressed size (if a local store is provided).

One use case is for the clients to download the server's list-chunks JSON and feed it into desync info, to calculate the precise download size of an update.

Addresses #270

@RyuzakiKK
Copy link
Contributor Author

Thanks for the review. By the end of the week I should be able to find some time to address the points raised.

@RyuzakiKK RyuzakiKK force-pushed the precise_size branch 2 times, most recently from b4e607b to 7acdd94 Compare November 14, 2024 16:53
Copy link
Owner

@folbricht folbricht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's close, just left some minor comments

Add a new `inspect-chunks` command that can provide additional
information about the chunks in an index, including their compressed
size (if a local store is provided).

One use case is for the clients to download the server's inspect-chunks
JSON and feed it into `desync info`, to calculate the precise download
size of an update.

Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
Copy link
Owner

@folbricht folbricht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Would it be worth adding an example to the README for this?

@folbricht folbricht merged commit 0260be9 into folbricht:master Nov 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants