zip archives: keep individual files compression type
1 unresolved thread
1 unresolved thread
While hardcoding the compression to zipfile.ZIP_DEFLATED works for most use cases of mat, being able to produce cleaned up uncompressed zip files is useful for content that cannot be compressed more.
In addition it also enables to use mat2 for reproducible builds of Android bootanimation files file that don't support compression.
Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
Merge request reports
Activity
mentioned in issue #160 (closed)
120 120 # pylint: disable=unused-argument 121 121 return member 122 122 123 @staticmethod 124 def _get_member_compression(member: ArchiveMember): 125 """Get the compression of the archive member.""" Maybe explicitly return
None
by default?Edited by jvoisin
added 1 commit
- a079fa7c - zip archives: keep individual files compression type
added 1 commit
- e8970f1c - zip archives: keep individual files compression type
Please register or sign in to reply