Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/jlcompress options #203

Merged
merged 9 commits into from
Oct 2, 2024
Merged

Conversation

cen1
Copy link
Collaborator

@cen1 cen1 commented Sep 29, 2024

This extends JlCompress with an Option class to extend functionality with fixed file timestamps and with a follow up task, compression levels and encryption.

An Option class is used instead of regular overload with QDateTime because with more extensions coming in the future we'd end up in an overload hell and too many method parameters. This seems like a saner approach.

In addition I extended two JlCompress tests to compare against a fixed timestamp and a known resulting zip hash. This should help catch any breakage of defaults as more options are added (e.g. compression level).

…mpressed files (last modified), mostly useful for reproducible archives and unit tests.
@cen1 cen1 merged commit c3e8780 into stachenov:master Oct 2, 2024
32 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.

1 participant