canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
7 stars 12 forks source link

Compute artifact digests by chunks #480

Open tigarmo opened 1 month ago

tigarmo commented 1 month ago

What needs to get done

Reference: https://github.com/canonical/craft-application/pull/473#discussion_r1763286262 Until we can drop the Python 3.10 requirement, we should read the file by chunks and feed it to the digest algorithms

Why it needs to get done

To avoid reading huge files in memory all at once.

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3403.

This message was autogenerated